Uses of Class
net.sourceforge.pmd.lang.vm.ast.Token
-
Packages that use Token Package Description net.sourceforge.pmd.lang.vm.ast -
-
Uses of Token in net.sourceforge.pmd.lang.vm.ast
Fields in net.sourceforge.pmd.lang.vm.ast declared as Token Modifier and Type Field Description Token
ParseException. currentToken
This is the last token that has been consumed successfully.protected Token
AbstractVmNode. first
Token
VmParser. jj_nt
Next token.protected Token
AbstractVmNode. last
Token
Token. next
A reference to the next regular (non-special) token from the input stream.Token
Token. specialToken
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.Token
VmParser. token
Current token.Methods in net.sourceforge.pmd.lang.vm.ast that return Token Modifier and Type Method Description Token
AbstractVmNode. getFirstToken()
Token
AbstractVmNode. getLastToken()
Token
VmParser. getNextToken()
Get the next Token.Token
VmParserTokenManager. getNextToken()
Get the next Token.Token
VmParser. getToken(int index)
Get the specific Token.protected Token
VmParserTokenManager. jjFillToken()
static Token
Token. newToken(int ofKind)
static Token
Token. newToken(int ofKind, java.lang.String image)
Returns a new Token object, by default.Methods in net.sourceforge.pmd.lang.vm.ast with parameters of type Token Modifier and Type Method Description void
AbstractVmNode. setFirstToken(Token t)
static java.lang.String
NodeUtils. tokenLiteral(Token t)
complete node literalConstructors in net.sourceforge.pmd.lang.vm.ast with parameters of type Token Constructor Description MacroParseException(java.lang.String msg, java.lang.String templateName, Token currentToken)
ParseException(Token currentTokenVal, int[][] expectedTokenSequencesVal, java.lang.String[] tokenImageVal)
This constructor is used by the method "generateParseException" in the generated parser.TemplateParseException(Token currentTokenVal, int[][] expectedTokenSequencesVal, java.lang.String[] tokenImageVal)
This constructor is used by the method "generateParseException" in the generated parser.TemplateParseException(Token currentTokenVal, int[][] expectedTokenSequencesVal, java.lang.String[] tokenImageVal, java.lang.String templateNameVal)
This constructor is used to add a template name to info cribbed from a ParseException generated in the parser.
-