## Uses of Class
net.sourceforge.pmd.lang.java.ast.Token

Packages that use Token
Package | Description
--- | ---
net.sourceforge.pmd.lang.java.ast |

### Uses of Token in net.sourceforge.pmd.lang.java.ast

Subclasses of Token in net.sourceforge.pmd.lang.java.ast
Modifier and Type | Class and Description
--- | ---
`static class` | `Token.GTToken`

Fields in net.sourceforge.pmd.lang.java.ast declared as Token
Modifier and Type | Field and Description
--- | ---
`Token` | ParseException.`currentToken` This is the last token that has been consumed successfully.
`Token` | JavaParser.`jj_nt` Next token.
`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` | JavaParser.`token` Current token.

Methods in net.sourceforge.pmd.lang.java.ast that return Token
Modifier and Type | Method and Description
--- | ---
`Token` | JavaParser.`getNextToken()` Get the next Token.
`Token` | JavaParserTokenManager.`getNextToken()` Get the next Token.
`Token` | JavaParser.`getToken(int index)` Get the specific Token.
`protected Token` | JavaParserTokenManager.`jjFillToken()`
`static Token` | Token.`newToken(int ofKind)`
`static Token` | Token.`newToken(int ofKind, String image)` Returns a new Token object, by default.

Constructors in net.sourceforge.pmd.lang.java.ast with parameters of type Token
Constructor and Description
`Comment(Token t)`
`FormalComment(Token t)`
`MultiLineComment(Token t)`
`ParseException(Token currentTokenVal, int[][] expectedTokenSequencesVal, String[] tokenImageVal)` This constructor is used by the method "generateParseException" in the generated parser.
`SingleLineComment(Token t)`