Package org.javacc.parser
Class Semanticize.LookaheadChecker
- java.lang.Object
-
- org.javacc.parser.Semanticize.LookaheadChecker
-
- All Implemented Interfaces:
TreeWalkerOp
- Enclosing class:
- Semanticize
private static class Semanticize.LookaheadChecker extends java.lang.Object implements TreeWalkerOp
-
-
Field Summary
Fields Modifier and Type Field Description private Semanticizesemanticize
-
Constructor Summary
Constructors Modifier Constructor Description privateLookaheadChecker(Semanticize semanticize)
-
Method Summary
All Methods Static 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.(package private) static booleanimplicitLA(Expansion exp)
-
-
-
Field Detail
-
semanticize
private final Semanticize semanticize
-
-
Constructor Detail
-
LookaheadChecker
private LookaheadChecker(Semanticize semanticize)
-
-
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
-
implicitLA
static boolean implicitLA(Expansion exp)
-
-