Method | Description | |
---|---|---|
Equals ( object other ) : bool |
Tokens are equal if both properties, Value and Position, are considered equal.
|
|
GetHashCode ( ) : int |
Calculates a hashcode based on the properties Value and Position.
|
|
ToString ( ) : string |
Builds a more human friendly representation of the token.
|
|
Token ( string value, int position ) : System |
Creates a new token.
|
public Equals ( object other ) : bool | ||
other | object | object to test equality for |
return | bool |
public Token ( string value, int position ) : System | ||
value | string | token image |
position | int | absolute position of the /// image in the original text |
return | System |