public interface ICMToken
Modifier and Type | Method and Description |
---|---|
ICMToken |
changeType(int type)
Changes the type of the token, and returns a new copy with the desired type.
|
int |
getColumn()
Returns the column of this token.
|
int |
getEnd()
Returns the end offset of this token
|
int |
getLine()
Returns the line of this token..
|
String |
getSourcePath()
Get the source file path of the node.
|
int |
getStart()
Returns the start offset of this token
|
String |
getText()
Returns the text contained within this token
|
int |
getType()
Returns the type of this token
|
boolean |
isImplicit() |
int getType()
int getStart()
int getEnd()
int getLine()
int getColumn()
String getText()
boolean isImplicit()
ICMToken changeType(int type)
type
- the type of token to createICMToken
that is a copy of the original, with a different typeString getSourcePath()
The source path will be copied to ISourceLocation.getSourcePath()
during
tree construction.
Copyright © 2016 The Apache Software Foundation. All rights reserved.