[][src]Module darklua_core::process

Defines how rules can process and mutate Lua nodes.

Structs

DefaultVisitor

The default node visitor.

ScopeVisitor

A visitor that can be used only with a NodeProcessor that also implements the Scope trait.

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.