Module parser

Module parser 

Source

Structs§

ASTNode
An AST node represents a parsed formula element
BatchParser
Efficient batch parser with an internal token cache and optional volatility classifier.
BatchParserBuilder
CollectPolicy
Policy controlling how references are collected.
Parser
A parser for converting tokens into an AST.
ParserError
A custom error type for the parser.
RefIter
Iterator over RefView for an AST, implemented via an explicit stack to avoid recursion allocation.
TableReference
A reference to a table including specifiers

Enums§

ASTNodeType
The different types of AST nodes.
RefView
A borrowing view over a ReferenceType. Avoids cloning sheet/names while walking.
ReferenceType
A reference to something outside the cell.
SpecialItem
Special items in structured references
TableRowSpecifier
Specifies which row(s) to use in a table reference
TableSpecifier
A structured table reference specifier for accessing specific parts of a table

Functions§

normalise_reference
Normalise a reference string to its canonical form
parse
parse_with_dialect
parse_with_dialect_and_volatility_classifier
parse_with_volatility_classifier
Parse a single formula and annotate volatility using the provided classifier. This is a convenience wrapper around Parser::new_with_classifier.