| Package | Description | 
|---|---|
| oracle.javatools.parser.java.v2.model | 
 The parser model API. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
SourceToken | 
SourceElement.getFirstToken(short tokenValue)
Get the first token of this SourceElement that has a particular token value,
 e.g. 
 | 
SourceToken | 
SourceElement.getLastToken(short tokenValue)
Get the last token of this SourceElement that has a particular token value,
 e.g. 
 | 
SourceToken | 
SourceFile.getTokenAt(int offset)
Get the token with startOffset <= offset and endOffset >= offset. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.List<SourceToken> | 
SourceElement.getTokens()
Get the tokens of this SourceElement. 
 | 
java.util.List<SourceToken> | 
SourceElement.getTokens(short tokenValue)
Get the tokens of this SourceElement that have a particular token value,
 e.g. 
 |