
# astropy/units/format/cds_parsetab.py
# This file is automatically generated. Do not edit.
_tabversion = '3.2'

_lr_method = 'LALR'

_lr_signature = '\xce\xb7\xd3.\x0b\x17\xaf\xf6\x1f\x9dSy\x1f\xee\xbd\x1a'
    
_lr_action_items = {u'DIVISION':([0,4,6,9,10,11,12,13,17,18,20,23,26,27,29,31,32,35,36,],[1,-9,-15,1,-14,-17,1,26,-23,-22,-13,-16,1,1,-10,-21,-18,-11,-12,]),u'PRODUCT':([4,11,13,23,29,32,],[-9,-17,27,-16,-10,-18,]),u'SIGN':([0,10,11,28,30,],[5,22,5,22,22,]),u'OPEN_PAREN':([0,1,6,9,10,12,17,18,20,26,27,31,35,36,],[9,9,-15,9,-14,9,-23,-22,-13,9,9,-21,-11,-12,]),u'UINT':([0,5,7,11,16,21,22,24,],[10,-19,18,-20,28,30,31,32,]),u'CLOSE_PAREN':([2,4,8,11,13,15,19,23,29,32,33,34,],[-4,-9,-3,-17,-6,-7,29,-16,-10,-18,-8,-5,]),u'X':([6,10,17,18,],[16,21,-23,-22,]),'$end':([2,3,4,8,11,13,14,15,23,25,29,32,33,34,],[-4,0,-9,-3,-17,-6,-2,-7,-16,-1,-10,-18,-8,-5,]),u'UNIT':([0,1,6,9,10,12,17,18,20,26,27,31,35,36,],[11,11,-15,11,-14,11,-23,-22,-13,11,11,-21,-11,-12,]),u'UFLOAT':([0,5,7,],[-20,-19,17,]),}

_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 = {u'division_of_units':([0,9,12,26,27,],[2,2,2,2,2,]),u'main':([0,],[3,]),u'unit_with_power':([0,1,9,12,26,27,],[4,4,4,4,4,4,]),u'signed_float':([0,],[6,]),u'sign':([0,11,],[7,24,]),u'product_of_units':([0,9,12,26,27,],[8,8,8,8,8,]),u'signed_int':([10,28,30,],[20,35,36,]),u'factor':([0,],[12,]),u'unit_expression':([0,1,9,12,26,27,],[13,15,13,13,13,13,]),u'numeric_power':([11,],[23,]),u'combined_units':([0,9,12,26,27,],[14,19,25,33,34,]),}

_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' -> main","S'",1,None,None,None),
  (u'main -> factor combined_units',u'main',2,'p_main','astropy/units/format/cds.py',145),
  (u'main -> combined_units',u'main',1,'p_main','astropy/units/format/cds.py',146),
  (u'combined_units -> product_of_units',u'combined_units',1,'p_combined_units','astropy/units/format/cds.py',156),
  (u'combined_units -> division_of_units',u'combined_units',1,'p_combined_units','astropy/units/format/cds.py',157),
  (u'product_of_units -> unit_expression PRODUCT combined_units',u'product_of_units',3,'p_product_of_units','astropy/units/format/cds.py',163),
  (u'product_of_units -> unit_expression',u'product_of_units',1,'p_product_of_units','astropy/units/format/cds.py',164),
  (u'division_of_units -> DIVISION unit_expression',u'division_of_units',2,'p_division_of_units','astropy/units/format/cds.py',173),
  (u'division_of_units -> unit_expression DIVISION combined_units',u'division_of_units',3,'p_division_of_units','astropy/units/format/cds.py',174),
  (u'unit_expression -> unit_with_power',u'unit_expression',1,'p_unit_expression','astropy/units/format/cds.py',183),
  (u'unit_expression -> OPEN_PAREN combined_units CLOSE_PAREN',u'unit_expression',3,'p_unit_expression','astropy/units/format/cds.py',184),
  (u'factor -> signed_float X UINT signed_int',u'factor',4,'p_factor','astropy/units/format/cds.py',193),
  (u'factor -> UINT X UINT signed_int',u'factor',4,'p_factor','astropy/units/format/cds.py',194),
  (u'factor -> UINT signed_int',u'factor',2,'p_factor','astropy/units/format/cds.py',195),
  (u'factor -> UINT',u'factor',1,'p_factor','astropy/units/format/cds.py',196),
  (u'factor -> signed_float',u'factor',1,'p_factor','astropy/units/format/cds.py',197),
  (u'unit_with_power -> UNIT numeric_power',u'unit_with_power',2,'p_unit_with_power','astropy/units/format/cds.py',214),
  (u'unit_with_power -> UNIT',u'unit_with_power',1,'p_unit_with_power','astropy/units/format/cds.py',215),
  (u'numeric_power -> sign UINT',u'numeric_power',2,'p_numeric_power','astropy/units/format/cds.py',224),
  (u'sign -> SIGN',u'sign',1,'p_sign','astropy/units/format/cds.py',230),
  (u'sign -> <empty>',u'sign',0,'p_sign','astropy/units/format/cds.py',231),
  (u'signed_int -> SIGN UINT',u'signed_int',2,'p_signed_int','astropy/units/format/cds.py',240),
  (u'signed_float -> sign UINT',u'signed_float',2,'p_signed_float','astropy/units/format/cds.py',246),
  (u'signed_float -> sign UFLOAT',u'signed_float',2,'p_signed_float','astropy/units/format/cds.py',247),
]
