Property | Type | Description | |
---|---|---|---|
beginColumn | int | ||
beginLine | int | ||
endColumn | int | ||
endLine | int | ||
image | string | ||
kind | int | ||
next | |||
specialToken |
Method | Description | |
---|---|---|
NewToken ( int ofKind ) : |
||
NewToken ( int ofKind, string image ) : |
Returns a new Token object, by default. However, if you want, you can create and return subclass objects based on the value of ofKind. Simply add the cases to the switch for all those special cases. For example, if you have a subclass of Token called IDToken that you want to create if ofKind is ID, simply add something like :
|
|
ToString ( ) : string |
Returns the image.
|
|
Token ( ) : System |
No-argument constructor
|
|
Token ( int kind ) : System |
Constructs a new token for the specified Image.
|
|
Token ( int kind, string image ) : System |
Constructs a new token for the specified Image and Kind.
|
public static NewToken ( int ofKind ) : |
||
ofKind | int | |
return |
public static NewToken ( int ofKind, string image ) : |
||
ofKind | int | |
image | string | |
return |
public Token ( int kind, string image ) : System | ||
kind | int | |
image | string | |
return | System |
public Token,Lucene.Net.QueryParsers.Flexible.Standard.Parser next | ||
return |