Skip to main content

Crate formualizer

Crate formualizer 

Source
Expand description

Meta crate that re-exports the primary Formualizer building blocks with sensible defaults. Downstream users can depend on this crate and opt into specific layers via feature flags while keeping access to the underlying crates when deeper integration is required.

Re-exports§

pub use formualizer_common as common;
pub use formualizer_parse as parse;
pub use formualizer_eval as eval;
pub use formualizer_workbook as workbook;
pub use formualizer_sheetport as sheetport;
pub use sheetport_spec;

Modules§

doc_examples

Structs§

ASTNode
An AST node represents a parsed formula element
ConstraintViolation
Detailed information about why a value failed validation.
ErrorContext
Generic, lightweight metadata that any error may carry.
EvalConfig
Configuration for the evaluation engine
EvalOptions
EvalPlan
ExcelError
The single struct your API passes around.
InputUpdate
Set of inputs to apply (partial updates allowed).
ManifestBindings
Bound manifest along with per-port selector metadata.
Parser
A parser for converting tokens into an AST.
PortBinding
Fully resolved port description.
RangeAddress
RecordBinding
Record port binding with per-field metadata.
RecordFieldBinding
Metadata describing an individual record field binding.
ScalarBinding
Scalar port binding.
SheetPort
Runtime container that pairs a manifest with a concrete workbook.
TableBinding
Table port binding with column descriptors.
TableRow
Single logical table row.
TableValue
Table-shaped value consisting of ordered rows.
Token
A token in an Excel formula.
Tokenizer
A tokenizer for Excel worksheet formulas.
Workbook
Engine-backed workbook facade.
WorkbookConfig
WorksheetHandle
A bindings-friendly worksheet handle backed by an Arc<RwLock>. For native Rust, prefer borrowing APIs on Workbook directly for better ergonomics.

Enums§

ASTNodeType
The different types of AST nodes.
AreaLocation
Location for ports that span an area (records or rectangular ranges).
BoundPort
Union of bound port kinds.
DateSystem
ExcelErrorExtra
Kind-specific payloads (“extension slot”).
ExcelErrorKind
All recognised Excel error codes.
FormulaDialect
LiteralValue
An interpeter LiteralValue. This is distinct from the possible types that can be stored in a cell.
LoadStrategy
PortValue
Generic value container for a manifest port.
ReferenceType
A reference to something outside the cell.
ScalarLocation
Location for scalar ports.
SheetPortError
Errors produced when constructing or operating a SheetPort runtime.
TableLocation
Location options for table-shaped ports.
TokenSubType
The subtype of a token.
TokenType
The type of a token.
WorkbookMode

Functions§

canonical_formula
Produce a canonical Excel formula string for an AST, prefixed with ‘=’.
parse_with_dialect