Searched refs:NT_OFFSET (Results 1 – 18 of 18) sorted by relevance
70 #define NT_OFFSET 256 macro72 #define ISTERMINAL(x) ((x) < NT_OFFSET)73 #define ISNONTERMINAL(x) ((x) >= NT_OFFSET)
67 NT_OFFSET = 256 variable77 return x < NT_OFFSET80 return x >= NT_OFFSET
70 NT_OFFSET = 256 variable80 return x < NT_OFFSET83 return x >= NT_OFFSET
74 #define NT_OFFSET 256 macro78 #define ISTERMINAL(x) ((x) < NT_OFFSET)79 #define ISNONTERMINAL(x) ((x) >= NT_OFFSET)
72 NT_OFFSET = 256 variable130 return x < NT_OFFSET133 return x >= NT_OFFSET
65 NT_OFFSET = 256 variable76 return x < NT_OFFSET79 return x >= NT_OFFSET
10 NT_OFFSET = 256 variable100 NT_OFFSET259 NT_OFFSET,
88 if (type - NT_OFFSET >= (1 << 7)) { in fixstate()97 ((type - NT_OFFSET) << 8); in fixstate()
14 const dfa *d = &g->g_dfa[type - NT_OFFSET]; in PyGrammar_FindDFA()
262 int nt = (x >> 8) + NT_OFFSET; in PyParser_AddToken()
90 if (type - NT_OFFSET >= (1 << 7)) { in fixstate()99 ((type - NT_OFFSET) << 8); in fixstate()
17 d = &g->g_dfa[type - NT_OFFSET]; in PyGrammar_FindDFA()
248 int nt = (x >> 8) + NT_OFFSET; in PyParser_AddToken()
82 static int type = NT_OFFSET; /* All types will be disjunct */ in newnfa()
650 type -= NT_OFFSET; in validate_node()663 if ((ch_type >= NT_OFFSET + _PyParser_Grammar.g_ndfas) in validate_node()705 _PyParser_Grammar.g_dfa[next_type - NT_OFFSET].d_name, in validate_node()707 _PyParser_Grammar.g_dfa[ch_type - NT_OFFSET].d_name); in validate_node()
100 NT_OFFSET
218 .. data:: NT_OFFSET
222 if node_type >= token.NT_OFFSET: