Package org.javacc.parser
Class Semanticize.FixRJustNames
- java.lang.Object
-
- org.javacc.parser.Semanticize.FixRJustNames
-
- All Implemented Interfaces:
TreeWalkerOp
- Enclosing class:
- Semanticize
private static class Semanticize.FixRJustNames extends java.lang.Object implements TreeWalkerOp
Objects of this class are created from class Semanticize to work on references to regular expressions from RJustName's.
-
-
Field Summary
Fields Modifier and Type Field Description private Contextcontextprivate RegularExpressionroot
-
Constructor Summary
Constructors Modifier Constructor Description privateFixRJustNames(Context context)Constructs an instance ofSemanticize.FixRJustNames.
-
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
-
root
private RegularExpression root
-
context
private final Context context
-
-
Constructor Detail
-
FixRJustNames
private FixRJustNames(Context context)
Constructs an instance ofSemanticize.FixRJustNames.- 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
-
-