
# 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 = {'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,]),'PRODUCT':([4,11,13,23,29,32,],[-9,-17,27,-16,-10,-18,]),'SIGN':([0,10,11,28,30,],[5,22,5,22,22,]),'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,]),'UINT':([0,5,7,11,16,21,22,24,],[10,-19,18,-20,28,30,31,32,]),'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,]),'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,]),'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,]),'UFLOAT':([0,5,7,],[-20,-19,17,]),}

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

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