Package org.javacc.parser
Class Semanticize.LookaheadFixer
- java.lang.Object
-
- org.javacc.parser.Semanticize.LookaheadFixer
-
- All Implemented Interfaces:
TreeWalkerOp
- Enclosing class:
- Semanticize
private static class Semanticize.LookaheadFixer extends java.lang.Object implements TreeWalkerOp
-
-
Constructor Summary
Constructors Modifier Constructor Description privateLookaheadFixer(Context context)Constructs an instance ofSemanticize.LookaheadFixer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaction(Expansion e)When a node is visited, this method is invoked with the node as parameter.booleangoDeeper(Expansion e)When called at a particular node, this specifies to the tree walker if it should visit more nodes under this node.
-
-
-
Field Detail
-
context
private final Context context
-
-
Constructor Detail
-
LookaheadFixer
private LookaheadFixer(Context context)
Constructs an instance ofSemanticize.LookaheadFixer.- Parameters:
context-
-
-
Method Detail
-
goDeeper
public boolean goDeeper(Expansion e)
Description copied from interface:TreeWalkerOpWhen called at a particular node, this specifies to the tree walker if it should visit more nodes under this node.- Specified by:
goDeeperin interfaceTreeWalkerOp
-
action
public void action(Expansion e)
Description copied from interface:TreeWalkerOpWhen a node is visited, this method is invoked with the node as parameter.- Specified by:
actionin interfaceTreeWalkerOp
-
-