fn component_from_ast( name: &Spanned<&[u8]>, modifiers: &[Modifier<'_>], ) -> Result<Component, Error>
Parse a component from the AST, given its name and modifiers.