Class BNFProduction

java.lang.Object
com.javacc.parser.BaseNode
com.javacc.parser.tree.BNFProduction
All Implemented Interfaces:
JavaCCConstants, Node, freemarker.template.TemplateHashModel, freemarker.template.TemplateModel, freemarker.template.TemplateNodeModel, freemarker.template.TemplateScalarModel, Comparable<Node>

public class BNFProduction extends BaseNode
  • Constructor Details

    • BNFProduction

      public BNFProduction()
  • Method Details

    • isImplicitReturnType

      public boolean isImplicitReturnType()
    • setImplicitReturnType

      public void setImplicitReturnType(boolean implicitReturnType)
    • getLexicalState

      public String getLexicalState()
    • setLexicalState

      public void setLexicalState(String lexicalState)
    • getHasScanLimit

      public boolean getHasScanLimit()
    • getHasExplicitLookahead

      public boolean getHasExplicitLookahead()
    • getLookahead

      public Lookahead getLookahead()
    • getJavaCode

      public CodeBlock getJavaCode()
    • getTreeBuildingAnnotation

      public TreeBuildingAnnotation getTreeBuildingAnnotation()
    • isOnlyForLookahead

      public boolean isOnlyForLookahead()
    • getNodeName

      public String getNodeName()
      Specified by:
      getNodeName in interface freemarker.template.TemplateNodeModel
      Overrides:
      getNodeName in class BaseNode
    • getRecoveryExpansion

      public Expansion getRecoveryExpansion()
    • setRecoveryExpansion

      public void setRecoveryExpansion(Expansion recoveryExpansion)
    • getExpansion

      public Expansion getExpansion()
    • setExpansion

      public void setExpansion(Expansion expansion)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getThrowsList

      public ThrowsList getThrowsList()
    • getParameterList

      public FormalParameters getParameterList()
    • getTreeNodeBehavior

      public TreeBuildingAnnotation getTreeNodeBehavior()
    • getReferringNonTerminals

      public List<NonTerminal> getReferringNonTerminals()
    • getLookaheadMethodName

      public String getLookaheadMethodName()
    • isPossiblyEmpty

      public boolean isPossiblyEmpty()
      Can this production be matched by an empty string?
    • isAlwaysSuccessful

      public boolean isAlwaysSuccessful()
    • getAccessModifier

      public String getAccessModifier()
    • getReturnType

      public String getReturnType()
    • adjustFirstToken

      public void adjustFirstToken(Token t)
    • getLeadingComments

      public String getLeadingComments()
    • getFirstSet

      public TokenSet getFirstSet()
    • getFirstSetVarName

      public String getFirstSetVarName()
    • getFinalSet

      public TokenSet getFinalSet()