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

_lr_method = 'LALR'

_lr_signature = b'\xaf\x8a\xa3"D\x0eX\x91\x88R\t\xbe\t\x92\x86\xd7'
    
_lr_action_items = {'AT':([8,14,16,17,21,24,30,35,39,40,44,47,],[-23,26,26,26,-22,26,26,-7,26,26,-6,-8,]),'PERC_LBRACE':([0,1,2,4,6,7,8,10,12,14,16,21,23,24,27,30,31,35,37,40,44,46,47,],[5,5,5,5,-10,5,-23,5,-12,5,5,-22,-11,5,5,5,-13,-7,-9,5,-6,-14,-8,]),'$end':([0,1,2,3,6,7,8,9,10,11,12,13,20,21,22,23,31,35,37,44,46,47,],[-24,-24,-24,0,-10,-24,-23,-5,-24,-1,-12,-3,-2,-22,-4,-11,-13,-7,-9,-6,-14,-8,]),'PIPE':([6,8,12,21,23,],[19,-23,-12,-22,-11,]),'COLON':([8,14,17,21,],[-23,27,33,-22,]),'PLAINTEXT':([0,1,2,4,5,6,7,8,10,12,14,16,19,21,23,24,26,27,30,31,33,35,37,40,44,46,47,],[8,8,8,8,8,-10,8,8,8,8,8,8,8,-22,-11,8,8,8,8,-13,8,-7,-9,8,-6,-14,-8,]),'RBRACE':([6,8,12,14,15,16,17,18,21,23,24,25,28,29,30,32,34,35,37,38,39,40,41,42,43,44,45,47,],[-10,-23,-12,-24,31,-24,-24,35,-22,-11,-24,-19,-15,-21,-24,-16,44,-7,-9,-17,-24,-24,46,-18,47,-6,-20,-8,]),'QUESTION':([1,8,17,21,36,],[12,-23,12,-22,12,]),'DOL_LBRACE':([0,1,2,6,7,8,10,12,21,23,31,35,37,44,46,47,],[4,4,4,-10,4,-23,4,-12,-22,-11,-13,-7,-9,-6,-14,-8,]),}

_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 = {'plaintext':([0,1,2,4,5,7,8,10,12,14,16,19,24,26,27,30,33,40,],[1,1,1,14,17,1,21,1,23,24,24,36,24,39,40,24,36,24,]),'empty':([0,1,2,7,10,14,16,17,24,30,39,40,],[9,9,9,9,9,29,29,29,29,29,29,29,]),'variant':([0,1,2,5,7,10,19,33,],[6,6,6,6,6,6,6,6,]),'decorators':([14,16,17,24,30,39,40,],[25,25,34,25,25,45,25,]),'inner_tag_cont':([14,16,24,30,40,],[28,32,38,42,28,]),'variants':([0,1,2,5,7,10,19,33,],[7,7,7,18,7,7,37,43,]),'inner_tag':([0,1,2,7,10,],[2,2,2,2,2,]),'expression':([0,1,2,7,10,],[3,11,13,20,22,]),'inner_tag_name':([4,27,],[15,41,]),'pholder_tag':([0,1,2,4,7,10,14,16,24,27,30,40,],[10,10,10,16,10,10,30,30,30,16,30,30,]),}

_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' -> expression","S'",1,None,None,None),
  ('expression -> plaintext expression','expression',2,'p_expression','/home/alek/PycharmProjects/pyslate/pyslate/parser.py',100),
  ('expression -> variants expression','expression',2,'p_expression','/home/alek/PycharmProjects/pyslate/pyslate/parser.py',101),
  ('expression -> inner_tag expression','expression',2,'p_expression','/home/alek/PycharmProjects/pyslate/pyslate/parser.py',102),
  ('expression -> pholder_tag expression','expression',2,'p_expression','/home/alek/PycharmProjects/pyslate/pyslate/parser.py',103),
  ('expression -> empty','expression',1,'p_expression','/home/alek/PycharmProjects/pyslate/pyslate/parser.py',104),
  ('pholder_tag -> PERC_LBRACE plaintext decorators RBRACE','pholder_tag',4,'p_pholder_tag','/home/alek/PycharmProjects/pyslate/pyslate/parser.py',111),
  ('pholder_tag -> PERC_LBRACE variants RBRACE','pholder_tag',3,'p_variants_tag','/home/alek/PycharmProjects/pyslate/pyslate/parser.py',115),
  ('pholder_tag -> PERC_LBRACE plaintext COLON variants RBRACE','pholder_tag',5,'p_variants_tag','/home/alek/PycharmProjects/pyslate/pyslate/parser.py',116),
  ('variants -> variant PIPE variants','variants',3,'p_variants_variant_next','/home/alek/PycharmProjects/pyslate/pyslate/parser.py',123),
  ('variants -> variant','variants',1,'p_variants_variant_next','/home/alek/PycharmProjects/pyslate/pyslate/parser.py',124),
  ('variant -> plaintext QUESTION plaintext','variant',3,'p_variants_variant_last','/home/alek/PycharmProjects/pyslate/pyslate/parser.py',131),
  ('variant -> plaintext QUESTION','variant',2,'p_variants_variant_part_next','/home/alek/PycharmProjects/pyslate/pyslate/parser.py',136),
  ('inner_tag -> DOL_LBRACE inner_tag_name RBRACE','inner_tag',3,'p_inner_tag','/home/alek/PycharmProjects/pyslate/pyslate/parser.py',141),
  ('inner_tag -> DOL_LBRACE plaintext COLON inner_tag_name RBRACE','inner_tag',5,'p_inner_tag','/home/alek/PycharmProjects/pyslate/pyslate/parser.py',142),
  ('inner_tag_name -> plaintext inner_tag_cont','inner_tag_name',2,'p_inner_tag_name','/home/alek/PycharmProjects/pyslate/pyslate/parser.py',149),
  ('inner_tag_name -> pholder_tag inner_tag_cont','inner_tag_name',2,'p_inner_tag_name','/home/alek/PycharmProjects/pyslate/pyslate/parser.py',150),
  ('inner_tag_cont -> plaintext inner_tag_cont','inner_tag_cont',2,'p_inner_tag_cont','/home/alek/PycharmProjects/pyslate/pyslate/parser.py',154),
  ('inner_tag_cont -> pholder_tag inner_tag_cont','inner_tag_cont',2,'p_inner_tag_cont','/home/alek/PycharmProjects/pyslate/pyslate/parser.py',155),
  ('inner_tag_cont -> decorators','inner_tag_cont',1,'p_inner_tag_cont','/home/alek/PycharmProjects/pyslate/pyslate/parser.py',156),
  ('decorators -> AT plaintext decorators','decorators',3,'p_decorators','/home/alek/PycharmProjects/pyslate/pyslate/parser.py',163),
  ('decorators -> empty','decorators',1,'p_decorators','/home/alek/PycharmProjects/pyslate/pyslate/parser.py',164),
  ('plaintext -> PLAINTEXT plaintext','plaintext',2,'p_plaintext','/home/alek/PycharmProjects/pyslate/pyslate/parser.py',171),
  ('plaintext -> PLAINTEXT','plaintext',1,'p_plaintext','/home/alek/PycharmProjects/pyslate/pyslate/parser.py',172),
  ('empty -> <empty>','empty',0,'p_empty','/home/alek/PycharmProjects/pyslate/pyslate/parser.py',178),
]
