Module process

Source
Expand description

Defines how rules can process and mutate Lua nodes.

Modules§

processors
A collection of utility processors that can be used when creating rules.

Structs§

DefaultVisitor
The default node visitor.
Evaluator
A struct to convert an Expression node into a LuaValue object.
ScopeVisitor
A visitor that can be used only with a NodeProcessor that also implements the Scope trait.

Enums§

LuaValue
Represents an evaluated Expression result.

Traits§

NodeProcessor
Used by the NodeVisitor trait, a NodeProcessor object is passed to each node to perform mutations.
NodeVisitor
A trait that defines method that iterates on nodes and process them using a NodeProcessor.
Scope
Defines methods to interact with the concept of lexical scoping. The struct implementing this trait should be able to keep track of identifiers when used along the ScopeVisitor.