
# parsetab.py
# This file is automatically generated. Do not edit.
# pylint: disable=W,C,R
_tabversion = '3.10'

_lr_method = 'LALR'

_lr_signature = 'BUILTIN BYTE_ORDER COUNT NAME\n    statement : variable\n    statement : byte_order\n    \n    variable : BUILTIN NAME\n    variable : BUILTIN COUNT NAME\n    \n    variable : NAME NAME\n    variable : NAME COUNT NAME\n    \n    byte_order : BYTE_ORDER\n    '
    
_lr_action_items = {'BUILTIN':([0,],[4,]),'NAME':([0,4,5,8,10,],[5,7,9,11,12,]),'BYTE_ORDER':([0,],[6,]),'$end':([1,2,3,6,7,9,11,12,],[0,-1,-2,-7,-3,-5,-4,-6,]),'COUNT':([4,5,],[8,10,]),}

_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 = {'statement':([0,],[1,]),'variable':([0,],[2,]),'byte_order':([0,],[3,]),}

_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' -> statement","S'",1,None,None,None),
  ('statement -> variable','statement',1,'p_statement','cgrr.py',83),
  ('statement -> byte_order','statement',1,'p_statement','cgrr.py',84),
  ('variable -> BUILTIN NAME','variable',2,'p_builtin_variable','cgrr.py',90),
  ('variable -> BUILTIN COUNT NAME','variable',3,'p_builtin_variable','cgrr.py',91),
  ('variable -> NAME NAME','variable',2,'p_userdef_variable','cgrr.py',100),
  ('variable -> NAME COUNT NAME','variable',3,'p_userdef_variable','cgrr.py',101),
  ('byte_order -> BYTE_ORDER','byte_order',1,'p_byteorder','cgrr.py',110),
]
