Package com.javacc.parser.tree
Class Assertion
- java.lang.Object
-
- com.javacc.parser.BaseNode
-
- com.javacc.core.Expansion
-
- com.javacc.core.EmptyExpansion
-
- com.javacc.parser.tree.Assertion
-
- All Implemented Interfaces:
JavaCCConstants,Node,freemarker.template.TemplateHashModel,freemarker.template.TemplateModel,freemarker.template.TemplateNodeModel,freemarker.template.TemplateScalarModel,Comparable<Node>
public class Assertion extends EmptyExpansion
-
-
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 Assertion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpressiongetAssertionExpression()ExpansiongetExpansion()ExpressiongetMessageExpression()booleanisExpansionNegated()booleanisSemanticLookaheadNested()voidsetAssertionExpression(Expression assertionExpression)voidsetExpansion(Expansion expansion)voidsetExpansionNegated(boolean expansionNegated)voidsetMessageExpression(Expression messageExpression)voidsetSemanticLookaheadNested(boolean semanticLookaheadNested)-
Methods inherited from class com.javacc.core.EmptyExpansion
getFinalSet, getFirstSet, getMaximumSize, getMinimumSize, getRequiresScanAhead, getSpecifiesLexicalStateSwitch, isPossiblyEmpty
-
Methods inherited from class com.javacc.core.Expansion
beginsSequence, getContainingProduction, getCustomErrorRecoveryBlock, getFinalSetSize, getFinalSetVarName, getFirstSetVarName, getFollowingExpansion, getFollowSet, getFollowSetVarName, getHasExplicitLookahead, getHasExplicitNumericalLookahead, getHasFullFollowSet, getHasGlobalSemanticActions, getHasImplicitSyntacticLookahead, getHasInnerScanLimit, getHasLookBehind, getHasScanLimit, getHasSemanticLookahead, getHasSeparateSyntacticLookahead, getHasTokenActivation, getIndex, getIsRegexp, getLabel, getLookahead, getLookaheadAmount, getLookaheadExpansion, getLookBehind, getNestedExpansion, getNonSuperfluousParent, getPredicateMethodName, getRecoverMethodName, getRecoverToMethodName, getRequiresPredicateMethod, getRequiresRecoverMethod, getScanLimitPlus, getScanRoutineName, getSemanticLookahead, getSpecifiedLexicalState, getTokenActivation, getTreeNodeBehavior, getUpToExpansion, isAlwaysSuccessful, isAtChoicePoint, isBeforeLexicalStateSwitch, isInsideLookahead, isNegated, isScanLimit, isSingleToken, isTolerantParsing, setCustomErrorRecoveryBlock, setLabel, setScanLimit, setScanLimitPlus, setTolerantParsing, setTreeNodeBehavior, superfluousParentheses, toString
-
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
-
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
-
getMessageExpression
public Expression getMessageExpression()
-
setMessageExpression
public void setMessageExpression(Expression messageExpression)
-
getAssertionExpression
public Expression getAssertionExpression()
-
setAssertionExpression
public void setAssertionExpression(Expression assertionExpression)
-
getExpansion
public Expansion getExpansion()
-
setExpansion
public void setExpansion(Expansion expansion)
-
isSemanticLookaheadNested
public boolean isSemanticLookaheadNested()
-
setSemanticLookaheadNested
public void setSemanticLookaheadNested(boolean semanticLookaheadNested)
-
isExpansionNegated
public boolean isExpansionNegated()
-
setExpansionNegated
public void setExpansionNegated(boolean expansionNegated)
-
-