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