Class NormalProduction

java.lang.Object
org.javacc.parser.NormalProduction
Direct Known Subclasses:
BNFProduction, CodeProduction

public class NormalProduction extends Object
Describes JavaCC productions.
  • Field Details

  • Constructor Details

    • NormalProduction

      public NormalProduction()
  • Method Details

    • dumpPrefix

      protected StringBuffer dumpPrefix(int indent)
    • getSimpleName

      protected String getSimpleName()
    • dump

      public StringBuffer dump(int indent, Set alreadyDumped)
    • setLine

      public void setLine(int line)
      Parameters:
      line - the line to set
    • getLine

      public int getLine()
      Returns:
      the line
    • setColumn

      public void setColumn(int column)
      Parameters:
      column - the column to set
    • getColumn

      public int getColumn()
      Returns:
      the column
    • setAccessMod

      public void setAccessMod(String accessMod)
      Parameters:
      accessMod - the accessMod to set
    • getAccessMod

      public String getAccessMod()
      Returns:
      the accessMod
    • setLhs

      public void setLhs(String lhs)
      Parameters:
      lhs - the lhs to set
    • getLhs

      public String getLhs()
      Returns:
      the lhs
    • getReturnTypeTokens

      public List<Token> getReturnTypeTokens()
      Returns:
      the return_type_tokens
    • getParameterListTokens

      public List<Token> getParameterListTokens()
      Returns:
      the parameter_list_tokens
    • setThrowsList

      public void setThrowsList(List throws_list)
      Parameters:
      throws_list - the throws_list to set
    • getThrowsList

      public List getThrowsList()
      Returns:
      the throws_list
    • setExpansion

      public void setExpansion(Expansion expansion)
      Parameters:
      expansion - the expansion to set
    • getExpansion

      public Expansion getExpansion()
      Returns:
      the expansion
    • setFirstToken

      public Token setFirstToken(Token firstToken)
      Parameters:
      firstToken - the firstToken to set
    • getFirstToken

      public Token getFirstToken()
      Returns:
      the firstToken
    • setLastToken

      public void setLastToken(Token lastToken)
      Parameters:
      lastToken - the lastToken to set
    • getLastToken

      public Token getLastToken()
      Returns:
      the lastToken