public class WalkState extends BaseState
| Modifier and Type | Field and Description |
|---|---|
Aast |
copy
Tree node being walked, editable version.
|
Aast |
here
Tree node being walked, read-only version.
|
Resolver |
resolver
Provides walk services such as an ID to tree node cache.
|
| Constructor and Description |
|---|
WalkState(AstManager mgr,
Engine engine,
Resolver resolver,
Aast here,
Aast copy)
Construct an instance that contains the resources for the processing of a
single AST node.
|
WalkState(BaseState base,
Resolver resolver,
Aast here,
Aast copy)
Construct an instance that contains the resources for the processing of a
single AST node.
|
public final Resolver resolver
public final Aast here
public final Aast copy
public WalkState(AstManager mgr, Engine engine, Resolver resolver, Aast here, Aast copy)
mgr - Provides core AST services.engine - Tree processing engine which drives and controls the walk
process.resolver - Provides walk services such as an ID to tree node cache.here - AST being walked, read-only version.copy - AST being walked, editable version.public WalkState(BaseState base, Resolver resolver, Aast here, Aast copy)
base - Common state to copy.resolver - Provides walk services such as an ID to tree node cache.here - AST being walked, read-only version.copy - AST being walked, editable version.