Package com.javacc.parser.tree
Class Lookahead
java.lang.Object
com.javacc.parser.BaseNode
com.javacc.parser.tree.Lookahead
- All Implemented Interfaces:
JavaCCConstants,Node,freemarker.template.TemplateHashModel,freemarker.template.TemplateModel,freemarker.template.TemplateNodeModel,freemarker.template.TemplateScalarModel,Comparable<Node>
- Direct Known Subclasses:
LegacyLookahead
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.javacc.parser.JavaCCConstants
JavaCCConstants.LexicalState, JavaCCConstants.TokenTypeNested classes/interfaces inherited from interface com.javacc.parser.Node
Node.VisitorNested classes/interfaces inherited from interface freemarker.template.TemplateModel
freemarker.template.TemplateModel.InvalidExpressionModel, freemarker.template.TemplateModel.JavaNull -
Field Summary
Fields inherited from interface com.javacc.parser.JavaCCConstants
BUF_SIZEFields inherited from interface freemarker.template.TemplateModel
INVALID_EXPRESSION, JAVA_NULL, NOTHINGFields inherited from interface freemarker.template.TemplateScalarModel
EMPTY_STRING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleangetLHS()booleanbooleanbooleanbooleanbooleanvoidsetExpansion(Expansion expansion) voidvoidsetNegated(boolean negated) voidsetNestedExpansion(Expansion nestedExpansion) voidsetSemanticLookahead(Expression semanticLookahead) voidsetSemanticLookaheadNested(boolean semanticLookaheadNested) voidsetUpToExpansion(Expansion upToExpansion) Methods inherited from class com.javacc.parser.BaseNode
addChild, addChild, children, clearChildren, get, getAsString, getBeginOffset, getChild, getChildCount, getChildNodes, getEndOffset, getGrammar, getInnerText, getLiteralText, getNodeName, getNodeNamespace, getNodeType, getParent, getParentNode, getSimpleName, getTokenSource, hasKeyWord, isEmpty, isUnparsed, prepend, removeChild, setBeginOffset, setChild, setEndOffset, setGrammar, setListClass, setParent, setTokenSource, setUnparsed, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.javacc.parser.Node
appendChild, children, childrenOfType, close, compareTo, copyLocationInfo, copyLocationInfo, descendants, descendants, descendants, descendants, descendantsOfType, dump, dump, firstAncestorOfType, firstChildOfType, firstChildOfType, firstChildOfType, firstDescendantOfType, firstDescendantOfType, getAllTokens, getBeginColumn, getBeginLine, getEndColumn, getEndLine, getFirstChild, getFirstToken, getInputSource, getLastChild, getLastToken, getLocation, getRealTokens, getRoot, getSource, getTokenType, hasChildNodes, indexOf, iterator, nextSibling, open, prependChild, previousSibling, removeChild, replace, replaceChild
-
Constructor Details
-
Lookahead
public Lookahead()
-
-
Method Details
-
getLHS
-
setLHS
-
getUpToExpansion
-
setUpToExpansion
-
getNestedExpansion
-
setNestedExpansion
-
getExpansion
-
setExpansion
-
isSemanticLookaheadNested
public boolean isSemanticLookaheadNested() -
setSemanticLookaheadNested
public void setSemanticLookaheadNested(boolean semanticLookaheadNested) -
isNegated
public boolean isNegated() -
setNegated
public void setNegated(boolean negated) -
getSemanticLookahead
-
setSemanticLookahead
-
isAlwaysSuccessful
public boolean isAlwaysSuccessful() -
getRequiresScanAhead
public boolean getRequiresScanAhead() -
hasSemanticLookahead
public boolean hasSemanticLookahead() -
getLookaheadExpansion
-
getHasExplicitNumericalAmount
public boolean getHasExplicitNumericalAmount() -
getAmount
public int getAmount() -
getLookBehind
-