Expand description
Parser and tokenizer for FHIRPath expressions
This crate provides parsing capabilities for FHIRPath expressions, converting text into abstract syntax trees.
Re-exports§
pub use error::ParseError;pub use error::ParseResult;pub use tokenizer::Token;pub use tokenizer::Tokenizer;pub use ast_cache::cache_ast;pub use ast_cache::get_cached_ast;pub use pratt::parse_expression_pratt;pub use span::Span;pub use span::Spanned;
Modules§
- ast_
cache - Shared AST compilation cache for FHIRPath expressions
- error
- Parser error types
- error_
recovery - Parser error recovery for improved IDE support and partial AST construction
- lexer
- Lexical analysis utilities
- pratt
- High-performance Pratt parser for FHIRPath expressions
- span
- Source location tracking for parser
- tokenizer
- Ultra-high-performance tokenizer for FHIRPath expressions
Structs§
- Diagnostic
- A diagnostic message
- Diagnostic
Builder - Builder for constructing diagnostics fluently
Enums§
- Expression
Node - AST representation of FHIRPath expressions
- Fhir
Path Error - Comprehensive error type for FHIRPath operations
- Literal
Value - Literal values in FHIRPath
Functions§
- parse
- Alias for parse_expression for convenience
- parse_
expression - Parse a FHIRPath expression from a string
Type Aliases§
- Result
- Result type alias for FHIRPath operations