IToken Properties |
The IToken type exposes the following members.
| Name | Description | |
|---|---|---|
| Channel | ||
| CharPositionInLine | The index of the first character relative to the beginning of the line 0..n-1 | |
| InputStream |
From what character stream was this token created? You don't have to
implement but it's nice to know where a Token comes from if you have
include files etc... on the input.
| |
| Line | The line number on which this token was matched; line=1..n | |
| StartIndex | ||
| StopIndex | ||
| Text | Get the text of the token | |
| TokenIndex |
An index from 0..n-1 of the token object in the input stream.
This must be valid in order to use the ANTLRWorks debugger.
| |
| Type |