메소드 | 설명 | |
---|---|---|
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 GetTypeFromKeyword ( string s ) : TokenType | ||
s | string | |
리턴 | TokenType |
public static IsDigitInRadix ( char c, int radix ) : bool | ||
c | char | |
radix | int | |
리턴 | bool |
public static TokenTypeToString ( TokenType type, string @default = null ) : string | ||
type | TokenType | |
@default | string | |
리턴 | string |