CsToken.h File Reference


Typedefs

typedef unsigned CsTokenIndex
 Token's index in C# file sequence of tokens. Index is 1-based. 0 used to represent missing token in AST nodes.

Enumerations

enum  CsLiteralType {
  literal_unknown, literal_int, literal_uint, literal_long,
  literal_ulong, literal_L_long, literal_L_ulong, literal_U_uint,
  literal_U_ulong, literal_UL_ulong, literal_double, literal_F_float,
  literal_D_double, literal_M_decimal, literal_char, literal_string,
  literal_verbatim_string
}

Typedef Documentation

typedef unsigned CsTokenIndex
 

Token's index in C# file sequence of tokens. Index is 1-based. 0 used to represent missing token in AST nodes.


Enumeration Type Documentation

enum CsLiteralType
 

Enumeration values:
literal_unknown  Undefined Literal type.
literal_int  int (integer in range -2^31..2^31-1)
literal_uint  uint (integer in range 2^31..2^32-1)
literal_long  long (integer in range -2^63..-2^31-1 or 2^32..2^63-1)
literal_ulong  ulong (integer in range 2^63..2^64-1)
literal_L_long  long (integer with L postfix in range -2^63..2^63-1)
literal_L_ulong  ulong (integer with L postfix in range 2^63..2^64-1)
literal_U_uint  uint (integer with U postfix in range 0..2^32-1)
literal_U_ulong  ulong (integer with U postfix in range 2^32..2^64-1)
literal_UL_ulong  ulong (integer with UL postfix in range 0..2^64-1)
literal_double  double
literal_F_float  float with F postfix
literal_D_double  double with D postfix
literal_M_decimal  decimal with M postfix
literal_char  char ('c')
literal_string  string ("s")
literal_verbatim_string  verbatim string (@"s")

© 2005 metaspec