Module pattern

Module pattern 

Source

Structs§

Accessor
Accumulate
Add
After
And
Any
Assignment
Before
BooleanConstant
Bubble
Call
CallBuiltIn
CallForeignFunction
CallFunction
CallbackPattern
A callback pattern is used to reference against a callback function. The actual callback function is stored in the context, just the index is provided here. This is useful for adding new user-defined functions in Rust.
Contains
Divide
DynamicList
DynamicSnippet
EffectRange
Equal
Every
FilePattern
FilePtr
FileRegistry
Files
FloatConstant
FuncEvaluation
GritFunctionDefinition
GritMap
If
Includes
IntConstant
JoinFn
Like
Limit
List
ListIndex
Match
Maybe
Modulo
Multiply
Not
Or
PatternDefinition
PatternOrPredicateIterator
Point
PrAnd
PrAny
PrCall
PrIf
PrMaybe
PrNot
PrOr
PrReturn
PredicateDefinition
Range
RegexPattern
ResolvedFile
Rewrite
Sequential
Some
State
Step
StringConstant
Subtract
Undefined
Variable
VariableContent
Where
Within

Enums§

AccessorKey
AccessorMap
Container
A Container represents anything which “contains” a reference to a Pattern.
ContainerOrIndex
DynamicPattern
DynamicSnippetPart
LazyBuiltIn
ListOrContainer
Pattern
PatternOrPredicate
PatternOrResolved
PatternOrResolvedMut
Predicate
RegexLike
ResolvedSnippet
VariableSource
VariableSource is used to track the origin of a variable It can come from

Traits§

AstLeafNodePattern
Type of pattern that matches against an individual AST leaf node.
AstNodePattern
Type of pattern that matches against an individual (non-leaf) AST node.
CodeSnippet
Evaluator
File
FunctionDefinition
GritCall
Matcher
PatternName
ResolvedPattern
Work
We want both Work and State to not contain things that cannot be moved across threads.

Functions§

get_absolute_file_name
get_file_name
get_top_level_effects
is_reserved_metavariable
to_unsigned