Method | Description | |
---|---|---|
GetNumPrefixRadix ( char c ) : int |
Returns the integer radix that a given character represents for numeric literals. Returns 0 if the character is not a valid number prefix.
|
|
GetTypeFromKeyword ( string s ) : TokenType |
Returns the token type associated with the given keyword
|
|
IsBuiltinTyName ( string s ) : bool |
Returns true if the image represents a primitive type name.
|
|
IsCombiningChar ( int c ) : bool |
Returns true for unicode characters of classes Mn or Mc.
|
|
IsConnectingChar ( int c ) : bool |
Returns true for unicode characters of class Pc.
|
|
IsDecimalDigitChar ( int c ) : bool |
Returns true for unicode characters of class Nd.
|
|
IsDigit ( char c ) : bool |
Returns true if the character is a valid decimal digit for numeric literals.
|
|
IsDigitInRadix ( char c, int radix ) : bool |
Returns true if the character is a valid digit for numeric literals in the given radix.
|
|
IsFormattingChar ( int c ) : bool |
Returns true for unicode characters of class Cf.
|
|
IsIdentifierPart ( int c ) : bool |
Returns true if the unicode character is an identifier start or a combining, decimal digit, connecting, or formatting char.
|
|
IsIdentifierStart ( int c ) : bool |
Returns true if the unicode character is a letter char or an underscore (U+005F).
|
|
IsKw ( string s ) : bool |
Returns true if the given image is a keyword.
|
|
IsLetterChar ( int c ) : bool |
Returns true for unicode characters of classes Lu, Ll, Lt, Lm, Lo, or Nl.
|
|
IsNumPrefix ( char c ) : bool |
Returns true if the character is valid for a number prefix, false otherwise.
|
|
IsOperator ( char c ) : bool |
Returns true if the character is a valid operator character.
|
|
TokenTypeToString ( TokenType type, string @default = null ) : string |
public static GetNumPrefixRadix ( char c ) : int | ||
c | char | |
return | int |
public static GetTypeFromKeyword ( string s ) : TokenType | ||
s | string | |
return | TokenType |
public static IsBuiltinTyName ( string s ) : bool | ||
s | string | |
return | bool |
public static IsCombiningChar ( int c ) : bool | ||
c | int | |
return | bool |
public static IsConnectingChar ( int c ) : bool | ||
c | int | |
return | bool |
public static IsDecimalDigitChar ( int c ) : bool | ||
c | int | |
return | bool |
public static IsDigitInRadix ( char c, int radix ) : bool | ||
c | char | |
radix | int | |
return | bool |
public static IsFormattingChar ( int c ) : bool | ||
c | int | |
return | bool |
public static IsIdentifierPart ( int c ) : bool | ||
c | int | |
return | bool |
public static IsIdentifierStart ( int c ) : bool | ||
c | int | |
return | bool |
public static TokenTypeToString ( TokenType type, string @default = null ) : string | ||
type | TokenType | |
@default | string | |
return | string |