IntermediateCodeTokens Namespace

Classes

internal class TokenMap

Functions

public int GetTokenId(const String<uchar>& tokenName)
public String<uchar> GetTokenInfo(int tokenId)
public String<uchar> GetTokenName(int tokenId)

Constants

public const int ADD = 26
public const int ALIGNMENT = 48
public const int AND = 31
public const int ARG = 8
public const int ASSIGN = 76
public const int AST = 71
public const int AT = 77
public const int BITCAST = 21
public const int BOOL = 50
public const int BRANCH = 10
public const int BYTE = 52
public const int CALL = 11
public const int CLSID = 81
public const int COLON = 72
public const int COMMA = 68
public const int CONV = 64
public const int CU = 1
public const int DATA = 4
public const int DIV = 29
public const int DOLLAR = 78
public const int DOUBLE = 60
public const int ELEMADDR = 41
public const int END = 0
public const int EQUAL = 36
public const int EXCLAMATION = 79
public const int FALSE = 62
public const int FLOAT = 59
public const int FLOATTOINT = 23
public const int FUNCTION = 5
public const int HEXNUM = 84
public const int ID = 2
public const int INT = 55
public const int INTTOFLOAT = 22
public const int INTTOPTR = 24
public const int JMP = 9
public const int LBRACE = 69
public const int LBRACKET = 74
public const int LESS = 37
public const int LOAD = 40
public const int LOCAL = 39
public const int LONG = 57
public const int LPAREN = 66
public const int METADATA = 65
public const int MOD = 30
public const int MUL = 28
public const int NEG = 17
public const int NOP = 14
public const int NOT = 16
public const int NULL = 63
public const int NUMBER = 83
public const int OFFSET = 46
public const int ONCE = 6
public const int OR = 32
public const int PARAM = 38
public const int PTRDIFF = 43
public const int PTROFFSET = 42
public const int PTRTOINT = 25
public const int RBRACE = 70
public const int RBRACKET = 75
public const int RET = 12
public const int RPAREN = 67
public const int SAVE = 15
public const int SBYTE = 51
public const int SEMICOLON = 73
public const int SHL = 34
public const int SHORT = 53
public const int SHR = 35
public const int SIGNEXTEND = 18
public const int SIZE = 47
public const int STORE = 7
public const int STRING = 82
public const int SUB = 27
public const int SWITCH = 13
public const int TRAP = 44
public const int TRUE = 61
public const int TRUNCATE = 20
public const int TYPE = 45
public const int TYPEID = 80
public const int TYPES = 3
public const int UINT = 56
public const int ULONG = 58
public const int USHORT = 54
public const int VOID = 49
public const int XOR = 33
public const int ZEROEXTEND = 19

Function Details

GetTokenId Function

public int GetTokenId(const String<uchar>& tokenName)

Definition
Line 469 of cmsxi/IntermediateCodeTokens.cm


GetTokenInfo Function

public String<uchar> GetTokenInfo(int tokenId)

Definition
Line 479 of cmsxi/IntermediateCodeTokens.cm


GetTokenName Function

public String<uchar> GetTokenName(int tokenId)

Definition
Line 474 of cmsxi/IntermediateCodeTokens.cm