-
Notifications
You must be signed in to change notification settings - Fork 1
/
parsetab.py
40 lines (33 loc) · 2.27 KB
/
parsetab.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# parsetab.py
# This file is automatically generated. Do not edit.
_tabversion = '3.2'
_lr_method = 'LALR'
_lr_signature = b'.\x91\xf4\x02\x83e\xe1\x9c\x8f\x0c\x82@\xe0\x94l\xd1'
_lr_action_items = {'CODE':([0,1,2,3,4,5,6,7,8,9,10,11,],[7,-7,-5,-10,7,-6,-4,-8,-11,-1,-9,-2,]),'HTML':([0,1,2,3,4,5,6,7,8,9,10,11,],[8,-7,-5,-10,8,-6,-4,-8,-11,-1,-9,-2,]),'$end':([0,1,2,3,4,5,6,7,8,9,10,11,],[-3,-7,-5,-10,0,-6,-4,-8,-11,-1,-9,-2,]),'INCLUDE':([0,1,2,3,4,5,6,7,8,9,10,11,],[10,-7,-5,-10,10,-6,-4,-8,-11,-1,-9,-2,]),'BINDING':([0,1,2,3,4,5,6,7,8,9,10,11,],[3,-7,-5,-10,3,-6,-4,-8,-11,-1,-9,-2,]),}
_lr_action = { }
for _k, _v in _lr_action_items.items():
for _x,_y in zip(_v[0],_v[1]):
if not _x in _lr_action: _lr_action[_x] = { }
_lr_action[_x][_k] = _y
del _lr_action_items
_lr_goto_items = {'include':([0,4,],[1,1,]),'html':([0,4,],[2,2,]),'statementlist':([0,],[4,]),'binding':([0,4,],[5,5,]),'code':([0,4,],[6,6,]),'statement':([0,4,],[9,11,]),}
_lr_goto = { }
for _k, _v in _lr_goto_items.items():
for _x,_y in zip(_v[0],_v[1]):
if not _x in _lr_goto: _lr_goto[_x] = { }
_lr_goto[_x][_k] = _y
del _lr_goto_items
_lr_productions = [
("S' -> statementlist","S'",1,None,None,None),
('statementlist -> statement','statementlist',1,'p_statementlist','c:\\dev\\github\\cserver\\cs_parse.py',24),
('statementlist -> statementlist statement','statementlist',2,'p_statementlist','c:\\dev\\github\\cserver\\cs_parse.py',25),
('statementlist -> <empty>','statementlist',0,'p_statementlist','c:\\dev\\github\\cserver\\cs_parse.py',26),
('statement -> code','statement',1,'p_statement','c:\\dev\\github\\cserver\\cs_parse.py',39),
('statement -> html','statement',1,'p_statement','c:\\dev\\github\\cserver\\cs_parse.py',40),
('statement -> binding','statement',1,'p_statement','c:\\dev\\github\\cserver\\cs_parse.py',41),
('statement -> include','statement',1,'p_statement','c:\\dev\\github\\cserver\\cs_parse.py',42),
('code -> CODE','code',1,'p_code','c:\\dev\\github\\cserver\\cs_parse.py',47),
('include -> INCLUDE','include',1,'p_include','c:\\dev\\github\\cserver\\cs_parse.py',52),
('binding -> BINDING','binding',1,'p_binding','c:\\dev\\github\\cserver\\cs_parse.py',57),
('html -> HTML','html',1,'p_html','c:\\dev\\github\\cserver\\cs_parse.py',68),
]