Class NormalProduction

  • Direct Known Subclasses:
    BNFProduction, CodeProduction

    public class NormalProduction
    extends java.lang.Object
    Describes JavaCC productions.
    • Field Detail

      • eol

        protected java.lang.String eol
    • Constructor Detail

      • NormalProduction

        public NormalProduction()
    • Method Detail

      • dumpPrefix

        protected java.lang.StringBuffer dumpPrefix​(int indent)
      • getSimpleName

        protected java.lang.String getSimpleName()
      • dump

        public java.lang.StringBuffer dump​(int indent,
                                           java.util.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​(java.lang.String accessMod)
        Parameters:
        accessMod - the accessMod to set
      • getAccessMod

        public java.lang.String getAccessMod()
        Returns:
        the accessMod
      • setLhs

        public void setLhs​(java.lang.String lhs)
        Parameters:
        lhs - the lhs to set
      • getLhs

        public java.lang.String getLhs()
        Returns:
        the lhs
      • getReturnTypeTokens

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

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

        public void setThrowsList​(java.util.List throws_list)
        Parameters:
        throws_list - the throws_list to set
      • getThrowsList

        public java.util.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