Module semantic

Module semantic 

Source

Structs§

DateTimeValue
A datetime value that preserves timezone information
Expression
An expression that can be evaluated, with source location and unique ID
FactReference
Reference to a fact
ForeignFact
A fact that references another document
LemmaDoc
A Lemma document containing facts, rules
LemmaFact
LemmaRule
A rule with a single expression and optional unless clauses
RuleReference
Reference to a rule
TimeValue
A time value
TimezoneValue
A timezone value
UnlessClause
An unless clause that provides an alternative result
VetoExpression
A veto expression that prohibits any valid verdict from the rule

Enums§

ArithmeticOperation
Arithmetic operations
ComparisonOperator
Comparison operators
ConversionTarget
The target unit for unit conversion expressions
DataUnit
DurationUnit
EnergyUnit
ExpressionKind
The kind/type of expression
FactType
FactValue
ForceUnit
FrequencyUnit
LemmaType
A type for type annotations (both literal types and document types)
LengthUnit
LiteralValue
A literal value
MassUnit
MathematicalOperator
Mathematical operators
MoneyUnit
NegationType
Types of logical negation
NumericUnit
A unified type for all numeric units (physical quantities and money)
PowerUnit
PressureUnit
TemperatureUnit
TypeAnnotation
VolumeUnit