Searched refs:NT_OFFSET (Results 1 – 12 of 12) sorted by relevance
70 #define NT_OFFSET 256 macro72 #define ISTERMINAL(x) ((x) < NT_OFFSET)73 #define ISNONTERMINAL(x) ((x) >= NT_OFFSET)
66 NT_OFFSET = 256 variable76 return x < NT_OFFSET79 return x >= NT_OFFSET
65 NT_OFFSET = 256 variable76 return x < NT_OFFSET79 return x >= NT_OFFSET
67 NT_OFFSET = 256 variable78 return x < NT_OFFSET81 return x >= NT_OFFSET
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()