프로퍼티 | 타입 | 설명 | |
---|---|---|---|
EmptySource | ICharStream>.Tuple | ||
charPositionInLine | int | ||
index | int | ||
start | int | ||
stop | int |
메소드 | 설명 | |
---|---|---|
CommonToken ( IToken oldToken ) : System |
Constructs a new CommonToken as a copy of another IToken . If oldToken is also a CommonToken instance, the newly constructed token will share a reference to the Text() field and the Tuple{T1, T2} stored in source . Otherwise, Text() will be assigned the result of calling Text() , and source will be constructed from the result of IToken.TokenSource() and IToken.InputStream() .
|
|
CommonToken ( ICharStream>.Tuple |
||
CommonToken ( int type ) : System |
Constructs a new CommonToken with the specified token type.
|
|
CommonToken ( int type, string text ) : System |
Constructs a new CommonToken with the specified token type and text.
|
|
ToString ( ) : string |
public CommonToken ( IToken oldToken ) : System | ||
oldToken | IToken | The token to copy. |
리턴 | System |
public CommonToken ( ICharStream>.Tuple |
||
source | ICharStream>.Tuple | |
type | int | |
channel | int | |
start | int | |
stop | int | |
리턴 | System |
public CommonToken ( int type, string text ) : System | ||
type | int | The token type. |
text | string | The text of the token. |
리턴 | System |