Source

sass_parser / parsetab.py

Full commit

# parsetab.py
# This file is automatically generated. Do not edit.
_tabversion = '3.2'

_lr_method = 'LALR'

_lr_signature = 'dK\xfb\x87\xcc\rj\x9f\xbc\x8bf\x91\xec\xce\x978'
    
_lr_action_items = {'SEMICOLON':([1,2,5,7,9,13,17,18,],[-11,-15,13,13,-13,-10,-12,-14,]),'VALUE':([0,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,],[2,-11,-15,2,9,-4,-3,-2,-1,-13,2,2,18,-10,2,-8,2,9,-14,-5,2,-9,2,-7,2,-6,]),'OPEN_BRACE':([2,4,9,11,17,18,],[-15,10,-13,16,22,-14,]),'COMMA':([2,4,9,17,18,],[-15,12,-13,12,-14,]),'CLOSE_BRACE':([1,2,5,6,7,8,9,10,13,14,15,16,17,18,19,20,21,23,24,25,],[-11,-15,-4,-3,-2,-1,-13,15,-10,19,-8,21,-12,-14,-5,23,-9,-7,25,-6,]),'COLON':([2,4,9,18,],[-15,11,-13,-14,]),'$end':([1,2,3,5,6,7,8,9,13,15,17,18,19,21,23,25,],[-11,-15,0,-4,-3,-2,-1,-13,-10,-8,-12,-14,-5,-9,-7,-6,]),}

_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 = {'definitions':([0,3,10,14,16,20,22,24,],[5,7,5,7,5,7,5,7,]),'stylesheet':([0,10,16,22,],[3,14,20,24,]),'values':([0,3,10,11,14,16,20,22,24,],[4,4,4,17,4,4,4,4,4,]),'block':([0,3,10,14,16,20,22,24,],[6,8,6,8,6,8,6,8,]),'definition':([0,3,10,14,16,20,22,24,],[1,1,1,1,1,1,1,1,]),}

_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' -> stylesheet","S'",1,None,None,None),
  ('stylesheet -> stylesheet block','stylesheet',2,'p_stylesheet','sass_parser.py',12),
  ('stylesheet -> stylesheet definitions','stylesheet',2,'p_stylesheet','sass_parser.py',13),
  ('stylesheet -> block','stylesheet',1,'p_stylesheet','sass_parser.py',14),
  ('stylesheet -> definitions','stylesheet',1,'p_stylesheet','sass_parser.py',15),
  ('block -> values OPEN_BRACE stylesheet CLOSE_BRACE','block',4,'p_block_normal','sass_parser.py',25),
  ('block -> values COLON values OPEN_BRACE stylesheet CLOSE_BRACE','block',6,'p_block_colonand','sass_parser.py',31),
  ('block -> values COLON OPEN_BRACE stylesheet CLOSE_BRACE','block',5,'p_block_colon','sass_parser.py',37),
  ('block -> values OPEN_BRACE CLOSE_BRACE','block',3,'p_block_empty','sass_parser.py',43),
  ('block -> values COLON OPEN_BRACE CLOSE_BRACE','block',4,'p_block_empty','sass_parser.py',44),
  ('definitions -> definitions SEMICOLON','definitions',2,'p_definitions','sass_parser.py',50),
  ('definitions -> definition','definitions',1,'p_definitions','sass_parser.py',51),
  ('definition -> values COLON values','definition',3,'p_definition','sass_parser.py',57),
  ('values -> values VALUE','values',2,'p_values_n','sass_parser.py',63),
  ('values -> values COMMA VALUE','values',3,'p_values_comma','sass_parser.py',67),
  ('values -> VALUE','values',1,'p_values_u','sass_parser.py',71),
]