Crate octofhir_fhirpath_parser

Crate octofhir_fhirpath_parser 

Source
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
DiagnosticBuilder
Builder for constructing diagnostics fluently

Enums§

ExpressionNode
AST representation of FHIRPath expressions
FhirPathError
Comprehensive error type for FHIRPath operations
LiteralValue
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