Package antlr

Class TokenSymbol

    • Field Detail

      • ttype

        protected int ttype
      • paraphrase

        protected java.lang.String paraphrase
        describes what token matches in "human terms"
      • ASTNodeType

        protected java.lang.String ASTNodeType
        Set to a value in the tokens {...} section
    • Constructor Detail

      • TokenSymbol

        public TokenSymbol​(java.lang.String r)
    • Method Detail

      • getASTNodeType

        public java.lang.String getASTNodeType()
      • setASTNodeType

        public void setASTNodeType​(java.lang.String type)
      • getParaphrase

        public java.lang.String getParaphrase()
      • getTokenType

        public int getTokenType()
      • setParaphrase

        public void setParaphrase​(java.lang.String p)
      • setTokenType

        public void setTokenType​(int t)