Module expr

Source
Expand description

AST-like data structures for evaluating full mathematical dice expressions and working with their results.

Enums§

CalcError
Error that can occur during Evaled::calc()
EvalError
Error that can occur during Expr::eval()
Evaled
Tree structure of individual elements of an evaluated mathematical dice expression
Expr
Tree structure of individual elements of a full mathematical dice expression
OpType
Operation type for an individual expression

Traits§

Describe
Trait to allow creation of expanded descriptions with an optional max number of individual listed results where applicable
HasOpType
Trait that offers OpType-related information