Package org.javacc.parser
Class Semanticize.EmptyChecker
- java.lang.Object
-
- org.javacc.parser.Semanticize.EmptyChecker
-
- All Implemented Interfaces:
TreeWalkerOp
- Enclosing class:
- Semanticize
private static class Semanticize.EmptyChecker extends java.lang.Object implements TreeWalkerOp
-
-
Constructor Summary
Constructors Modifier Constructor Description privateEmptyChecker(Context context)
-
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
-
EmptyChecker
private EmptyChecker(Context 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
-
-