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
public class Lookahead extends BaseNode
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.javacc.parser.JavaCCConstants
JavaCCConstants.LexicalState, JavaCCConstants.TokenType
-
Nested classes/interfaces inherited from interface com.javacc.parser.Node
Node.Visitor
-
-
Field Summary
-
Fields inherited from interface com.javacc.parser.JavaCCConstants
BUF_SIZE
-
-
Constructor Summary
Constructors Constructor Description Lookahead()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAmount()ExpansiongetExpansion()booleangetHasExplicitNumericalAmount()NamegetLHS()ExpansiongetLookaheadExpansion()LookBehindgetLookBehind()ExpansiongetNestedExpansion()booleangetRequiresScanAhead()ExpressiongetSemanticLookahead()ExpansiongetUpToExpansion()booleanhasSemanticLookahead()booleanisAlwaysSuccessful()booleanisNegated()booleanisSemanticLookaheadNested()voidsetExpansion(Expansion expansion)voidsetLHS(Name LHS)voidsetNegated(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, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods 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
-
-
-
-
Method Detail
-
getLHS
public Name getLHS()
-
setLHS
public void setLHS(Name LHS)
-
getUpToExpansion
public Expansion getUpToExpansion()
-
setUpToExpansion
public void setUpToExpansion(Expansion upToExpansion)
-
getNestedExpansion
public Expansion getNestedExpansion()
-
setNestedExpansion
public void setNestedExpansion(Expansion nestedExpansion)
-
getExpansion
public Expansion getExpansion()
-
setExpansion
public void setExpansion(Expansion expansion)
-
isSemanticLookaheadNested
public boolean isSemanticLookaheadNested()
-
setSemanticLookaheadNested
public void setSemanticLookaheadNested(boolean semanticLookaheadNested)
-
isNegated
public boolean isNegated()
-
setNegated
public void setNegated(boolean negated)
-
getSemanticLookahead
public Expression getSemanticLookahead()
-
setSemanticLookahead
public void setSemanticLookahead(Expression semanticLookahead)
-
isAlwaysSuccessful
public boolean isAlwaysSuccessful()
-
getRequiresScanAhead
public boolean getRequiresScanAhead()
-
hasSemanticLookahead
public boolean hasSemanticLookahead()
-
getLookaheadExpansion
public Expansion getLookaheadExpansion()
-
getHasExplicitNumericalAmount
public boolean getHasExplicitNumericalAmount()
-
getAmount
public int getAmount()
-
getLookBehind
public LookBehind getLookBehind()
-
-