HyperDbg Debugger
Loading...
Searching...
No Matches
parse-table.h
Go to the documentation of this file.
1#pragma once
2#ifndef PARSE_TABLE_H
3#define PARSE_TABLE_H
4#define RULES_COUNT 206
5#define TERMINAL_COUNT 103
6#define NONETERMINAL_COUNT 49
7#define START_VARIABLE "S"
8#define MAX_RHS_LEN 15
9#define KEYWORD_LIST_LENGTH 93
10#define OPERATORS_ONE_OPERAND_LIST_LENGTH 4
11#define OPERATORS_TWO_OPERAND_LIST_LENGTH 16
12#define REGISTER_MAP_LIST_LENGTH 120
13#define PSEUDO_REGISTER_MAP_LIST_LENGTH 16
14#define SEMANTIC_RULES_MAP_LIST_LENGTH 136
15#define THREEOPFUNC1_LENGTH 1
16#define THREEOPFUNC2_LENGTH 2
17#define TWOOPFUNC1_LENGTH 5
18#define TWOOPFUNC2_LENGTH 2
19#define ONEOPFUNC1_LENGTH 18
20#define ONEOPFUNC2_LENGTH 9
21#define ONEOPFUNC3_LENGTH 1
22#define TWOOPFUNC3_LENGTH 1
23#define THREEOPFUNC3_LENGTH 2
24#define THREEOPFUNC4_LENGTH 1
25#define ONEOPFUNC4_LENGTH 1
26#define TWOOPFUNC4_LENGTH 1
27#define ZEROOPFUNC1_LENGTH 7
28#define VARARGFUNC1_LENGTH 1
29#define VARIABLETYPE_LENGTH 10
30extern const struct _TOKEN Lhs[RULES_COUNT];
31extern const struct _TOKEN Rhs[RULES_COUNT][MAX_RHS_LEN];
32extern const unsigned int RhsSize[RULES_COUNT];
33extern const char* NoneTerminalMap[NONETERMINAL_COUNT];
34extern const char* TerminalMap[TERMINAL_COUNT];
36extern const char* KeywordList[];
37extern const char* OperatorsTwoOperandList[];
38extern const char* OperatorsOneOperandList[];
39extern const char* ThreeOpFunc1[];
40extern const char* ThreeOpFunc2[];
41extern const char* TwoOpFunc1[];
42extern const char* TwoOpFunc2[];
43extern const char* OneOpFunc1[];
44extern const char* OneOpFunc2[];
45extern const char* OneOpFunc3[];
46extern const char* TwoOpFunc3[];
47extern const char* ThreeOpFunc3[];
48extern const char* ThreeOpFunc4[];
49extern const char* OneOpFunc4[];
50extern const char* TwoOpFunc4[];
51extern const char* ZeroOpFunc1[];
52extern const char* VarArgFunc1[];
53extern const char* VARIABLETYPE[];
54extern const SYMBOL_MAP SemanticRulesMapList[];
55extern const SYMBOL_MAP RegisterMapList[];
57
58
59#define LALR_RULES_COUNT 87
60#define LALR_TERMINAL_COUNT 65
61#define LALR_NONTERMINAL_COUNT 19
62#define LALR_MAX_RHS_LEN 9
63#define LALR_STATE_COUNT 242
64extern const struct _TOKEN LalrLhs[RULES_COUNT];
65extern const struct _TOKEN LalrRhs[RULES_COUNT][MAX_RHS_LEN];
66extern const unsigned int LalrRhsSize[RULES_COUNT];
67extern const char* LalrNoneTerminalMap[NONETERMINAL_COUNT];
68extern const char* LalrTerminalMap[TERMINAL_COUNT];
71extern const struct _TOKEN LalrSemanticRules[RULES_COUNT];
72#endif
const struct _TOKEN Lhs[RULES_COUNT]
Definition parse-table.c:2
const struct _TOKEN LalrRhs[RULES_COUNT][MAX_RHS_LEN]
Definition parse-table.c:1418
const char * ThreeOpFunc1[]
Definition parse-table.c:958
const char * OneOpFunc2[]
Definition parse-table.c:996
const SYMBOL_MAP SemanticRulesMapList[]
Definition parse-table.c:1050
const struct _TOKEN Rhs[RULES_COUNT][MAX_RHS_LEN]
Definition parse-table.c:211
const char * VARIABLETYPE[]
Definition parse-table.c:1038
const struct _TOKEN LalrLhs[RULES_COUNT]
Definition parse-table.c:1328
#define LALR_TERMINAL_COUNT
Definition parse-table.h:60
#define RULES_COUNT
Definition parse-table.h:4
const unsigned int RhsSize[RULES_COUNT]
Definition parse-table.c:420
const SYMBOL_MAP PseudoRegisterMapList[]
Definition parse-table.c:1310
const int LalrGotoTable[LALR_STATE_COUNT][LALR_NONTERMINAL_COUNT]
Definition parse-table.c:1688
const int LalrActionTable[LALR_STATE_COUNT][LALR_TERMINAL_COUNT]
Definition parse-table.c:1933
#define NONETERMINAL_COUNT
Definition parse-table.h:6
const char * TwoOpFunc2[]
Definition parse-table.c:972
const char * OneOpFunc3[]
Definition parse-table.c:1007
const struct _TOKEN LalrSemanticRules[RULES_COUNT]
Definition parse-table.c:2178
const char * TwoOpFunc4[]
Definition parse-table.c:1023
const char * VarArgFunc1[]
Definition parse-table.c:1035
const char * ZeroOpFunc1[]
Definition parse-table.c:1026
const char * LalrTerminalMap[TERMINAL_COUNT]
Definition parse-table.c:1620
#define MAX_RHS_LEN
Definition parse-table.h:8
const unsigned int LalrRhsSize[RULES_COUNT]
Definition parse-table.c:1508
const char * TwoOpFunc1[]
Definition parse-table.c:965
#define LALR_STATE_COUNT
Definition parse-table.h:63
const char * ThreeOpFunc2[]
Definition parse-table.c:961
const char * TwoOpFunc3[]
Definition parse-table.c:1010
const char * OneOpFunc4[]
Definition parse-table.c:1020
const char * ThreeOpFunc3[]
Definition parse-table.c:1013
#define LALR_NONTERMINAL_COUNT
Definition parse-table.h:61
const char * OperatorsTwoOperandList[]
Definition parse-table.c:934
const char * LalrNoneTerminalMap[NONETERMINAL_COUNT]
Definition parse-table.c:1598
const SYMBOL_MAP RegisterMapList[]
Definition parse-table.c:1188
#define TERMINAL_COUNT
Definition parse-table.h:5
const char * TerminalMap[TERMINAL_COUNT]
Definition parse-table.c:681
const char * OneOpFunc1[]
Definition parse-table.c:976
const char * NoneTerminalMap[NONETERMINAL_COUNT]
Definition parse-table.c:629
const int ParseTable[NONETERMINAL_COUNT][TERMINAL_COUNT]
Definition parse-table.c:787
const char * OperatorsOneOperandList[]
Definition parse-table.c:952
const char * KeywordList[]
Definition parse-table.c:839
const char * ThreeOpFunc4[]
Definition parse-table.c:1017
read tokens from input stored in this structure
Definition common.h:72
Definition ScriptEngineCommonDefinitions.h:29