Module ast

Module ast 

Source

Modules§

macros

Structs§

Clause
A conjunction of literal matchers
Constraint
Expr
Formula
Import
Key
Nested
Origin
The original source location from which a rule/property was parsed
PropDef
Property
PropertyValue
RuleTreeNode
Specificity
Step

Enums§

AstError
A common error type for all of the things that can go wrong while parsing and building the AST
AstNode
AST nodes representing rules
Op
Selector
AST nodes representing selector expressions

Traits§

ImportResolver
Provides a binding to paths which are used for resolving @import expressions
JoinedBy

Functions§

conj
disj
flatten
Flatten a selector expression.
parse
to_dnf

Type Aliases§

AstResult
Env
PersistentStr
A shared string reference, used internally for keys and properties