- Make 'as alias' optional in import_statement
- Add if_expression for if/else as values in @let statements
- Add match_expression for match as values
- Add macro_call support for format!(), vec![], etc.
- Use simple_pattern in let_statement to avoid conflicts with { }
- Reorder primary_expression to prioritize if/match over rust_path
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Remove alias() calls that referenced undefined rules, which
prevented proper node type generation. Use simple regex patterns
instead.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Use seq() with named rules instead of inline regex patterns
to ensure raw_block, template_comment, etc. produce proper
named nodes that can be queried in highlights.scm
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Use simple regex patterns for comments, raw blocks, embedded languages
- Add support for unquoted import paths
- Use string literals for keyword highlighting
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>