/* The following code was generated by JFlex 1.4.1 on 6/7/09 3:21 PM */

package metalexer;
//TODO-AC: many of the catchall errors are recoverable - either return a bad token which will be discarded or just discard and make a note.
//based on http://jflex.de/manual.html

import static metalexer.ComponentParser.Terminals.*;
import beaver.Symbol;
import beaver.Scanner;

/**
 * This class is a scanner generated by 
 * <a href="http://www.jflex.de/">JFlex</a> 1.4.1
 * on 6/7/09 3:21 PM from the specification file
 * <tt>/Users/amcasey/Research/metalexer/permgen/jflex/component.flex</tt>
 */
public final class ComponentScanner extends Scanner {

  /** This character denotes the end of file */
  public static final int YYEOF = -1;

  /** initial size of the lookahead buffer */
  private static final int ZZ_BUFFERSIZE = 16384;

  /** lexical states */
  public static final int repetition_spec_YYINITIAL_STATE = 17;
  public static final int string_YYINITIAL_STATE = 20;
  public static final int EXTRA_RETURN = 1;
  public static final int string_id_directive_YYINITIAL_STATE = 19;
  public static final int action_YYINITIAL_STATE = 2;
  public static final int init_region_YYINITIAL_STATE = 12;
  public static final int comp_options_YYINITIAL_STATE = 8;
  public static final int char_class_YYINITIAL_STATE = 7;
  public static final int append_region_YYINITIAL_STATE = 4;
  public static final int mtok_decl_YYINITIAL_STATE = 15;
  public static final int delete_directive_YYINITIAL_STATE = 11;
  public static final int decl_region_YYINITIAL_STATE = 10;
  public static final int append_delim_region_YYINITIAL_STATE = 3;
  public static final int comp_rules_YYINITIAL_STATE = 9;
  public static final int base_YYINITIAL_STATE = 5;
  public static final int macro_defn_YYINITIAL_STATE = 13;
  public static final int state_list_YYINITIAL_STATE = 18;
  public static final int macro_invoc_YYINITIAL_STATE = 14;
  public static final int YYINITIAL = 0;
  public static final int open_rule_group_YYINITIAL_STATE = 16;
  public static final int bracket_comment_YYINITIAL_STATE = 6;

  /** 
   * Translates characters to character classes
   */
  private static final String ZZ_CMAP_PACKED = 
    "\11\0\1\40\1\35\1\0\1\40\1\37\22\0\1\40\1\64\1\46"+
    "\1\0\1\63\1\3\2\0\1\60\1\61\1\23\1\66\1\44\1\52"+
    "\1\50\1\22\1\45\3\32\4\33\2\24\1\1\1\0\1\43\1\70"+
    "\1\47\1\67\1\0\1\71\2\25\1\17\1\74\1\76\7\41\1\72"+
    "\1\75\3\41\1\15\3\41\1\11\1\41\1\73\1\41\1\62\1\26"+
    "\1\53\1\51\1\42\1\0\1\4\1\27\1\54\1\10\1\6\1\27"+
    "\1\41\1\14\1\12\2\41\1\20\1\21\1\7\1\55\1\5\1\41"+
    "\1\16\1\56\1\13\1\31\1\41\1\57\1\30\2\41\1\36\1\34"+
    "\1\2\1\65\uff81\0";

  /** 
   * Translates characters to character classes
   */
  private static final char [] ZZ_CMAP = zzUnpackCMap(ZZ_CMAP_PACKED);

  /** 
   * Translates DFA states to action switch labels.
   */
  private static final int [] ZZ_ACTION = zzUnpackAction();

  private static final String ZZ_ACTION_PACKED_0 =
    "\25\0\1\1\3\2\2\3\2\4\1\5\3\6\1\7"+
    "\1\10\1\11\1\12\1\13\1\14\1\15\1\16\1\14"+
    "\2\17\1\20\1\21\1\22\1\21\1\23\1\24\1\25"+
    "\1\26\1\27\1\30\1\27\1\31\1\32\1\33\1\30"+
    "\1\34\1\35\1\36\1\37\1\40\1\41\1\42\1\43"+
    "\1\44\1\45\1\46\1\47\1\50\2\51\1\52\1\53"+
    "\1\54\1\55\1\56\1\57\1\60\1\53\1\60\1\61"+
    "\1\62\1\63\1\64\1\65\1\66\1\67\1\70\1\71"+
    "\1\72\1\73\1\74\1\75\1\76\1\77\1\100\2\101"+
    "\1\102\1\103\1\104\1\105\1\106\1\107\1\110\1\103"+
    "\1\110\1\111\1\103\1\112\1\113\1\114\1\115\1\116"+
    "\1\117\1\120\1\121\1\122\1\123\1\124\1\125\1\126"+
    "\1\127\1\130\1\131\1\132\2\133\1\134\1\135\1\136"+
    "\1\135\2\137\1\140\2\141\1\142\1\143\1\142\1\144"+
    "\1\145\1\146\1\147\2\150\1\151\1\152\1\147\1\153"+
    "\1\154\1\153\2\155\1\156\1\157\1\160\1\161\1\162"+
    "\1\161\2\163\1\164\1\165\1\166\1\167\1\170\2\171"+
    "\1\172\1\173\5\0\1\174\1\175\1\176\1\177\2\176"+
    "\2\177\1\200\6\0\1\201\2\0\1\202\1\203\1\204"+
    "\2\0\1\205\1\206\1\207\1\210\2\207\2\210\1\211"+
    "\5\0\1\212\1\0\1\213\1\214\1\215\1\216\2\215"+
    "\2\216\7\0\1\217\1\220\1\221\1\222\2\221\2\222"+
    "\5\0\1\223\1\224\1\225\1\226\1\227\1\230\1\0"+
    "\1\231\1\232\1\233\1\234\2\233\2\234\1\235\5\0"+
    "\1\177\14\0\1\210\1\236\1\0\1\237\3\0\1\240"+
    "\1\0\1\216\1\241\1\0\1\242\6\0\1\222\1\243"+
    "\1\0\1\244\3\0\1\245\1\0\1\234\4\0\1\177"+
    "\13\0\1\210\4\0\1\216\6\0\1\222\4\0\1\234"+
    "\4\0\1\177\14\0\1\210\2\0\1\216\4\0\1\222"+
    "\2\0\1\234\7\0\1\246\5\0\1\247\1\250\7\0"+
    "\1\251\7\0\1\252\1\0\1\253\1\254\1\0\1\255"+
    "\1\0\1\247\1\0\1\250\2\0\1\256\1\257\1\260"+
    "\1\261\1\262\1\263\1\264\1\265\3\0\1\266\1\0"+
    "\1\267\1\252\2\0\1\253\1\0\1\254\2\0\1\255"+
    "\3\0\1\256\3\0\1\270\2\0\1\271\1\0\1\272"+
    "\3\0\1\273\1\271\1\0\1\274\1\272\4\0\1\273"+
    "\1\0\1\274\40\0\1\275\1\276\1\277";

  private static int [] zzUnpackAction() {
    int [] result = new int[500];
    int offset = 0;
    offset = zzUnpackAction(ZZ_ACTION_PACKED_0, offset, result);
    return result;
  }

  private static int zzUnpackAction(String packed, int offset, int [] result) {
    int i = 0;       /* index in packed string  */
    int j = offset;  /* index in unpacked array */
    int l = packed.length();
    while (i < l) {
      int count = packed.charAt(i++);
      int value = packed.charAt(i++);
      do result[j++] = value; while (--count > 0);
    }
    return j;
  }


  /** 
   * Translates a state to a row index in the transition table
   */
  private static final int [] ZZ_ROWMAP = zzUnpackRowMap();

  private static final String ZZ_ROWMAP_PACKED_0 =
    "\0\0\0\77\0\176\0\275\0\374\0\u013b\0\u017a\0\u01b9"+
    "\0\u01f8\0\u0237\0\u0276\0\u02b5\0\u02f4\0\u0333\0\u0372\0\u03b1"+
    "\0\u03f0\0\u042f\0\u046e\0\u04ad\0\u04ec\0\0\0\0\0\u052b"+
    "\0\u056a\0\0\0\u05a9\0\0\0\u05e8\0\0\0\0\0\u0627"+
    "\0\u0666\0\0\0\u06a5\0\0\0\0\0\0\0\0\0\u06e4"+
    "\0\u0723\0\u0762\0\0\0\u07a1\0\0\0\0\0\0\0\u07e0"+
    "\0\u081f\0\0\0\u085e\0\0\0\0\0\u089d\0\u08dc\0\0"+
    "\0\u091b\0\0\0\0\0\0\0\0\0\0\0\0\0\0"+
    "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"+
    "\0\0\0\u095a\0\0\0\0\0\u0999\0\0\0\u09d8\0\0"+
    "\0\0\0\u0a17\0\u0a56\0\0\0\u0a95\0\0\0\0\0\0"+
    "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"+
    "\0\0\0\0\0\0\0\0\0\u0ad4\0\0\0\0\0\u0b13"+
    "\0\0\0\u0b52\0\0\0\0\0\u0b91\0\u0bd0\0\0\0\u0c0f"+
    "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"+
    "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"+
    "\0\u0c4e\0\0\0\u0c8d\0\0\0\0\0\u0ccc\0\u0d0b\0\0"+
    "\0\u0d4a\0\0\0\0\0\u0d89\0\0\0\0\0\u0dc8\0\0"+
    "\0\0\0\0\0\u0e07\0\0\0\u0e46\0\0\0\0\0\0"+
    "\0\0\0\u0e85\0\u0ec4\0\0\0\u0f03\0\0\0\0\0\0"+
    "\0\0\0\u0f42\0\u0f81\0\0\0\u0fc0\0\0\0\0\0\0"+
    "\0\0\0\u0fff\0\0\0\u103e\0\0\0\0\0\u107d\0\u10bc"+
    "\0\u10fb\0\u113a\0\u1179\0\0\0\0\0\0\0\0\0\u11b8"+
    "\0\u11f7\0\u1236\0\u1275\0\0\0\u12b4\0\u12f3\0\u1332\0\u1371"+
    "\0\u13b0\0\u13ef\0\0\0\u142e\0\u146d\0\u14ac\0\0\0\0"+
    "\0\u14eb\0\u152a\0\u1569\0\0\0\0\0\0\0\u15a8\0\u15e7"+
    "\0\u1626\0\u1665\0\0\0\u16a4\0\u16e3\0\u1722\0\u1761\0\u17a0"+
    "\0\0\0\u17df\0\u181e\0\0\0\0\0\0\0\u185d\0\u189c"+
    "\0\u18db\0\u191a\0\u1959\0\u1998\0\u0a17\0\u19d7\0\u1a16\0\u1a55"+
    "\0\u1a94\0\u1ad3\0\0\0\0\0\0\0\u1b12\0\u1b51\0\u1b90"+
    "\0\u1bcf\0\u1c0e\0\u1c4d\0\u0b91\0\u1c8c\0\u1ccb\0\u1d0a\0\0"+
    "\0\u1d49\0\0\0\u1d88\0\0\0\u1dc7\0\u1e06\0\0\0\0"+
    "\0\0\0\u1e45\0\u1e84\0\u1ec3\0\u1f02\0\0\0\u1f41\0\u1f80"+
    "\0\u1fbf\0\u1ffe\0\u203d\0\u207c\0\u20bb\0\u20fa\0\u2139\0\u2178"+
    "\0\u21b7\0\u21f6\0\u2235\0\u2274\0\u22b3\0\u22f2\0\u2331\0\u2370"+
    "\0\u23af\0\0\0\u23ee\0\0\0\u242d\0\u246c\0\u24ab\0\0"+
    "\0\u24ea\0\u2529\0\0\0\u2568\0\0\0\u25a7\0\u25e6\0\u2625"+
    "\0\u2664\0\u26a3\0\u26e2\0\u2721\0\0\0\u2760\0\0\0\u279f"+
    "\0\u27de\0\u281d\0\u285c\0\u289b\0\u28da\0\u2919\0\u2958\0\u2997"+
    "\0\u29d6\0\u2a15\0\u2a54\0\u2a93\0\u2ad2\0\u2b11\0\u2b50\0\u2b8f"+
    "\0\u2bce\0\u2c0d\0\u2c4c\0\u2c8b\0\u2cca\0\u2d09\0\u2d48\0\u2d87"+
    "\0\u2dc6\0\u2e05\0\u2e44\0\u2e83\0\u2ec2\0\u2f01\0\u2f40\0\u2f7f"+
    "\0\u2fbe\0\u2ffd\0\u303c\0\u307b\0\u30ba\0\u30f9\0\u3138\0\u3177"+
    "\0\u31b6\0\u31f5\0\u3234\0\u203d\0\u3273\0\u32b2\0\u32f1\0\u3330"+
    "\0\u336f\0\u33ae\0\u33ed\0\u342c\0\u346b\0\u34aa\0\u34e9\0\u3528"+
    "\0\u2370\0\u3567\0\u35a6\0\u24ea\0\u35e5\0\u3624\0\u3663\0\u36a2"+
    "\0\u26e2\0\u36e1\0\u3720\0\u289b\0\u375f\0\u379e\0\u37dd\0\u381c"+
    "\0\u385b\0\u389a\0\u38d9\0\0\0\u3918\0\u3957\0\u3996\0\u39d5"+
    "\0\u3a14\0\u3a53\0\u3a92\0\u3ad1\0\u3b10\0\u3b4f\0\u3b8e\0\u3bcd"+
    "\0\u3c0c\0\u3c4b\0\0\0\u3c8a\0\u3cc9\0\u3d08\0\u3d47\0\u3d86"+
    "\0\u3dc5\0\u3e04\0\u3e43\0\u3e82\0\u3ec1\0\u3f00\0\u3f3f\0\u3f7e"+
    "\0\u3fbd\0\u3ffc\0\u3ffc\0\u403b\0\u403b\0\u407a\0\u40b9\0\0"+
    "\0\0\0\0\0\0\0\0\0\0\0\0\0\u40f8\0\u4137"+
    "\0\u4176\0\0\0\u41b5\0\0\0\u41f4\0\u41f4\0\u4233\0\u4272"+
    "\0\u4272\0\u42b1\0\u42b1\0\u42f0\0\u432f\0\u432f\0\u436e\0\u43ad"+
    "\0\u43ec\0\u43ec\0\u442b\0\u446a\0\0\0\u44a9\0\u44e8\0\u4527"+
    "\0\u4566\0\u45a5\0\u45e4\0\u4623\0\u4662\0\u46a1\0\u46e0\0\u46e0"+
    "\0\u471f\0\u475e\0\u475e\0\u479d\0\u47dc\0\u481b\0\u485a\0\u485a"+
    "\0\u4899\0\u4899\0\u48d8\0\u4917\0\u4956\0\u4995\0\u49d4\0\u4a13"+
    "\0\u4a52\0\u4a91\0\u4ad0\0\u4b0f\0\u4b4e\0\u4b8d\0\u4bcc\0\u4c0b"+
    "\0\u4c4a\0\u4c89\0\u4cc8\0\u4d07\0\u4d46\0\u4d85\0\u4dc4\0\u4e03"+
    "\0\u4e42\0\u4e81\0\u4ec0\0\u4eff\0\u4f3e\0\u4f7d\0\u4fbc\0\u4ffb"+
    "\0\u503a\0\0\0\0\0\0";

  private static int [] zzUnpackRowMap() {
    int [] result = new int[500];
    int offset = 0;
    offset = zzUnpackRowMap(ZZ_ROWMAP_PACKED_0, offset, result);
    return result;
  }

  private static int zzUnpackRowMap(String packed, int offset, int [] result) {
    int i = 0;  /* index in packed string  */
    int j = offset;  /* index in unpacked array */
    int l = packed.length();
    while (i < l) {
      int high = packed.charAt(i++) << 16;
      result[j++] = high | packed.charAt(i++);
    }
    return j;
  }

  /** 
   * The transition table of the DFA
   */
  private static final int [] ZZ_TRANS = zzUnpackTrans();

  private static final String ZZ_TRANS_PACKED_0 =
    "\77\0\77\26\1\27\1\30\1\27\1\31\73\27\3\32"+
    "\1\33\73\32\3\34\1\35\73\34\77\36\22\37\1\40"+
    "\1\41\53\37\26\42\1\43\22\42\1\44\1\45\1\46"+
    "\23\42\3\47\1\50\16\51\1\52\2\47\1\51\1\47"+
    "\3\51\3\47\1\53\1\47\1\54\1\55\1\51\12\47"+
    "\4\51\11\47\6\51\2\56\1\57\1\60\16\56\1\61"+
    "\1\62\2\56\1\63\5\56\1\64\1\65\1\66\1\67"+
    "\1\70\2\56\1\71\2\56\1\72\1\73\1\74\1\75"+
    "\1\76\1\77\4\56\1\100\1\101\1\102\1\103\1\104"+
    "\1\105\1\106\1\107\1\110\6\56\3\111\1\112\73\111"+
    "\2\113\1\114\17\113\1\115\1\116\2\113\1\117\5\113"+
    "\1\120\1\121\1\122\1\123\1\124\2\113\1\125\2\113"+
    "\1\126\1\114\1\127\1\130\1\131\1\132\4\113\1\133"+
    "\1\134\1\135\1\136\1\137\1\140\1\141\1\142\1\143"+
    "\6\113\3\144\1\145\73\144\2\146\1\147\17\146\1\150"+
    "\1\151\2\146\1\152\5\146\1\153\1\154\1\155\1\156"+
    "\1\157\2\146\1\160\2\146\1\161\1\147\1\162\1\163"+
    "\1\164\1\165\4\146\1\166\1\167\1\170\1\171\1\172"+
    "\1\173\1\174\1\175\1\176\6\146\2\177\1\200\1\177"+
    "\16\201\3\177\1\201\1\177\3\201\3\177\1\202\1\177"+
    "\1\203\1\204\1\201\12\177\4\201\11\177\6\201\4\205"+
    "\16\206\1\207\2\205\1\206\1\205\3\206\3\205\1\210"+
    "\1\205\1\211\1\212\1\206\12\205\4\206\11\205\6\206"+
    "\22\213\1\214\12\213\1\215\1\216\1\217\1\220\36\213"+
    "\2\221\1\222\21\221\1\223\5\221\2\223\1\221\1\224"+
    "\1\221\1\225\1\226\3\221\1\227\1\230\31\221\4\231"+
    "\16\232\1\233\2\231\1\232\1\231\3\232\3\231\1\234"+
    "\1\231\1\235\1\236\1\232\2\231\1\237\2\231\1\240"+
    "\4\231\4\232\11\231\6\232\4\241\16\242\1\243\2\241"+
    "\1\242\1\241\3\242\3\241\1\244\1\241\1\245\1\246"+
    "\1\242\2\241\1\247\1\241\1\250\5\241\4\242\11\241"+
    "\6\242\26\251\1\252\6\251\1\253\1\251\1\254\6\251"+
    "\1\255\30\251\2\0\1\256\75\0\1\257\100\0\1\260"+
    "\1\261\75\0\1\262\1\263\115\0\1\264\75\0\1\265"+
    "\54\0\2\266\1\267\4\266\1\267\3\266\1\267\2\266"+
    "\1\267\3\266\2\267\2\266\2\267\1\270\1\271\1\272"+
    "\1\273\1\267\1\266\1\267\4\266\1\267\1\266\1\272"+
    "\6\267\4\266\10\267\7\266\3\0\1\274\1\275\1\0"+
    "\1\276\3\0\1\277\1\0\1\300\3\0\1\301\7\0"+
    "\1\302\5\0\1\303\15\0\1\304\1\0\1\305\24\0"+
    "\16\51\2\0\2\51\1\0\5\51\5\0\2\51\2\0"+
    "\1\51\6\0\4\51\11\0\6\51\22\0\1\306\1\307"+
    "\110\0\1\53\42\0\1\310\1\0\1\311\4\0\1\312"+
    "\110\0\1\313\1\314\53\0\2\315\1\316\4\315\1\316"+
    "\3\315\1\316\2\315\1\316\3\315\2\316\2\315\2\316"+
    "\1\317\1\320\1\321\1\322\1\316\1\315\1\316\4\315"+
    "\1\316\1\315\1\321\6\316\4\315\10\316\7\315\1\0"+
    "\1\323\2\0\16\324\2\0\1\325\1\324\1\0\3\324"+
    "\2\325\4\0\1\326\1\324\3\0\1\327\6\0\4\324"+
    "\11\0\6\324\35\0\1\65\104\0\1\330\35\0\1\331"+
    "\1\332\115\0\1\333\1\334\53\0\2\335\1\336\4\335"+
    "\1\336\3\335\1\336\2\335\1\336\3\335\2\336\2\335"+
    "\2\336\1\337\1\340\1\341\1\342\1\336\1\335\1\336"+
    "\4\335\1\336\1\335\1\341\6\336\4\335\10\336\7\335"+
    "\4\0\16\343\2\0\1\344\1\343\1\0\3\343\2\344"+
    "\4\0\1\345\1\343\3\0\1\346\6\0\4\343\11\0"+
    "\6\343\35\0\1\121\104\0\1\347\36\0\1\350\6\0"+
    "\1\351\106\0\1\352\1\353\53\0\2\354\1\355\4\354"+
    "\1\355\3\354\1\355\2\354\1\355\3\354\2\355\2\354"+
    "\2\355\1\356\1\357\1\360\1\361\1\355\1\354\1\355"+
    "\4\354\1\355\1\354\1\360\6\355\4\354\10\355\7\354"+
    "\4\0\16\362\2\0\1\363\1\362\1\0\3\362\2\363"+
    "\4\0\1\364\1\362\3\0\1\365\6\0\4\362\11\0"+
    "\6\362\35\0\1\154\104\0\1\366\37\0\16\201\2\0"+
    "\2\201\1\0\5\201\5\0\2\201\2\0\1\201\6\0"+
    "\4\201\11\0\6\201\35\0\1\202\45\0\16\206\2\0"+
    "\2\206\1\0\5\206\5\0\2\206\2\0\1\206\6\0"+
    "\4\206\11\0\6\206\22\0\1\367\1\370\110\0\1\210"+
    "\63\0\1\371\1\372\110\0\1\215\65\0\1\223\5\0"+
    "\2\223\11\0\1\223\66\0\1\224\45\0\16\232\2\0"+
    "\2\232\1\0\5\232\5\0\2\232\2\0\1\232\6\0"+
    "\4\232\11\0\6\232\22\0\1\373\1\374\110\0\1\234"+
    "\45\0\16\242\2\0\2\242\1\0\5\242\5\0\2\242"+
    "\2\0\1\242\2\0\1\375\3\0\4\242\11\0\6\242"+
    "\22\0\1\376\1\377\110\0\1\244\41\0\2\u0100\1\u0101"+
    "\4\u0100\1\u0101\3\u0100\1\u0101\2\u0100\1\u0101\3\u0100\2\u0101"+
    "\2\u0100\2\u0101\1\u0102\1\u0103\1\u0104\1\u0105\1\u0101\1\u0100"+
    "\1\u0101\4\u0100\1\u0101\1\u0100\1\u0104\6\u0101\4\u0100\10\u0101"+
    "\7\u0100\35\0\1\253\43\0\1\u0106\100\0\1\u0107\77\0"+
    "\1\u0108\75\0\1\u0109\77\0\1\u010a\75\0\1\u010b\1\0"+
    "\1\u010b\1\0\1\u010b\6\0\1\u010b\4\0\2\u010b\1\0"+
    "\1\u010b\2\0\2\u010b\11\0\1\u010b\6\0\1\u010b\14\0"+
    "\1\u010b\2\0\1\u010b\1\0\1\u010b\4\0\1\u010c\1\0"+
    "\1\u010c\1\0\1\u010c\6\0\1\u010c\4\0\2\u010c\1\0"+
    "\1\u010c\2\0\2\u010c\11\0\1\u010c\6\0\1\u010c\14\0"+
    "\1\u010c\2\0\1\u010c\1\0\1\u010c\32\0\2\273\11\0"+
    "\1\273\63\0\2\267\11\0\1\267\36\0\1\u010d\121\0"+
    "\1\u010e\55\0\1\u010f\11\0\1\u0110\63\0\1\u0111\76\0"+
    "\1\u0112\146\0\1\u0113\75\0\1\u0114\34\0\1\u0115\63\0"+
    "\35\306\1\0\1\306\1\0\37\306\12\0\1\u0116\72\0"+
    "\1\u0117\70\0\35\313\1\0\1\313\1\0\37\313\4\0"+
    "\1\u0118\1\0\1\u0118\1\0\1\u0118\6\0\1\u0118\4\0"+
    "\2\u0118\1\0\1\u0118\2\0\2\u0118\11\0\1\u0118\6\0"+
    "\1\u0118\14\0\1\u0118\2\0\1\u0118\1\0\1\u0118\4\0"+
    "\1\u0119\1\0\1\u0119\1\0\1\u0119\6\0\1\u0119\4\0"+
    "\2\u0119\1\0\1\u0119\2\0\2\u0119\11\0\1\u0119\6\0"+
    "\1\u0119\14\0\1\u0119\2\0\1\u0119\1\0\1\u0119\32\0"+
    "\2\322\11\0\1\322\63\0\2\316\11\0\1\316\33\0"+
    "\1\u011a\1\0\16\324\2\0\2\324\1\0\5\324\4\0"+
    "\1\u011b\2\324\2\0\1\324\6\0\4\324\11\0\6\324"+
    "\2\0\1\u011c\21\0\1\325\5\0\2\325\4\0\1\327"+
    "\3\0\1\u011d\1\325\35\0\16\324\2\0\1\325\1\324"+
    "\1\0\3\324\2\325\4\0\1\326\1\324\3\0\1\327"+
    "\6\0\4\324\11\0\6\324\2\0\1\u011c\35\0\1\327"+
    "\3\0\1\u011d\123\0\1\u011e\2\0\1\u011f\4\0\1\u0120"+
    "\74\0\35\333\1\0\1\333\1\0\37\333\4\0\1\u0121"+
    "\1\0\1\u0121\1\0\1\u0121\6\0\1\u0121\4\0\2\u0121"+
    "\1\0\1\u0121\2\0\2\u0121\11\0\1\u0121\6\0\1\u0121"+
    "\14\0\1\u0121\2\0\1\u0121\1\0\1\u0121\4\0\1\u0122"+
    "\1\0\1\u0122\1\0\1\u0122\6\0\1\u0122\4\0\2\u0122"+
    "\1\0\1\u0122\2\0\2\u0122\11\0\1\u0122\6\0\1\u0122"+
    "\14\0\1\u0122\2\0\1\u0122\1\0\1\u0122\32\0\2\342"+
    "\11\0\1\342\63\0\2\336\11\0\1\336\33\0\1\u0123"+
    "\1\0\16\343\2\0\2\343\1\0\5\343\4\0\1\u0124"+
    "\2\343\2\0\1\343\6\0\4\343\11\0\6\343\2\0"+
    "\1\u0125\21\0\1\344\5\0\2\344\4\0\1\346\3\0"+
    "\1\u0126\1\344\33\0\1\u0125\35\0\1\346\3\0\1\u0126"+
    "\123\0\1\u0127\2\0\1\u0128\14\0\1\u0129\73\0\1\u012a"+
    "\67\0\35\352\1\0\1\352\1\0\37\352\4\0\1\u012b"+
    "\1\0\1\u012b\1\0\1\u012b\6\0\1\u012b\4\0\2\u012b"+
    "\1\0\1\u012b\2\0\2\u012b\11\0\1\u012b\6\0\1\u012b"+
    "\14\0\1\u012b\2\0\1\u012b\1\0\1\u012b\4\0\1\u012c"+
    "\1\0\1\u012c\1\0\1\u012c\6\0\1\u012c\4\0\2\u012c"+
    "\1\0\1\u012c\2\0\2\u012c\11\0\1\u012c\6\0\1\u012c"+
    "\14\0\1\u012c\2\0\1\u012c\1\0\1\u012c\32\0\2\361"+
    "\11\0\1\361\63\0\2\355\11\0\1\355\33\0\1\u012d"+
    "\1\0\16\362\2\0\2\362\1\0\5\362\4\0\1\u012e"+
    "\2\362\2\0\1\362\6\0\4\362\11\0\6\362\2\0"+
    "\1\u012f\21\0\1\363\5\0\2\363\4\0\1\365\3\0"+
    "\1\u0130\1\363\33\0\1\u012f\35\0\1\365\3\0\1\u0130"+
    "\123\0\1\u0131\2\0\1\u0132\2\0\35\367\1\0\1\367"+
    "\1\0\37\367\35\371\1\0\1\371\1\0\37\371\35\373"+
    "\1\0\1\373\1\0\37\373\4\0\16\u0133\3\0\1\u0133"+
    "\1\0\3\u0133\7\0\1\u0133\12\0\4\u0133\11\0\6\u0133"+
    "\35\376\1\0\1\376\1\0\37\376\4\0\1\u0134\1\0"+
    "\1\u0134\1\0\1\u0134\6\0\1\u0134\4\0\2\u0134\1\0"+
    "\1\u0134\2\0\2\u0134\11\0\1\u0134\6\0\1\u0134\14\0"+
    "\1\u0134\2\0\1\u0134\1\0\1\u0134\4\0\1\u0135\1\0"+
    "\1\u0135\1\0\1\u0135\6\0\1\u0135\4\0\2\u0135\1\0"+
    "\1\u0135\2\0\2\u0135\11\0\1\u0135\6\0\1\u0135\14\0"+
    "\1\u0135\2\0\1\u0135\1\0\1\u0135\32\0\2\u0105\11\0"+
    "\1\u0105\63\0\2\u0101\11\0\1\u0101\36\0\1\u0136\76\0"+
    "\1\u0137\76\0\1\u0138\76\0\1\u0139\75\0\1\267\1\0"+
    "\1\267\1\0\1\267\6\0\1\267\4\0\2\267\1\0"+
    "\1\267\2\0\2\267\11\0\1\267\6\0\1\267\14\0"+
    "\1\267\2\0\1\267\1\0\1\267\4\0\1\u013a\1\0"+
    "\1\u013a\1\0\1\u013a\6\0\1\u013a\4\0\2\u013a\1\0"+
    "\1\u013a\2\0\2\u013a\11\0\1\u013a\6\0\1\u013a\14\0"+
    "\1\u013a\2\0\1\u013a\1\0\1\u013a\5\0\1\u013b\104\0"+
    "\1\u013c\75\0\1\u013d\71\0\1\u013e\111\0\1\u013f\106\0"+
    "\1\u0140\61\0\1\u0141\104\0\1\u0142\61\0\1\u0143\101\0"+
    "\1\u0144\107\0\1\u0145\62\0\1\316\1\0\1\316\1\0"+
    "\1\316\6\0\1\316\4\0\2\316\1\0\1\316\2\0"+
    "\2\316\11\0\1\316\6\0\1\316\14\0\1\316\2\0"+
    "\1\316\1\0\1\316\4\0\1\u0146\1\0\1\u0146\1\0"+
    "\1\u0146\6\0\1\u0146\4\0\2\u0146\1\0\1\u0146\2\0"+
    "\2\u0146\11\0\1\u0146\6\0\1\u0146\14\0\1\u0146\2\0"+
    "\1\u0146\1\0\1\u0146\2\0\1\u011a\35\0\1\u011b\62\0"+
    "\1\u0147\5\0\2\u0147\4\0\1\u011d\4\0\1\u0148\123\0"+
    "\1\u0149\101\0\1\u014a\5\0\1\336\1\0\1\336\1\0"+
    "\1\336\6\0\1\336\4\0\2\336\1\0\1\336\2\0"+
    "\2\336\11\0\1\336\6\0\1\336\14\0\1\336\2\0"+
    "\1\336\1\0\1\336\4\0\1\u014b\1\0\1\u014b\1\0"+
    "\1\u014b\6\0\1\u014b\4\0\2\u014b\1\0\1\u014b\2\0"+
    "\2\u014b\11\0\1\u014b\6\0\1\u014b\14\0\1\u014b\2\0"+
    "\1\u014b\1\0\1\u014b\2\0\1\u0123\35\0\1\u0124\62\0"+
    "\1\u014c\5\0\2\u014c\4\0\1\u0126\4\0\1\u014d\123\0"+
    "\1\u014e\101\0\1\u014f\10\0\1\u0150\101\0\1\u0151\70\0"+
    "\1\355\1\0\1\355\1\0\1\355\6\0\1\355\4\0"+
    "\2\355\1\0\1\355\2\0\2\355\11\0\1\355\6\0"+
    "\1\355\14\0\1\355\2\0\1\355\1\0\1\355\4\0"+
    "\1\u0152\1\0\1\u0152\1\0\1\u0152\6\0\1\u0152\4\0"+
    "\2\u0152\1\0\1\u0152\2\0\2\u0152\11\0\1\u0152\6\0"+
    "\1\u0152\14\0\1\u0152\2\0\1\u0152\1\0\1\u0152\2\0"+
    "\1\u012d\35\0\1\u012e\62\0\1\u0153\5\0\2\u0153\4\0"+
    "\1\u0130\4\0\1\u0154\123\0\1\u0155\101\0\1\u0156\5\0"+
    "\16\u0133\2\0\2\u0133\1\0\5\u0133\5\0\2\u0133\2\0"+
    "\1\u0133\2\0\1\375\3\0\4\u0133\11\0\6\u0133\4\0"+
    "\1\u0101\1\0\1\u0101\1\0\1\u0101\6\0\1\u0101\4\0"+
    "\2\u0101\1\0\1\u0101\2\0\2\u0101\11\0\1\u0101\6\0"+
    "\1\u0101\14\0\1\u0101\2\0\1\u0101\1\0\1\u0101\4\0"+
    "\1\u0157\1\0\1\u0157\1\0\1\u0157\6\0\1\u0157\4\0"+
    "\2\u0157\1\0\1\u0157\2\0\2\u0157\11\0\1\u0157\6\0"+
    "\1\u0157\14\0\1\u0157\2\0\1\u0157\1\0\1\u0157\5\0"+
    "\1\u0158\77\0\1\u0159\75\0\1\u015a\77\0\1\u015b\74\0"+
    "\1\u015c\1\0\1\u015c\1\0\1\u015c\6\0\1\u015c\4\0"+
    "\2\u015c\1\0\1\u015c\2\0\2\u015c\11\0\1\u015c\6\0"+
    "\1\u015c\14\0\1\u015c\2\0\1\u015c\1\0\1\u015c\6\0"+
    "\1\u015d\76\0\1\u015e\103\0\1\u015f\140\0\1\u0160\26\0"+
    "\1\u0161\104\0\1\u0162\67\0\1\u0163\77\0\1\u0164\104\0"+
    "\1\u0165\2\0\1\u0166\74\0\1\u0167\70\0\1\u0168\74\0"+
    "\1\u0169\1\0\1\u0169\1\0\1\u0169\6\0\1\u0169\4\0"+
    "\2\u0169\1\0\1\u0169\2\0\2\u0169\11\0\1\u0169\6\0"+
    "\1\u0169\14\0\1\u0169\2\0\1\u0169\1\0\1\u0169\2\0"+
    "\1\u011c\21\0\1\u0147\5\0\2\u0147\4\0\1\u0148\4\0"+
    "\1\u0147\33\0\1\u011c\35\0\1\u0148\131\0\1\u016a\101\0"+
    "\1\u016b\4\0\1\u016c\1\0\1\u016c\1\0\1\u016c\6\0"+
    "\1\u016c\4\0\2\u016c\1\0\1\u016c\2\0\2\u016c\11\0"+
    "\1\u016c\6\0\1\u016c\14\0\1\u016c\2\0\1\u016c\1\0"+
    "\1\u016c\2\0\1\u0125\21\0\1\u014c\5\0\2\u014c\4\0"+
    "\1\u014d\4\0\1\u014c\33\0\1\u0125\35\0\1\u014d\131\0"+
    "\1\u016d\101\0\1\u016e\12\0\1\u016f\77\0\1\u0170\67\0"+
    "\1\u0171\1\0\1\u0171\1\0\1\u0171\6\0\1\u0171\4\0"+
    "\2\u0171\1\0\1\u0171\2\0\2\u0171\11\0\1\u0171\6\0"+
    "\1\u0171\14\0\1\u0171\2\0\1\u0171\1\0\1\u0171\2\0"+
    "\1\u012f\21\0\1\u0153\5\0\2\u0153\4\0\1\u0154\4\0"+
    "\1\u0153\33\0\1\u012f\35\0\1\u0154\131\0\1\u0172\101\0"+
    "\1\u0173\4\0\1\u0174\1\0\1\u0174\1\0\1\u0174\6\0"+
    "\1\u0174\4\0\2\u0174\1\0\1\u0174\2\0\2\u0174\11\0"+
    "\1\u0174\6\0\1\u0174\14\0\1\u0174\2\0\1\u0174\1\0"+
    "\1\u0174\6\0\1\u0175\77\0\1\u0176\75\0\1\u0177\77\0"+
    "\1\u0178\76\0\1\u0179\105\0\1\u017a\73\0\1\u017b\22\0"+
    "\1\u017c\56\0\1\u017d\66\0\1\u017e\104\0\1\u017f\75\0"+
    "\1\u0180\140\0\1\u0181\27\0\1\u0182\103\0\1\u0183\71\0"+
    "\1\u0184\103\0\1\u0185\132\0\1\u0186\76\0\1\u0187\76\0"+
    "\1\u0188\76\0\1\u0189\42\0\1\u018a\65\0\1\u018b\143\0"+
    "\1\u018c\76\0\1\u018d\36\0\1\u018e\77\0\1\u018f\75\0"+
    "\1\u0190\77\0\1\u0191\76\0\1\u0192\75\0\1\u0193\103\0"+
    "\1\u0194\75\0\1\u0195\101\0\1\u0196\76\0\1\u0197\66\0"+
    "\1\u0198\77\0\1\u0199\67\0\4\u019a\16\u019b\2\u019a\2\u019b"+
    "\1\u019a\5\u019b\5\u019a\2\u019b\2\u019a\1\u019b\6\u019a\4\u019b"+
    "\11\u019a\6\u019b\4\u019c\16\u019d\2\u019c\2\u019d\1\u019c\5\u019d"+
    "\5\u019c\2\u019d\2\u019c\1\u019d\6\u019c\4\u019d\11\u019c\6\u019d"+
    "\16\0\1\u019e\66\0\1\u019f\137\0\1\u01a0\76\0\1\u01a1"+
    "\76\0\1\u01a2\76\0\1\u01a3\31\0\1\u01a4\143\0\1\u01a5"+
    "\76\0\1\u01a6\37\0\1\u01a7\77\0\1\u01a8\75\0\1\u01a9"+
    "\70\0\1\u01aa\105\0\1\u01ab\24\0\1\u01ac\40\0\4\u01ad"+
    "\16\u01ae\2\u01ad\2\u01ae\1\u01ad\5\u01ae\5\u01ad\2\u01ae\2\u01ad"+
    "\1\u01ae\6\u01ad\4\u01ae\11\u01ad\6\u01ae\16\0\1\u01af\60\0"+
    "\4\u01b0\16\u01b1\2\u01b0\2\u01b1\1\u01b0\5\u01b1\5\u01b0\2\u01b1"+
    "\2\u01b0\1\u01b1\6\u01b0\4\u01b1\11\u01b0\6\u01b1\4\u01b2\16\u01b3"+
    "\2\u01b2\2\u01b3\1\u01b2\5\u01b3\5\u01b2\2\u01b3\2\u01b2\1\u01b3"+
    "\6\u01b2\4\u01b3\11\u01b2\6\u01b3\55\0\1\u01b4\21\0\4\u01b5"+
    "\16\u01b6\2\u01b5\2\u01b6\1\u01b5\5\u01b6\5\u01b5\2\u01b6\2\u01b5"+
    "\1\u01b6\6\u01b5\4\u01b6\11\u01b5\6\u01b6\6\0\1\u01b7\70\0"+
    "\77\u019a\77\u019c\12\0\1\u01b8\64\0\4\u01b9\16\u01ba\2\u01b9"+
    "\2\u01ba\1\u01b9\5\u01ba\5\u01b9\2\u01ba\2\u01b9\1\u01ba\6\u01b9"+
    "\4\u01ba\11\u01b9\6\u01ba\11\0\1\u01bb\77\0\1\u01bc\66\0"+
    "\1\u01bd\106\0\1\u01be\64\0\77\u01ad\55\0\1\u01bf\21\0"+
    "\77\u01b0\77\u01b2\57\0\1\u01c0\17\0\77\u01b5\7\0\1\u01c1"+
    "\102\0\1\u01c2\63\0\77\u01b9\12\0\1\u01c3\77\0\1\u01c4"+
    "\76\0\1\u01c5\142\0\1\u01c6\17\0\4\u01c7\16\u01c8\2\u01c7"+
    "\2\u01c8\1\u01c7\5\u01c8\5\u01c7\2\u01c8\2\u01c7\1\u01c8\6\u01c7"+
    "\4\u01c8\11\u01c7\6\u01c8\13\0\1\u01c9\63\0\4\u01ca\16\u01cb"+
    "\2\u01ca\2\u01cb\1\u01ca\5\u01cb\5\u01ca\2\u01cb\2\u01ca\1\u01cb"+
    "\6\u01ca\4\u01cb\11\u01ca\6\u01cb\13\0\1\u01cc\77\0\1\u01cd"+
    "\76\0\1\u01ce\62\0\4\u01cf\16\u01d0\2\u01cf\2\u01d0\1\u01cf"+
    "\5\u01d0\5\u01cf\2\u01d0\2\u01cf\1\u01d0\6\u01cf\4\u01d0\11\u01cf"+
    "\6\u01d0\77\u01c7\4\u01d1\16\u01d2\2\u01d1\2\u01d2\1\u01d1\5\u01d2"+
    "\5\u01d1\2\u01d2\2\u01d1\1\u01d2\6\u01d1\4\u01d2\11\u01d1\6\u01d2"+
    "\77\u01ca\14\0\1\u01d3\77\0\1\u01d4\76\0\1\u01d5\61\0"+
    "\77\u01cf\77\u01d1\15\0\1\u01d6\74\0\1\u01d7\76\0\1\u01d8"+
    "\76\0\1\u01d9\67\0\1\u01da\76\0\1\u01db\76\0\1\u01dc"+
    "\110\0\1\u01dd\76\0\1\u01de\76\0\1\u01df\73\0\1\u01e0"+
    "\76\0\1\u01e1\76\0\1\u01e2\102\0\1\u01e3\76\0\1\u01e4"+
    "\76\0\1\u01e5\65\0\1\u01e6\76\0\1\u01e7\76\0\1\u01e8"+
    "\110\0\1\u01e9\76\0\1\u01ea\76\0\1\u01eb\70\0\1\u01ec"+
    "\76\0\1\u01ed\76\0\1\u01ee\105\0\1\u01ef\76\0\1\u01f0"+
    "\76\0\1\u01f1\57\0\1\u01f2\132\0\1\u01f3\42\0\1\u01f4"+
    "\74\0";

  private static int [] zzUnpackTrans() {
    int [] result = new int[20601];
    int offset = 0;
    offset = zzUnpackTrans(ZZ_TRANS_PACKED_0, offset, result);
    return result;
  }

  private static int zzUnpackTrans(String packed, int offset, int [] result) {
    int i = 0;       /* index in packed string  */
    int j = offset;  /* index in unpacked array */
    int l = packed.length();
    while (i < l) {
      int count = packed.charAt(i++);
      int value = packed.charAt(i++);
      value--;
      do result[j++] = value; while (--count > 0);
    }
    return j;
  }


  /* error codes */
  private static final int ZZ_UNKNOWN_ERROR = 0;
  private static final int ZZ_NO_MATCH = 1;
  private static final int ZZ_PUSHBACK_2BIG = 2;

  /* error messages for the codes above */
  private static final String ZZ_ERROR_MSG[] = {
    "Unkown internal scanner error",
    "Error: could not match input",
    "Error: pushback value was too large"
  };

  /**
   * ZZ_ATTRIBUTE[aState] contains the attributes of state <code>aState</code>
   */
  private static final int [] ZZ_ATTRIBUTE = zzUnpackAttribute();

  private static final String ZZ_ATTRIBUTE_PACKED_0 =
    "\1\10\24\0\2\11\2\1\1\11\1\1\1\11\1\1"+
    "\2\11\2\1\1\11\1\1\4\11\3\1\1\11\1\1"+
    "\3\11\2\1\1\11\1\1\2\11\1\3\1\1\1\11"+
    "\1\1\20\11\1\1\2\11\1\1\1\11\1\1\2\11"+
    "\1\3\1\1\1\11\1\1\17\11\1\1\2\11\1\1"+
    "\1\11\1\1\2\11\1\3\1\1\1\11\1\1\20\11"+
    "\1\1\1\11\1\1\2\11\2\1\1\11\1\1\2\11"+
    "\1\1\2\11\1\1\3\11\1\1\1\11\1\1\4\11"+
    "\2\1\1\11\1\1\4\11\2\1\1\11\1\1\4\11"+
    "\1\1\1\11\1\1\2\11\5\0\4\11\4\1\1\11"+
    "\6\0\1\11\2\0\1\1\2\11\2\0\1\1\3\11"+
    "\4\1\1\11\5\0\1\11\1\0\1\1\3\11\4\1"+
    "\7\0\1\1\3\11\4\1\5\0\1\1\1\11\1\1"+
    "\1\11\1\1\1\11\1\0\1\1\3\11\4\1\1\11"+
    "\5\0\1\1\14\0\1\1\1\15\1\0\1\15\3\0"+
    "\1\11\1\0\1\1\1\15\1\0\1\15\6\0\1\1"+
    "\1\15\1\0\1\15\3\0\1\1\1\0\1\1\4\0"+
    "\1\1\13\0\1\1\4\0\1\1\6\0\1\1\4\0"+
    "\1\1\4\0\1\1\14\0\1\1\2\0\1\1\4\0"+
    "\1\1\2\0\1\1\7\0\1\11\5\0\2\7\7\0"+
    "\1\11\7\0\1\7\1\0\2\7\1\0\1\7\1\0"+
    "\1\5\1\0\1\5\2\0\1\7\7\11\3\0\1\11"+
    "\1\0\1\11\1\5\2\0\1\5\1\0\1\5\2\0"+
    "\1\5\3\0\1\5\3\0\1\11\2\0\1\7\1\0"+
    "\1\7\3\0\1\7\1\5\1\0\1\7\1\5\4\0"+
    "\1\5\1\0\1\5\40\0\3\11";

  private static int [] zzUnpackAttribute() {
    int [] result = new int[500];
    int offset = 0;
    offset = zzUnpackAttribute(ZZ_ATTRIBUTE_PACKED_0, offset, result);
    return result;
  }

  private static int zzUnpackAttribute(String packed, int offset, int [] result) {
    int i = 0;       /* index in packed string  */
    int j = offset;  /* index in unpacked array */
    int l = packed.length();
    while (i < l) {
      int count = packed.charAt(i++);
      int value = packed.charAt(i++);
      do result[j++] = value; while (--count > 0);
    }
    return j;
  }

  /** the input device */
  private java.io.Reader zzReader;

  /** the current state of the DFA */
  private int zzState;

  /** the current lexical state */
  private int zzLexicalState = YYINITIAL;

  /** this buffer contains the current text to be matched and is
      the source of the yytext() string */
  private char zzBuffer[] = new char[ZZ_BUFFERSIZE];

  /** the textposition at the last accepting state */
  private int zzMarkedPos;

  /** the textposition at the last state to be included in yytext */
  private int zzPushbackPos;

  /** the current text position in the buffer */
  private int zzCurrentPos;

  /** startRead marks the beginning of the yytext() string in the buffer */
  private int zzStartRead;

  /** endRead marks the last character in the buffer, that has been read
      from input */
  private int zzEndRead;

  /** number of newlines encountered up to the start of the matched text */
  private int yyline;

  /** the number of characters up to the start of the matched text */
  private int yychar;

  /**
   * the number of characters from the last newline up to the start of the 
   * matched text
   */
  private int yycolumn;

  /** 
   * zzAtBOL == true <=> the scanner is currently at the beginning of a line
   */
  private boolean zzAtBOL = true;

  /** zzAtEOF == true <=> the scanner is at the EOF */
  private boolean zzAtEOF;

  /* user code: */
  //// Returning symbols ///////////////////////////////////////////////////////

  //Create a symbol using the current line and column number, as computed by JFlex
  //No attached value
  //Symbol is assumed to start and end on the same line
  //e.g. symbol(SEMICOLON)
  private Symbol symbol(short type) {
    return symbol(type, null);
  }
  
  //Create a symbol using the current line and column number, as computed by JFlex
  //Attached value gives content information
  //Symbol is assumed to start and end on the same line
  //e.g. symbol(IDENTIFIER, "x")
  private Symbol symbol(short type, Object value) {
    //NB: JFlex is zero-indexed, but we want one-indexed
    int startLine = yyline + 1;
    int startCol = yycolumn + 1;
    int endLine = startLine;
    int endCol = startCol + yylength() - 1;
    return symbol(type, value, startLine, startCol, endLine, endCol);
  }
  
  //Create a symbol using explicit position information (input is one-indexed)
  private Symbol symbol(short type, Object value, int startLine, int startCol, int endLine, int endCol) {
    int startPos = Symbol.makePosition(startLine, startCol);
    int endPos = Symbol.makePosition(endLine, endCol);
    return new Symbol(type, startPos, endPos, value);
  }
  //// Errors //////////////////////////////////////////////////////////////////
  
  //throw an exceptions with position information from JFlex
  private void error(String msg) throws Scanner.Exception {
    //correct to one-indexed
    throw new Scanner.Exception(yyline + 1, yycolumn + 1, msg);
  }
  
  //throw an exceptions with position information from JFlex
  //columnOffset is added to the column
  private void error(String msg, int columnOffset) throws Scanner.Exception {
  //correct to one-indexed
    throw new Scanner.Exception(yyline + 1, yycolumn + 1 + columnOffset, msg);
  }
    private final StateClass_component state_component = new StateClass_component();
    private class StateClass_component {
        private StateClass_component() {
            //from src/frontend/lexer/component/component.mll [42, 1]
            embeddingRecordArray[0] = new EmbeddingRecord("header", inst_comp_options, PairFilter.EMPTY);
            //from src/frontend/lexer/component/component.mll [49, 1]
            embeddingRecordArray[1] = new EmbeddingRecord("rules", inst_comp_rules, PairFilter.EMPTY);
            //from src/frontend/lexer/component/component.mll [56, 1]
            embeddingRecordArray[2] = new EmbeddingRecord("action", inst_action, PairFilter.EMPTY);
            //from src/frontend/lexer/component/component.mll [63, 1]
            embeddingRecordArray[3] = new EmbeddingRecord("init_region", inst_init_region, PairFilter.EMPTY);
            //from src/frontend/lexer/component/component.mll [70, 1]
            embeddingRecordArray[4] = new EmbeddingRecord("decl_region", inst_decl_region, PairFilter.EMPTY);
            //from src/frontend/lexer/component/component.mll [77, 1]
            embeddingRecordArray[5] = new EmbeddingRecord("append_region", inst_append_region, PairFilter.EMPTY);
            //from src/frontend/lexer/component/component.mll [84, 1]
            embeddingRecordArray[6] = new EmbeddingRecord("append_delim_region", inst_append_delim_region, PairFilter.EMPTY);
            //from src/frontend/lexer/component/component.mll [91, 1]
            embeddingRecordArray[7] = new EmbeddingRecord("macro_defn", inst_macro_defn, PairFilter.EMPTY);
            //from src/frontend/lexer/component/component.mll [98, 1]
            embeddingRecordArray[8] = new EmbeddingRecord("bracket_comment", inst_bracket_comment, PairFilter.EMPTY);
            //from src/frontend/lexer/component/component.mll [106, 1]
            embeddingRecordArray[9] = new EmbeddingRecord("char_class", inst_char_class, PairFilter.EMPTY);
            //from src/frontend/lexer/component/component.mll [113, 1]
            embeddingRecordArray[10] = new EmbeddingRecord("delete_directive", inst_delete_directive, PairFilter.EMPTY);
            //from src/frontend/lexer/component/component.mll [120, 1]
            embeddingRecordArray[11] = new EmbeddingRecord("macro_invoc", inst_macro_invoc, PairFilter.EMPTY);
            //from src/frontend/lexer/component/component.mll [127, 1]
            embeddingRecordArray[12] = new EmbeddingRecord("repetition_spec", inst_repetition_spec, PairFilter.EMPTY);
            //from src/frontend/lexer/component/component.mll [134, 1]
            embeddingRecordArray[13] = new EmbeddingRecord("mtok_decl", inst_mtok_decl, PairFilter.EMPTY);
            //from src/frontend/lexer/component/component.mll [141, 1]
            embeddingRecordArray[14] = new EmbeddingRecord("string_id_directive", inst_string_id_directive, PairFilter.EMPTY);
            //from src/frontend/lexer/component/component.mll [148, 1]
            embeddingRecordArray[15] = new EmbeddingRecord("string", inst_string, PairFilter.EMPTY);
            //from src/frontend/lexer/component/component.mll [155, 1]
            embeddingRecordArray[16] = new EmbeddingRecord("state_list", inst_state_list, PairFilter.EMPTY);
            //from src/frontend/lexer/component/component.mll [162, 1]
            embeddingRecordArray[17] = new EmbeddingRecord("delete_state_list", inst_state_list, PairFilter.EMPTY);
            //from src/frontend/lexer/component/component.mll [169, 1]
            embeddingRecordArray[18] = new EmbeddingRecord("open_rule_group", inst_open_rule_group, PairFilter.EMPTY);
            //from src/frontend/lexer/component/component.mll [176, 1]
            embeddingRecordArray[19] = new EmbeddingRecord("eof_error", inst_base, PairFilter.EMPTY);
            
            //from src/frontend/lexer/component/component.mll [35, 8]
            yybegin(base_YYINITIAL_STATE);
            
            embeddingStack.push(new EmbeddingRecord(null, inst_base, PairFilter.EMPTY));
            
            //Transition through states reachable by pure BOF patterns
            //NB: append actions will not be performed
            startEmbedding(/*header*/ 0); 
            
            restartAppendBuf(0, 0);
            restartDelimBuf(false);
            
            //NB: Send <BOF> immediately.  Don't check for a return, because pure BOFs are handled above.
            sendMTok(/*BOF*/ 0);
        }
        
        private final EmbeddingRecord[] embeddingRecordArray = new EmbeddingRecord[20];
        private final CompClass_action inst_action = new CompClass_action();
        private final CompClass_append_delim_region inst_append_delim_region = new CompClass_append_delim_region();
        private final CompClass_append_region inst_append_region = new CompClass_append_region();
        private final CompClass_base inst_base = new CompClass_base();
        private final CompClass_bracket_comment inst_bracket_comment = new CompClass_bracket_comment();
        private final CompClass_char_class inst_char_class = new CompClass_char_class();
        private final CompClass_comp_options inst_comp_options = new CompClass_comp_options();
        private final CompClass_comp_rules inst_comp_rules = new CompClass_comp_rules();
        private final CompClass_decl_region inst_decl_region = new CompClass_decl_region();
        private final CompClass_delete_directive inst_delete_directive = new CompClass_delete_directive();
        private final CompClass_init_region inst_init_region = new CompClass_init_region();
        private final CompClass_macro_defn inst_macro_defn = new CompClass_macro_defn();
        private final CompClass_macro_invoc inst_macro_invoc = new CompClass_macro_invoc();
        private final CompClass_mtok_decl inst_mtok_decl = new CompClass_mtok_decl();
        private final CompClass_open_rule_group inst_open_rule_group = new CompClass_open_rule_group();
        private final CompClass_repetition_spec inst_repetition_spec = new CompClass_repetition_spec();
        private final CompClass_state_list inst_state_list = new CompClass_state_list();
        private final CompClass_string_id_directive inst_string_id_directive = new CompClass_string_id_directive();
        private final CompClass_string inst_string = new CompClass_string();
        private java.util.Stack<EmbeddingRecord> embeddingStack = new java.util.Stack<EmbeddingRecord>();
        
        private void startEmbedding(int newEmbeddingNum) {
            EmbeddingRecord newEmbedding = embeddingRecordArray[newEmbeddingNum];
            newEmbedding.getFilter().reset();
            embeddingStack.push(newEmbedding);
            yybegin(newEmbedding.getComp().getStartState());
        }
        private void endEmbedding() {
            embeddingStack.pop();
            EmbeddingRecord newEmbedding = embeddingStack.peek();
            yybegin(newEmbedding.getComp().getStartState());
        }
        private ComponentInnerClass getCurrComp() {
            return embeddingStack.peek().getComp();
        }
        private PairFilter getCurrFilter() {
            return embeddingStack.peek().getFilter();
        }
        
        private int delimStartLine = -1;
        private int delimStartCol = -1;
        private boolean delimTouched = false;
        private StringBuffer delimBuf = null;
        
        private void restartDelimBuf(boolean copyToAppendBuf) {
            if(copyToAppendBuf && delimTouched) {
                if((delimStartLine < startLine) || (delimStartLine == startLine && delimStartCol < startCol)) {
                    startLine = delimStartLine;
                    startCol = delimStartCol;
                }
                appendBuf.append(delimBuf);
            }
            delimStartLine = -1;
            delimStartCol = -1;
            delimTouched = false;
            delimBuf = new StringBuffer();
        }
        private <T> void appendToStartDelim(T t) {
            if(delimStartLine < 0) {
                delimStartLine = yyline;
                delimStartCol = yycolumn;
            }
            delimBuf.append(t);
            delimTouched = true;
        }
        
        private int startLine = -1;
        private int startCol = -1;
        private StringBuffer appendBuf = null;
        
        private void restartAppendBuf(int startLine, int startCol) {
            this.startLine = startLine;
            this.startCol = startCol;
            appendBuf = new StringBuffer();
        }
        private int getStartLine() {
            return startLine;
        }
        private int getStartColumn() {
            return startCol;
        }
        private String getAppendText() {
            return appendBuf.toString();
        }
        private <T> void append(T t) {
            appendBuf.append(t);
        }
        
        private Symbol extraReturn = null;
        private int prevState = -1;
        
        public Symbol getExtraReturn() {
            return extraReturn;
        }
        public int getPrevState() {
            return prevState;
        }
        private void returnExtraValue(Symbol value) {
            extraReturn = value;
            prevState = yystate();
            if(yylength() > 0) {
                yypushback(1); //to ensure that at least one char is available
            }
            yybegin(EXTRA_RETURN);
        }
        
        private final MetaLexerClass_component metalexer_component = new MetaLexerClass_component();
        private MetaLexerClass_component.Transition sendMTok(int mtok) {
            return metalexer_component.processSymbol(mtok);
        }
        
        public void processMTok(int mtok)  throws Scanner.Exception{
            if(!getCurrFilter().test(mtok)) {
                return; //don't send symbol if it gets filtered out
            }
            Maybe<? extends Symbol> maybeReturn = Maybe.Nothing();
            ComponentInnerClass currComp = getCurrComp();
            boolean appendActionPerformed = false;
            MetaLexerClass_component.Transition next = sendMTok(mtok);
            while(next != null) {
                boolean endOfEmbedding = next.getEmbeddingNum() < 0;
                if(endOfEmbedding) {
                    endEmbedding();
                } else {
                    //NB: update filter in the OLD embedding and only in start case
                    getCurrFilter().clean(next.getMatch());
                    startEmbedding(next.getEmbeddingNum());
                }
                ComponentInnerClass nextComp = getCurrComp();
                
                int endLine = yyline;
                int endCol = yycolumn - 1; //-1 cancelled by increment below
                
                final String yytext = yytext();
                final int yylength = yylength();
                boolean prevWasNewline = false;
                for(int i = 0; i < yylength; i++) {
                    if(prevWasNewline) {
                        endLine++;
                        endCol = 0;
                    }
                    switch(yytext.charAt(i)) {
                    case '\r':
                        if(i + 1 < yylength && yytext.charAt(i+1) == '\n') {
                            i++;
                        }
                        //NB: fall through
                    case '\n':
                        prevWasNewline = true;
                        break;
                    default:
                        prevWasNewline = false;
                        break;
                    }
                    endCol++;
                }
                
                //NB: only one append action can meaningfully be performed since
                //  no input can be consumed while in this loop
                if(!appendActionPerformed && currComp.isAppend() && !nextComp.isAppend()) {
                    maybeReturn = currComp.performAppendAction(getStartLine(), getStartColumn(), endLine, endCol, getAppendText());
                    appendActionPerformed = true;
                }
                
                if(currComp.isAppend() != nextComp.isAppend()) {
                    int nextStartLine = endLine;
                    int nextStartColumn = endCol + 1;
                    if(prevWasNewline) {
                        nextStartLine++;
                        nextStartColumn = 1;
                    }
                    restartAppendBuf(nextStartLine, nextStartColumn);
                }
                
                restartDelimBuf(nextComp.expectsStartDelim());
                
                next = null;
                if(endOfEmbedding) {
                    int regionSym = currComp.getSymbolValue();
                    if(getCurrFilter().test(regionSym)) {
                        next = sendMTok(regionSym);
                    } else {
                    }
                }
            }
            if(maybeReturn.isJust()) {
                returnExtraValue(maybeReturn.fromJust());
            }
        }
    }
    private static abstract class ComponentInnerClass {
        public boolean isAppend() {
            return false;
        }
        public boolean expectsStartDelim() {
            return false;
        }
        public Maybe<? extends Symbol> performAppendAction(int startLine, int startCol, int endLine, int endCol, String text) throws Scanner.Exception {
            throw new UnsupportedOperationException(getClass().getName() + ".performAppendAction has not been implemented.");
        }
        public abstract int getStartState();
        public abstract int getSymbolValue();
    }
    //from src/frontend/lexer/component/action.mlc [1, 1]
    private class CompClass_action extends ComponentInnerClass {
        
        public CompClass_action() {
        }
        
        private static final int YYINITIAL = action_YYINITIAL_STATE; //from src/frontend/lexer/component/action.mlc [1, 1]
        
        public <T> void appendToStartDelim(T t) {
            state_component.appendToStartDelim(t);
        }
        
        public boolean isAppend() {
            return true;
        }
        public boolean expectsStartDelim() {
            return true;
        }
        public Maybe<? extends Symbol> performAppendAction(int startLine, int startCol, int endLine, int endCol, String text) throws Scanner.Exception {
            if(Object.class != null) {
                //from null [6, 1]
                /*(int startLine, int startCol, int endLine, int endCol, String text)*/
    return Maybe.Just(symbol(ACTION, text, startLine + 1, startCol + 1, endLine + 1, endCol + 1));
            }
            return Maybe.Nothing();
        }
        public <T> void append(T t) {
            state_component.append(t);
        }
        
        public int getStartState() {
            //from src/frontend/lexer/component/action.mlc [1, 1]
            return YYINITIAL;
        }
        
        public int getSymbolValue() {
            return 1;
        }
        
        public Maybe<? extends Symbol> action_action_1() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/action.mlc [14, 16]
                append(yytext().substring(1));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> action_action_2() throws Scanner.Exception {
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> action_action_3() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/action.mlc [20, 9]
                append(yytext());
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> action_action_4() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/action.mlc [21, 9]
                error("Unterminated action");
            }
            return Maybe.Nothing();
        }
    }
    //from src/frontend/lexer/component/append_delim_region.mlc [1, 1]
    private class CompClass_append_delim_region extends ComponentInnerClass {
        
        public CompClass_append_delim_region() {
        }
        
        private static final int YYINITIAL = append_delim_region_YYINITIAL_STATE; //from src/frontend/lexer/component/append_delim_region.mlc [1, 1]
        
        public <T> void appendToStartDelim(T t) {
            state_component.appendToStartDelim(t);
        }
        
        public boolean isAppend() {
            return true;
        }
        public boolean expectsStartDelim() {
            return true;
        }
        public Maybe<? extends Symbol> performAppendAction(int startLine, int startCol, int endLine, int endCol, String text) throws Scanner.Exception {
            if(Object.class != null) {
                //from null [6, 1]
                /*(int startLine, int startCol, int endLine, int endCol, String text)*/
    return Maybe.Just(symbol(APPEND_WITH_START_DELIM_REGION, text, startLine + 1, startCol + 1, endLine + 1, endCol + 1));
            }
            return Maybe.Nothing();
        }
        public <T> void append(T t) {
            state_component.append(t);
        }
        
        public int getStartState() {
            //from src/frontend/lexer/component/append_delim_region.mlc [1, 1]
            return YYINITIAL;
        }
        
        public int getSymbolValue() {
            return 2;
        }
        
        public Maybe<? extends Symbol> append_delim_region_action_1() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/append_delim_region.mlc [14, 27]
                append(yytext().substring(1));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> append_delim_region_action_2() throws Scanner.Exception {
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> append_delim_region_action_3() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/append_delim_region.mlc [20, 9]
                append(yytext());
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> append_delim_region_action_4() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/append_delim_region.mlc [21, 9]
                error("Unterminated append region");
            }
            return Maybe.Nothing();
        }
    }
    //from src/frontend/lexer/component/append_region.mlc [1, 1]
    private class CompClass_append_region extends ComponentInnerClass {
        
        public CompClass_append_region() {
        }
        
        private static final int YYINITIAL = append_region_YYINITIAL_STATE; //from src/frontend/lexer/component/append_region.mlc [1, 1]
        
        public <T> void appendToStartDelim(T t) {
            state_component.appendToStartDelim(t);
        }
        
        public boolean isAppend() {
            return true;
        }
        public boolean expectsStartDelim() {
            return true;
        }
        public Maybe<? extends Symbol> performAppendAction(int startLine, int startCol, int endLine, int endCol, String text) throws Scanner.Exception {
            if(Object.class != null) {
                //from null [6, 1]
                /*(int startLine, int startCol, int endLine, int endCol, String text)*/
    return Maybe.Just(symbol(APPEND_REGION, text, startLine + 1, startCol + 1, endLine + 1, endCol + 1));
            }
            return Maybe.Nothing();
        }
        public <T> void append(T t) {
            state_component.append(t);
        }
        
        public int getStartState() {
            //from src/frontend/lexer/component/append_region.mlc [1, 1]
            return YYINITIAL;
        }
        
        public int getSymbolValue() {
            return 3;
        }
        
        public Maybe<? extends Symbol> append_region_action_1() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/append_region.mlc [14, 22]
                append(yytext().substring(1));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> append_region_action_2() throws Scanner.Exception {
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> append_region_action_3() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/append_region.mlc [20, 9]
                append(yytext());
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> append_region_action_4() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/append_region.mlc [21, 9]
                error("Unterminated append region");
            }
            return Maybe.Nothing();
        }
    }
    //from src/frontend/lexer/shared/base.mlc [1, 1]
    private class CompClass_base extends ComponentInnerClass {
        
        public CompClass_base() {
        }
        
        private static final int YYINITIAL = base_YYINITIAL_STATE; //from src/frontend/lexer/shared/base.mlc [1, 1]
        
        public <T> void appendToStartDelim(T t) {
            state_component.appendToStartDelim(t);
        }
        
        
        public int getStartState() {
            //from src/frontend/lexer/shared/base.mlc [1, 1]
            return YYINITIAL;
        }
        
        public int getSymbolValue() {
            return 4;
        }
        
        public Maybe<? extends Symbol> base_action_1() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/shared/base.mlc [11, 9]
                error("Unexpected character: " + yytext());
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> base_action_2() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/shared/base.mlc [12, 9]
                return Maybe.Just(symbol(EOF));
            }
            return Maybe.Nothing();
        }
    }
    //from src/frontend/lexer/shared/bracket_comment.mlc [1, 1]
    private class CompClass_bracket_comment extends ComponentInnerClass {
        
        public CompClass_bracket_comment() {
        }
        
        private static final int YYINITIAL = bracket_comment_YYINITIAL_STATE; //from src/frontend/lexer/shared/bracket_comment.mlc [1, 1]
        
        public <T> void appendToStartDelim(T t) {
            state_component.appendToStartDelim(t);
        }
        
        
        public int getStartState() {
            //from src/frontend/lexer/shared/bracket_comment.mlc [1, 1]
            return YYINITIAL;
        }
        
        public int getSymbolValue() {
            return 5;
        }
        
        public Maybe<? extends Symbol> bracket_comment_action_1() throws Scanner.Exception {
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> bracket_comment_action_2() throws Scanner.Exception {
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> bracket_comment_action_3() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/shared/bracket_comment.mlc [15, 9]
                /* ignore */
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> bracket_comment_action_4() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/shared/bracket_comment.mlc [16, 9]
                error("Unterminated bracket comment");
            }
            return Maybe.Nothing();
        }
    }
    //from src/frontend/lexer/component/char_class.mlc [1, 1]
    private class CompClass_char_class extends ComponentInnerClass {
        
        public CompClass_char_class() {
        }
        
        private static final int YYINITIAL = char_class_YYINITIAL_STATE; //from src/frontend/lexer/component/char_class.mlc [1, 1]
        
        public <T> void appendToStartDelim(T t) {
            state_component.appendToStartDelim(t);
        }
        
        
        public int getStartState() {
            //from src/frontend/lexer/component/char_class.mlc [1, 1]
            return YYINITIAL;
        }
        
        public int getSymbolValue() {
            return 6;
        }
        
        public Maybe<? extends Symbol> char_class_action_1() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/char_class.mlc [11, 4]
                return Maybe.Just(symbol(CHAR_CLASS_NEGATE));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> char_class_action_2() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/char_class.mlc [12, 4]
                return Maybe.Just(symbol(DASH));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> char_class_action_3() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/char_class.mlc [13, 4]
                return Maybe.Just(symbol(RSQUARE));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> char_class_action_4() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/char_class.mlc [15, 18]
                return Maybe.Just(symbol(ESCAPE_SEQUENCE, yytext()));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> char_class_action_5() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/char_class.mlc [16, 9]
                return Maybe.Just(symbol(CHAR_CLASS_CHAR, yytext().substring(1)));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> char_class_action_6() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/char_class.mlc [17, 4]
                error("Incomplete escape sequence");
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> char_class_action_7() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/char_class.mlc [22, 9]
                return Maybe.Just(symbol(CHAR_CLASS_CHAR, yytext()));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> char_class_action_8() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/char_class.mlc [23, 9]
                error("Unterminated character class");
            }
            return Maybe.Nothing();
        }
    }
    //from src/frontend/lexer/component/comp_options.mlc [1, 1]
    private class CompClass_comp_options extends ComponentInnerClass {
        
        public CompClass_comp_options() {
        }
        
        private static final int YYINITIAL = comp_options_YYINITIAL_STATE; //from src/frontend/lexer/component/comp_options.mlc [1, 1]
        
        public <T> void appendToStartDelim(T t) {
            state_component.appendToStartDelim(t);
        }
        
        
        public int getStartState() {
            //from src/frontend/lexer/component/comp_options.mlc [1, 1]
            return YYINITIAL;
        }
        
        public int getSymbolValue() {
            return 7;
        }
        
        public Maybe<? extends Symbol> comp_options_action_1() throws Scanner.Exception {
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_options_action_2() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_options.mlc [13, 18]
                /* ignore */
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_options_action_3() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_options.mlc [14, 19]
                /* ignore */
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_options_action_4() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_options.mlc [16, 18]
                appendToStartDelim(""); /*tweak start pos*/
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_options_action_5() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_options.mlc [17, 18]
                appendToStartDelim(""); /*tweak start pos*/
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_options_action_6() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_options.mlc [18, 20]
                appendToStartDelim(""); /*tweak start pos*/
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_options_action_7() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_options.mlc [19, 34]
                appendToStartDelim(""); /*tweak start pos*/
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_options_action_8() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_options.mlc [22, 34]
                return Maybe.Just(symbol(HELPER_DIRECTIVE));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_options_action_9() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_options.mlc [27, 37]
                return Maybe.Just(symbol(COMPONENT_DIRECTIVE));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_options_action_10() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_options.mlc [30, 33]
                return Maybe.Just(symbol(STATE_DIRECTIVE));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_options_action_11() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_options.mlc [33, 34]
                return Maybe.Just(symbol(XSTATE_DIRECTIVE));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_options_action_12() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_options.mlc [36, 33]
                return Maybe.Just(symbol(START_DIRECTIVE));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_options_action_13() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_options.mlc [41, 34]
                return Maybe.Just(symbol(EXTERN_DIRECTIVE));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_options_action_14() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_options.mlc [44, 34]
                return Maybe.Just(symbol(IMPORT_DIRECTIVE));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_options_action_15() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_options.mlc [47, 37]
                return Maybe.Just(symbol(INITTHROW_DIRECTIVE));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_options_action_16() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_options.mlc [50, 36]
                return Maybe.Just(symbol(LEXTHROW_DIRECTIVE));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_options_action_17() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_options.mlc [55, 5]
                error("Invalid directive");
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_options_action_18() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_options.mlc [58, 20]
                return Maybe.Just(symbol(SECTION_SEPARATOR));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_options_action_19() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/shared/comment_start.mlc [12, 11]
                /* ignore */
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_options_action_20() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_options.mlc [66, 14]
                return Maybe.Just(symbol(IDENTIFIER, yytext().trim()));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_options_action_21() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_options.mlc [69, 9]
                error("Unexpected character: " + yytext());
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_options_action_22() throws Scanner.Exception {
            return Maybe.Nothing();
        }
    }
    //from src/frontend/lexer/component/comp_rules.mlc [1, 1]
    private class CompClass_comp_rules extends ComponentInnerClass {
        
        public CompClass_comp_rules() {
        }
        
        private static final int YYINITIAL = comp_rules_YYINITIAL_STATE; //from src/frontend/lexer/component/comp_rules.mlc [1, 1]
        
        public <T> void appendToStartDelim(T t) {
            state_component.appendToStartDelim(t);
        }
        
        
        public int getStartState() {
            //from src/frontend/lexer/component/comp_rules.mlc [1, 1]
            return YYINITIAL;
        }
        
        public int getSymbolValue() {
            return 8;
        }
        
        public Maybe<? extends Symbol> comp_rules_action_1() throws Scanner.Exception {
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_rules_action_2() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_rules.mlc [11, 18]
                /* ignore */
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_rules_action_3() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_rules.mlc [12, 19]
                /* ignore */
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_rules_action_4() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_rules.mlc [14, 20]
                return Maybe.Just(symbol(LANGLE));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_rules_action_5() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_rules.mlc [18, 39]
                return Maybe.Just(symbol(OPEN_MACRO));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_rules_action_6() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_rules.mlc [22, 44]
                return Maybe.Just(symbol(OPEN_REPETITION_SPEC));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_rules_action_7() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_rules.mlc [26, 14]
                appendToStartDelim(""); /*tweak start pos*/
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_rules_action_8() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_rules.mlc [29, 21]
                return Maybe.Just(symbol(CLOSE_RULE_GROUP));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_rules_action_9() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_rules.mlc [31, 18]
                return Maybe.Just(symbol(GROUP_SEPARATOR));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_rules_action_10() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_rules.mlc [32, 50]
                return Maybe.Just(symbol(INHERIT_SECTION_SEPARATOR));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_rules_action_11() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_rules.mlc [37, 34]
                return Maybe.Just(symbol(DELETE_DIRECTIVE));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_rules_action_12() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [12, 4]
                return Maybe.Just(symbol(LPAREN));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_rules_action_13() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [13, 4]
                return Maybe.Just(symbol(RPAREN));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_rules_action_14() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [14, 4]
                return Maybe.Just(symbol(LSQUARE));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_rules_action_15() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [15, 4]
                return Maybe.Just(symbol(RSQUARE));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_rules_action_16() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [17, 4]
                return Maybe.Just(symbol(BEGINNING_OF_LINE));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_rules_action_17() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [18, 4]
                return Maybe.Just(symbol(END_OF_LINE));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_rules_action_18() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [20, 4]
                return Maybe.Just(symbol(NOT));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_rules_action_19() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [21, 4]
                return Maybe.Just(symbol(UPTO));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_rules_action_20() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [23, 4]
                return Maybe.Just(symbol(STAR));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_rules_action_21() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [24, 4]
                return Maybe.Just(symbol(PLUS));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_rules_action_22() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [25, 4]
                return Maybe.Just(symbol(OPT));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_rules_action_23() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [27, 4]
                return Maybe.Just(symbol(DASH));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_rules_action_24() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [29, 4]
                return Maybe.Just(symbol(SLASH));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_rules_action_25() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [30, 4]
                return Maybe.Just(symbol(ALT));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_rules_action_26() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [32, 4]
                return Maybe.Just(symbol(DOT));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_rules_action_27() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [34, 5]
                return Maybe.Just(symbol(ASSIGN));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_rules_action_28() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [36, 11]
                return Maybe.Just(symbol(ANY_PATTERN));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_rules_action_29() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [37, 11]
                return Maybe.Just(symbol(EOF_PATTERN));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_rules_action_30() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [39, 18]
                return Maybe.Just(symbol(ESCAPE_SEQUENCE, yytext()));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_rules_action_31() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [40, 9]
                return Maybe.Just(symbol(NON_META, yytext().substring(1)));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_rules_action_32() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [41, 4]
                error("Incomplete escape sequence");
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_rules_action_33() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [43, 9]
                appendToStartDelim(""); /*tweak start pos*/
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_rules_action_34() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [46, 11]
                return Maybe.Just(symbol(NON_META, yytext()));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_rules_action_35() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/shared/comment_start.mlc [12, 11]
                /* ignore */
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_rules_action_36() throws Scanner.Exception {
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> comp_rules_action_37() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [51, 9]
                error("Unexpected character: " + yytext());
            }
            return Maybe.Nothing();
        }
    }
    //from src/frontend/lexer/shared/decl_region.mlc [1, 1]
    private class CompClass_decl_region extends ComponentInnerClass {
        
        public CompClass_decl_region() {
        }
        
        private static final int YYINITIAL = decl_region_YYINITIAL_STATE; //from src/frontend/lexer/shared/decl_region.mlc [1, 1]
        
        public <T> void appendToStartDelim(T t) {
            state_component.appendToStartDelim(t);
        }
        
        public boolean isAppend() {
            return true;
        }
        public boolean expectsStartDelim() {
            return true;
        }
        public Maybe<? extends Symbol> performAppendAction(int startLine, int startCol, int endLine, int endCol, String text) throws Scanner.Exception {
            if(Object.class != null) {
                //from null [6, 1]
                /*(int startLine, int startCol, int endLine, int endCol, String text)*/
    return Maybe.Just(symbol(DECL_REGION, text, startLine + 1, startCol + 1, endLine + 1, endCol + 1));
            }
            return Maybe.Nothing();
        }
        public <T> void append(T t) {
            state_component.append(t);
        }
        
        public int getStartState() {
            //from src/frontend/lexer/shared/decl_region.mlc [1, 1]
            return YYINITIAL;
        }
        
        public int getSymbolValue() {
            return 9;
        }
        
        public Maybe<? extends Symbol> decl_region_action_1() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/shared/decl_region.mlc [14, 20]
                append(yytext().substring(1));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> decl_region_action_2() throws Scanner.Exception {
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> decl_region_action_3() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/shared/decl_region.mlc [20, 9]
                append(yytext());
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> decl_region_action_4() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/shared/decl_region.mlc [21, 9]
                error("Unterminated declaration region");
            }
            return Maybe.Nothing();
        }
    }
    //from src/frontend/lexer/component/delete_directive.mlc [1, 1]
    private class CompClass_delete_directive extends ComponentInnerClass {
        
        public CompClass_delete_directive() {
        }
        
        private static final int YYINITIAL = delete_directive_YYINITIAL_STATE; //from src/frontend/lexer/component/delete_directive.mlc [1, 1]
        
        public <T> void appendToStartDelim(T t) {
            state_component.appendToStartDelim(t);
        }
        
        
        public int getStartState() {
            //from src/frontend/lexer/component/delete_directive.mlc [1, 1]
            return YYINITIAL;
        }
        
        public int getSymbolValue() {
            return 10;
        }
        
        public Maybe<? extends Symbol> delete_directive_action_1() throws Scanner.Exception {
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> delete_directive_action_2() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/delete_directive.mlc [9, 18]
                return Maybe.Just(symbol(DELETE_TERMINATOR));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> delete_directive_action_3() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/delete_directive.mlc [10, 19]
                /* ignore */
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> delete_directive_action_4() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/delete_directive.mlc [12, 20]
                return Maybe.Just(symbol(LANGLE));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> delete_directive_action_5() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/delete_directive.mlc [14, 39]
                return Maybe.Just(symbol(OPEN_MACRO));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> delete_directive_action_6() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/delete_directive.mlc [18, 44]
                return Maybe.Just(symbol(OPEN_REPETITION_SPEC));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> delete_directive_action_7() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [12, 4]
                return Maybe.Just(symbol(LPAREN));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> delete_directive_action_8() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [13, 4]
                return Maybe.Just(symbol(RPAREN));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> delete_directive_action_9() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [14, 4]
                return Maybe.Just(symbol(LSQUARE));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> delete_directive_action_10() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [15, 4]
                return Maybe.Just(symbol(RSQUARE));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> delete_directive_action_11() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [17, 4]
                return Maybe.Just(symbol(BEGINNING_OF_LINE));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> delete_directive_action_12() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [18, 4]
                return Maybe.Just(symbol(END_OF_LINE));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> delete_directive_action_13() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [20, 4]
                return Maybe.Just(symbol(NOT));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> delete_directive_action_14() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [21, 4]
                return Maybe.Just(symbol(UPTO));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> delete_directive_action_15() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [23, 4]
                return Maybe.Just(symbol(STAR));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> delete_directive_action_16() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [24, 4]
                return Maybe.Just(symbol(PLUS));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> delete_directive_action_17() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [25, 4]
                return Maybe.Just(symbol(OPT));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> delete_directive_action_18() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [27, 4]
                return Maybe.Just(symbol(DASH));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> delete_directive_action_19() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [29, 4]
                return Maybe.Just(symbol(SLASH));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> delete_directive_action_20() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [30, 4]
                return Maybe.Just(symbol(ALT));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> delete_directive_action_21() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [32, 4]
                return Maybe.Just(symbol(DOT));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> delete_directive_action_22() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [34, 5]
                return Maybe.Just(symbol(ASSIGN));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> delete_directive_action_23() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [36, 11]
                return Maybe.Just(symbol(ANY_PATTERN));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> delete_directive_action_24() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [37, 11]
                return Maybe.Just(symbol(EOF_PATTERN));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> delete_directive_action_25() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [39, 18]
                return Maybe.Just(symbol(ESCAPE_SEQUENCE, yytext()));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> delete_directive_action_26() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [40, 9]
                return Maybe.Just(symbol(NON_META, yytext().substring(1)));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> delete_directive_action_27() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [41, 4]
                error("Incomplete escape sequence");
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> delete_directive_action_28() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [43, 9]
                appendToStartDelim(""); /*tweak start pos*/
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> delete_directive_action_29() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [46, 11]
                return Maybe.Just(symbol(NON_META, yytext()));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> delete_directive_action_30() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/shared/comment_start.mlc [12, 11]
                /* ignore */
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> delete_directive_action_31() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [51, 9]
                error("Unexpected character: " + yytext());
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> delete_directive_action_32() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/delete_directive.mlc [27, 9]
                return Maybe.Just(symbol(DELETE_TERMINATOR));
            }
            return Maybe.Nothing();
        }
    }
    //from src/frontend/lexer/shared/init_region.mlc [1, 1]
    private class CompClass_init_region extends ComponentInnerClass {
        
        public CompClass_init_region() {
        }
        
        private static final int YYINITIAL = init_region_YYINITIAL_STATE; //from src/frontend/lexer/shared/init_region.mlc [1, 1]
        
        public <T> void appendToStartDelim(T t) {
            state_component.appendToStartDelim(t);
        }
        
        public boolean isAppend() {
            return true;
        }
        public boolean expectsStartDelim() {
            return true;
        }
        public Maybe<? extends Symbol> performAppendAction(int startLine, int startCol, int endLine, int endCol, String text) throws Scanner.Exception {
            if(Object.class != null) {
                //from null [6, 1]
                /*(int startLine, int startCol, int endLine, int endCol, String text)*/
    return Maybe.Just(symbol(INIT_REGION, text, startLine + 1, startCol + 1, endLine + 1, endCol + 1));
            }
            return Maybe.Nothing();
        }
        public <T> void append(T t) {
            state_component.append(t);
        }
        
        public int getStartState() {
            //from src/frontend/lexer/shared/init_region.mlc [1, 1]
            return YYINITIAL;
        }
        
        public int getSymbolValue() {
            return 11;
        }
        
        public Maybe<? extends Symbol> init_region_action_1() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/shared/init_region.mlc [14, 20]
                append(yytext().substring(1));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> init_region_action_2() throws Scanner.Exception {
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> init_region_action_3() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/shared/init_region.mlc [20, 9]
                append(yytext());
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> init_region_action_4() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/shared/init_region.mlc [21, 9]
                error("Unterminated initialization region");
            }
            return Maybe.Nothing();
        }
    }
    //from src/frontend/lexer/component/macro_defn.mlc [1, 1]
    private class CompClass_macro_defn extends ComponentInnerClass {
        
        public CompClass_macro_defn() {
        }
        
        private static final int YYINITIAL = macro_defn_YYINITIAL_STATE; //from src/frontend/lexer/component/macro_defn.mlc [1, 1]
        
        public <T> void appendToStartDelim(T t) {
            state_component.appendToStartDelim(t);
        }
        
        
        public int getStartState() {
            //from src/frontend/lexer/component/macro_defn.mlc [1, 1]
            return YYINITIAL;
        }
        
        public int getSymbolValue() {
            return 12;
        }
        
        public Maybe<? extends Symbol> macro_defn_action_1() throws Scanner.Exception {
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> macro_defn_action_2() throws Scanner.Exception {
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> macro_defn_action_3() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/macro_defn.mlc [12, 19]
                /* ignore */
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> macro_defn_action_4() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/macro_defn.mlc [14, 39]
                return Maybe.Just(symbol(OPEN_MACRO));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> macro_defn_action_5() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/macro_defn.mlc [18, 44]
                return Maybe.Just(symbol(OPEN_REPETITION_SPEC));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> macro_defn_action_6() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [12, 4]
                return Maybe.Just(symbol(LPAREN));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> macro_defn_action_7() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [13, 4]
                return Maybe.Just(symbol(RPAREN));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> macro_defn_action_8() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [14, 4]
                return Maybe.Just(symbol(LSQUARE));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> macro_defn_action_9() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [15, 4]
                return Maybe.Just(symbol(RSQUARE));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> macro_defn_action_10() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [17, 4]
                return Maybe.Just(symbol(BEGINNING_OF_LINE));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> macro_defn_action_11() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [18, 4]
                return Maybe.Just(symbol(END_OF_LINE));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> macro_defn_action_12() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [20, 4]
                return Maybe.Just(symbol(NOT));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> macro_defn_action_13() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [21, 4]
                return Maybe.Just(symbol(UPTO));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> macro_defn_action_14() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [23, 4]
                return Maybe.Just(symbol(STAR));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> macro_defn_action_15() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [24, 4]
                return Maybe.Just(symbol(PLUS));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> macro_defn_action_16() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [25, 4]
                return Maybe.Just(symbol(OPT));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> macro_defn_action_17() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [27, 4]
                return Maybe.Just(symbol(DASH));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> macro_defn_action_18() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [29, 4]
                return Maybe.Just(symbol(SLASH));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> macro_defn_action_19() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [30, 4]
                return Maybe.Just(symbol(ALT));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> macro_defn_action_20() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [32, 4]
                return Maybe.Just(symbol(DOT));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> macro_defn_action_21() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [34, 5]
                return Maybe.Just(symbol(ASSIGN));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> macro_defn_action_22() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [36, 11]
                return Maybe.Just(symbol(ANY_PATTERN));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> macro_defn_action_23() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [37, 11]
                return Maybe.Just(symbol(EOF_PATTERN));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> macro_defn_action_24() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [39, 18]
                return Maybe.Just(symbol(ESCAPE_SEQUENCE, yytext()));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> macro_defn_action_25() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [40, 9]
                return Maybe.Just(symbol(NON_META, yytext().substring(1)));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> macro_defn_action_26() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [41, 4]
                error("Incomplete escape sequence");
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> macro_defn_action_27() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [43, 9]
                appendToStartDelim(""); /*tweak start pos*/
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> macro_defn_action_28() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [46, 11]
                return Maybe.Just(symbol(NON_META, yytext()));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> macro_defn_action_29() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/shared/comment_start.mlc [12, 11]
                /* ignore */
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> macro_defn_action_30() throws Scanner.Exception {
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> macro_defn_action_31() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/comp_symbols.mlc [51, 9]
                error("Unexpected character: " + yytext());
            }
            return Maybe.Nothing();
        }
    }
    //from src/frontend/lexer/component/macro_invoc.mlc [1, 1]
    private class CompClass_macro_invoc extends ComponentInnerClass {
        
        public CompClass_macro_invoc() {
        }
        
        private static final int YYINITIAL = macro_invoc_YYINITIAL_STATE; //from src/frontend/lexer/component/macro_invoc.mlc [1, 1]
        
        public <T> void appendToStartDelim(T t) {
            state_component.appendToStartDelim(t);
        }
        
        
        public int getStartState() {
            //from src/frontend/lexer/component/macro_invoc.mlc [1, 1]
            return YYINITIAL;
        }
        
        public int getSymbolValue() {
            return 13;
        }
        
        public Maybe<? extends Symbol> macro_invoc_action_1() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/macro_invoc.mlc [12, 18]
                /*ignore*/
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> macro_invoc_action_2() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/macro_invoc.mlc [13, 19]
                /*ignore*/
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> macro_invoc_action_3() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/macro_invoc.mlc [15, 21]
                return Maybe.Just(symbol(CLOSE_MACRO));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> macro_invoc_action_4() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/macro_invoc.mlc [20, 14]
                return Maybe.Just(symbol(IDENTIFIER, yytext()));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> macro_invoc_action_5() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/macro_invoc.mlc [24, 9]
                error("Unexpected character in macro invocation: " + yytext());
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> macro_invoc_action_6() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/macro_invoc.mlc [25, 9]
                error("Unterminated macro invocation");
            }
            return Maybe.Nothing();
        }
    }
    //from src/frontend/lexer/component/mtok_decl.mlc [1, 1]
    private class CompClass_mtok_decl extends ComponentInnerClass {
        
        public CompClass_mtok_decl() {
        }
        
        private static final int YYINITIAL = mtok_decl_YYINITIAL_STATE; //from src/frontend/lexer/component/mtok_decl.mlc [1, 1]
        
        public <T> void appendToStartDelim(T t) {
            state_component.appendToStartDelim(t);
        }
        
        
        public int getStartState() {
            //from src/frontend/lexer/component/mtok_decl.mlc [1, 1]
            return YYINITIAL;
        }
        
        public int getSymbolValue() {
            return 14;
        }
        
        public Maybe<? extends Symbol> mtok_decl_action_1() throws Scanner.Exception {
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> mtok_decl_action_2() throws Scanner.Exception {
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> mtok_decl_action_3() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/mtok_decl.mlc [13, 19]
                /* ignore */
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> mtok_decl_action_4() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/shared/comment_start.mlc [12, 11]
                /* ignore */
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> mtok_decl_action_5() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/mtok_decl.mlc [18, 14]
                return Maybe.Just(symbol(IDENTIFIER, yytext()));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> mtok_decl_action_6() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/mtok_decl.mlc [22, 9]
                error("Unexpected character in meta token specification: " + yytext());
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> mtok_decl_action_7() throws Scanner.Exception {
            return Maybe.Nothing();
        }
    }
    //from src/frontend/lexer/component/open_rule_group.mlc [1, 1]
    private class CompClass_open_rule_group extends ComponentInnerClass {
        
        public CompClass_open_rule_group() {
        }
        
        private static final int YYINITIAL = open_rule_group_YYINITIAL_STATE; //from src/frontend/lexer/component/open_rule_group.mlc [1, 1]
        
        public <T> void appendToStartDelim(T t) {
            state_component.appendToStartDelim(t);
        }
        
        
        public int getStartState() {
            //from src/frontend/lexer/component/open_rule_group.mlc [1, 1]
            return YYINITIAL;
        }
        
        public int getSymbolValue() {
            return 15;
        }
        
        public Maybe<? extends Symbol> open_rule_group_action_1() throws Scanner.Exception {
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> open_rule_group_action_2() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/open_rule_group.mlc [12, 18]
                /* ignore */
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> open_rule_group_action_3() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/open_rule_group.mlc [13, 19]
                /* ignore */
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> open_rule_group_action_4() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/open_rule_group.mlc [15, 20]
                return Maybe.Just(symbol(OPEN_RULE_GROUP));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> open_rule_group_action_5() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/shared/comment_start.mlc [12, 11]
                /* ignore */
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> open_rule_group_action_6() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/open_rule_group.mlc [20, 9]
                error("Expecting '{', found: " + yytext());
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> open_rule_group_action_7() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/open_rule_group.mlc [21, 9]
                error("No group associated with state list");
            }
            return Maybe.Nothing();
        }
    }
    //from src/frontend/lexer/component/repetition_spec.mlc [1, 1]
    private class CompClass_repetition_spec extends ComponentInnerClass {
        
        public CompClass_repetition_spec() {
        }
        
        private static final int YYINITIAL = repetition_spec_YYINITIAL_STATE; //from src/frontend/lexer/component/repetition_spec.mlc [1, 1]
        
        public <T> void appendToStartDelim(T t) {
            state_component.appendToStartDelim(t);
        }
        
        
        public int getStartState() {
            //from src/frontend/lexer/component/repetition_spec.mlc [1, 1]
            return YYINITIAL;
        }
        
        public int getSymbolValue() {
            return 16;
        }
        
        public Maybe<? extends Symbol> repetition_spec_action_1() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/repetition_spec.mlc [12, 18]
                /*ignore*/
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> repetition_spec_action_2() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/repetition_spec.mlc [13, 19]
                /*ignore*/
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> repetition_spec_action_3() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/repetition_spec.mlc [16, 3]
                return Maybe.Just(symbol(COMMA));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> repetition_spec_action_4() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/repetition_spec.mlc [18, 21]
                return Maybe.Just(symbol(CLOSE_REPETITION_SPEC));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> repetition_spec_action_5() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/repetition_spec.mlc [23, 10]
                return Maybe.Just(symbol(NUMBER, yytext()));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> repetition_spec_action_6() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/repetition_spec.mlc [27, 9]
                error("Unexpected character in repetition specification: " + yytext());
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> repetition_spec_action_7() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/repetition_spec.mlc [28, 9]
                error("Unterminated repetition specification");
            }
            return Maybe.Nothing();
        }
    }
    //from src/frontend/lexer/component/state_list.mlc [1, 1]
    private class CompClass_state_list extends ComponentInnerClass {
        
        public CompClass_state_list() {
        }
        
        private static final int YYINITIAL = state_list_YYINITIAL_STATE; //from src/frontend/lexer/component/state_list.mlc [1, 1]
        
        public <T> void appendToStartDelim(T t) {
            state_component.appendToStartDelim(t);
        }
        
        
        public int getStartState() {
            //from src/frontend/lexer/component/state_list.mlc [1, 1]
            return YYINITIAL;
        }
        
        public int getSymbolValue() {
            return 17;
        }
        
        public Maybe<? extends Symbol> state_list_action_1() throws Scanner.Exception {
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> state_list_action_2() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/state_list.mlc [12, 21]
                return Maybe.Just(symbol(RANGLE));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> state_list_action_3() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/state_list.mlc [15, 18]
                /* ignore */
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> state_list_action_4() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/state_list.mlc [16, 19]
                /* ignore */
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> state_list_action_5() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/state_list.mlc [19, 3]
                return Maybe.Just(symbol(COMMA));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> state_list_action_6() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/shared/comment_start.mlc [12, 11]
                /* ignore */
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> state_list_action_7() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/state_list.mlc [25, 14]
                return Maybe.Just(symbol(IDENTIFIER, yytext()));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> state_list_action_8() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/state_list.mlc [30, 9]
                error("Unexpected character in state list: " + yytext());
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> state_list_action_9() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/component/state_list.mlc [31, 9]
                error("Unterminated state list");
            }
            return Maybe.Nothing();
        }
    }
    //from src/frontend/lexer/shared/string_id_directive.mlc [1, 1]
    private class CompClass_string_id_directive extends ComponentInnerClass {
        
        public CompClass_string_id_directive() {
        }
        
        private static final int YYINITIAL = string_id_directive_YYINITIAL_STATE; //from src/frontend/lexer/shared/string_id_directive.mlc [1, 1]
        
        public <T> void appendToStartDelim(T t) {
            state_component.appendToStartDelim(t);
        }
        
        
        public int getStartState() {
            //from src/frontend/lexer/shared/string_id_directive.mlc [1, 1]
            return YYINITIAL;
        }
        
        public int getSymbolValue() {
            return 18;
        }
        
        public Maybe<? extends Symbol> string_id_directive_action_1() throws Scanner.Exception {
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> string_id_directive_action_2() throws Scanner.Exception {
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> string_id_directive_action_3() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/shared/string_id_directive.mlc [14, 19]
                /* ignore */
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> string_id_directive_action_4() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/shared/string_id_directive.mlc [17, 9]
                appendToStartDelim(""); /*tweak start pos*/
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> string_id_directive_action_5() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/shared/string_id_directive.mlc [19, 3]
                return Maybe.Just(symbol(COMMA));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> string_id_directive_action_6() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/shared/comment_start.mlc [12, 11]
                /* ignore */
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> string_id_directive_action_7() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/shared/string_id_directive.mlc [24, 14]
                return Maybe.Just(symbol(IDENTIFIER, yytext()));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> string_id_directive_action_8() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/shared/string_id_directive.mlc [25, 23]
                return Maybe.Just(symbol(QUALIFIED_IDENTIFIER, yytext()));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> string_id_directive_action_9() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/shared/string_id_directive.mlc [29, 9]
                error("Unexpected character in string/identifier directive: " + yytext());
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> string_id_directive_action_10() throws Scanner.Exception {
            return Maybe.Nothing();
        }
    }
    //from src/frontend/lexer/shared/string.mlc [1, 1]
    private class CompClass_string extends ComponentInnerClass {
        
        public CompClass_string() {
        }
        
        private static final int YYINITIAL = string_YYINITIAL_STATE; //from src/frontend/lexer/shared/string.mlc [1, 1]
        
        public <T> void appendToStartDelim(T t) {
            state_component.appendToStartDelim(t);
        }
        
        public boolean isAppend() {
            return true;
        }
        public boolean expectsStartDelim() {
            return true;
        }
        public Maybe<? extends Symbol> performAppendAction(int startLine, int startCol, int endLine, int endCol, String text) throws Scanner.Exception {
            if(Object.class != null) {
                //from null [6, 1]
                /*(int startLine, int startCol, int endLine, int endCol, String text)*/
    return Maybe.Just(symbol(STRING, text, startLine + 1, startCol + 1, endLine + 1, endCol + 1));
            }
            return Maybe.Nothing();
        }
        public <T> void append(T t) {
            state_component.append(t);
        }
        
        public int getStartState() {
            //from src/frontend/lexer/shared/string.mlc [1, 1]
            return YYINITIAL;
        }
        
        public int getSymbolValue() {
            return 19;
        }
        
        public Maybe<? extends Symbol> string_action_1() throws Scanner.Exception {
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> string_action_2() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/shared/string.mlc [15, 18]
                append(yytext());
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> string_action_3() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/shared/string.mlc [16, 9]
                append(yytext().substring(1));
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> string_action_4() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/shared/string.mlc [17, 4]
                error("Incomplete escape sequence");
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> string_action_5() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/shared/string.mlc [19, 18]
                error("Unterminated string literal");
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> string_action_6() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/shared/string.mlc [24, 9]
                append(yytext());
            }
            return Maybe.Nothing();
        }
        public Maybe<? extends Symbol> string_action_7() throws Scanner.Exception {
            if(Object.class != null) {
                //from src/frontend/lexer/shared/string.mlc [25, 9]
                error("Unterminated string literal");
            }
            return Maybe.Nothing();
        }
    }
    public static class MetaLexerClass_component {
        
        //// Symbols ////
        // <BOF>
        // %action%
        // %append_delim_region%
        // %append_region%
        // %base%
        // %bracket_comment%
        // %char_class%
        // %comp_options%
        // %comp_rules%
        // %decl_region%
        // %delete_directive%
        // %init_region%
        // %macro_defn%
        // %macro_invoc%
        // %mtok_decl%
        // %open_rule_group%
        // %repetition_spec%
        // %state_list%
        // %string_id_directive%
        // %string%
        // END_ACTION
        // EOF_ERROR
        // END_APPEND_DELIM_REGION
        // END_APPEND_REGION
        // START_BRACKET_COMMENT
        // END_BRACKET_COMMENT
        // END_CHAR_CLASS
        // START_DECL_REGION
        // START_INIT_REGION
        // START_APPEND_REGION
        // START_APPEND_DELIM_REGION
        // START_STRING_ID_DIRECTIVE
        // END_HEADER_SECTION
        // START_MACRO_DEFN
        // START_STATE_LIST
        // START_MACRO_INVOC
        // START_REP_SPEC
        // START_ACTION
        // START_DELETE_DIRECTIVE
        // START_CHAR_CLASS
        // START_STRING
        // END_RULE_SECTION
        // END_DECL_REGION
        // END_DELETE_DIRECTIVE
        // END_INIT_REGION
        // END_MACRO_DEFN
        // END_MACRO_INVOC
        // END_MTOK_DECL
        // END_OPEN_RULE_GROUP
        // END_REP_SPEC
        // END_STATE_LIST
        // END_STRING_ID_DIRECTIVE
        // END_STRING
        
        private static final Integer[][] trans_BASE = new Integer[][] {
            {0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
        };
        private static final Integer[] act_BASE = new Integer[] {null,12,};
        
        private static final Integer[][] trans_open_rule_group = new Integer[][] {
            {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,},
        };
        private static final Integer[] act_open_rule_group = new Integer[] {null,1,0,37,};
        
        private static final Integer[][] trans_macro_defn = new Integer[][] {
            {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,2,3,0,0,4,5,0,0,0,0,6,0,0,0,0,0,0,0,},
        };
        private static final Integer[] act_macro_defn = new Integer[] {null,0,5,6,3,9,26,};
        
        private static final Integer[][] trans_header = new Integer[][] {
            {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,2,3,4,5,6,7,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
        };
        private static final Integer[] act_header = new Integer[] {null,0,14,13,15,16,8,19,17,};
        
        private static final Integer[][] trans_delete_state_list = new Integer[][] {
            {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,},
        };
        private static final Integer[] act_delete_state_list = new Integer[] {null,1,0,36,};
        
        private static final Integer[][] trans_append_delim_region = new Integer[][] {
            {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
        };
        private static final Integer[] act_append_delim_region = new Integer[] {null,1,25,};
        
        private static final Integer[][] trans_decl_region = new Integer[][] {
            {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,},
        };
        private static final Integer[] act_decl_region = new Integer[] {null,1,23,};
        
        private static final Integer[][] trans_rules = new Integer[][] {
            {0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,3,0,0,0,0,0,0,4,0,0,5,6,7,8,9,10,11,12,0,0,0,0,0,0,0,0,0,0,0,},
        };
        private static final Integer[] act_rules = new Integer[] {null,7,11,0,8,10,5,6,2,4,3,9,20,};
        
        private static final Integer[][] trans_init_region = new Integer[][] {
            {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,},
        };
        private static final Integer[] act_init_region = new Integer[] {null,1,22,};
        
        private static final Integer[][] trans_append_region = new Integer[][] {
            {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
        };
        private static final Integer[] act_append_region = new Integer[] {null,1,24,};
        
        private static final Integer[][] trans_state_list = new Integer[][] {
            {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,},
        };
        private static final Integer[] act_state_list = new Integer[] {null,1,0,35,};
        
        private static final Integer[][] trans_string = new Integer[][] {
            {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,},
        };
        private static final Integer[] act_string = new Integer[] {null,1,34,};
        
        private static final Integer[][] trans_delete_directive = new Integer[][] {
            {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,2,3,4,0,0,5,6,0,0,7,0,0,0,0,0,0,0,0,0,},
        };
        private static final Integer[] act_delete_directive = new Integer[] {null,0,10,5,6,3,9,29,};
        
        private static final Integer[][] trans_bracket_comment = new Integer[][] {
            {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,2,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
        };
        private static final Integer[] act_bracket_comment = new Integer[] {null,1,0,27,};
        
        private static final Integer[][] trans_repetition_spec = new Integer[][] {
            {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,},
        };
        private static final Integer[] act_repetition_spec = new Integer[] {null,1,31,};
        
        private static final Integer[][] trans_mtok_decl = new Integer[][] {
            {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,},
        };
        private static final Integer[] act_mtok_decl = new Integer[] {null,0,32,};
        
        private static final Integer[][] trans_macro_invoc = new Integer[][] {
            {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,},
        };
        private static final Integer[] act_macro_invoc = new Integer[] {null,1,30,};
        
        private static final Integer[][] trans_string_id_directive = new Integer[][] {
            {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,3,0,},
        };
        private static final Integer[] act_string_id_directive = new Integer[] {null,0,9,33,};
        
        private static final Integer[][] trans_char_class = new Integer[][] {
            {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
        };
        private static final Integer[] act_char_class = new Integer[] {null,1,28,};
        
        private static final Integer[][] trans_action = new Integer[][] {
            {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,},
        };
        private static final Integer[] act_action = new Integer[] {null,21,1,};
        
        private static final Integer[][] trans_eof_error = new Integer[][] {
            {0,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
        };
        private static final Integer[] act_eof_error = new Integer[] {null,38,12,};
        
        private static final Integer[][][] transitionTables = new Integer[][][] {
            trans_header,
            trans_rules,
            trans_action,
            trans_init_region,
            trans_decl_region,
            trans_append_region,
            trans_append_delim_region,
            trans_macro_defn,
            trans_bracket_comment,
            trans_char_class,
            trans_delete_directive,
            trans_macro_invoc,
            trans_repetition_spec,
            trans_mtok_decl,
            trans_string_id_directive,
            trans_string,
            trans_state_list,
            trans_delete_state_list,
            trans_open_rule_group,
            trans_eof_error,
        };
        
        private static final Integer[][] actionTables = new Integer[][] {
            act_header,
            act_rules,
            act_action,
            act_init_region,
            act_decl_region,
            act_append_region,
            act_append_delim_region,
            act_macro_defn,
            act_bracket_comment,
            act_char_class,
            act_delete_directive,
            act_macro_invoc,
            act_repetition_spec,
            act_mtok_decl,
            act_string_id_directive,
            act_string,
            act_state_list,
            act_delete_state_list,
            act_open_rule_group,
            act_eof_error,
        };
        
        private static final Integer[][] rev_trans_rules = new Integer[][] {
            {1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
            {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
        };
        private static final Integer[] rev_act_rules = new Integer[] {null,null,1,};
        
        private static final Integer[][] rev_trans_action = new Integer[][] {
            {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
            {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
        };
        private static final Integer[] rev_act_action = new Integer[] {null,null,1,};
        
        private static final Integer[][] rev_trans_init_region = new Integer[][] {
            {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
            {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
        };
        private static final Integer[] rev_act_init_region = new Integer[] {null,null,1,};
        
        private static final Integer[][] rev_trans_decl_region = new Integer[][] {
            {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
            {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
        };
        private static final Integer[] rev_act_decl_region = new Integer[] {null,null,1,};
        
        private static final Integer[][] rev_trans_append_region = new Integer[][] {
            {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
            {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
        };
        private static final Integer[] rev_act_append_region = new Integer[] {null,null,1,};
        
        private static final Integer[][] rev_trans_append_delim_region = new Integer[][] {
            {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
            {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
        };
        private static final Integer[] rev_act_append_delim_region = new Integer[] {null,null,1,};
        
        private static final Integer[][] rev_trans_macro_defn = new Integer[][] {
            {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
            {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
        };
        private static final Integer[] rev_act_macro_defn = new Integer[] {null,null,1,};
        
        private static final Integer[][] rev_trans_bracket_comment = new Integer[][] {
            {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
            {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
        };
        private static final Integer[] rev_act_bracket_comment = new Integer[] {null,null,1,};
        
        private static final Integer[][] rev_trans_char_class = new Integer[][] {
            {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,},
            {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
        };
        private static final Integer[] rev_act_char_class = new Integer[] {null,null,1,};
        
        private static final Integer[][] rev_trans_delete_directive = new Integer[][] {
            {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
            {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
        };
        private static final Integer[] rev_act_delete_directive = new Integer[] {null,null,1,};
        
        private static final Integer[][] rev_trans_macro_invoc = new Integer[][] {
            {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
            {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
        };
        private static final Integer[] rev_act_macro_invoc = new Integer[] {null,null,1,};
        
        private static final Integer[][] rev_trans_repetition_spec = new Integer[][] {
            {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
            {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
        };
        private static final Integer[] rev_act_repetition_spec = new Integer[] {null,null,1,};
        
        private static final Integer[][] rev_trans_mtok_decl = new Integer[][] {
            {1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
            {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
        };
        private static final Integer[] rev_act_mtok_decl = new Integer[] {null,null,1,};
        
        private static final Integer[][] rev_trans_string_id_directive = new Integer[][] {
            {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
            {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
        };
        private static final Integer[] rev_act_string_id_directive = new Integer[] {null,null,1,};
        
        private static final Integer[][] rev_trans_string = new Integer[][] {
            {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,},
            {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
        };
        private static final Integer[] rev_act_string = new Integer[] {null,null,1,};
        
        private static final Integer[][] rev_trans_state_list = new Integer[][] {
            {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
            {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
        };
        private static final Integer[] rev_act_state_list = new Integer[] {null,null,1,};
        
        private static final Integer[][] rev_trans_delete_state_list = new Integer[][] {
            {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
            {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
        };
        private static final Integer[] rev_act_delete_state_list = new Integer[] {null,null,1,};
        
        private static final Integer[][] rev_trans_open_rule_group = new Integer[][] {
            {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
            {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
        };
        private static final Integer[] rev_act_open_rule_group = new Integer[] {null,null,1,};
        
        private static final Integer[][] rev_trans_eof_error = new Integer[][] {
            {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
            {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},
        };
        private static final Integer[] rev_act_eof_error = new Integer[] {null,null,1,};
        
        private static final Integer[][][] reverseTransitionTables = new Integer[][][] {
            rev_trans_bracket_comment,
            rev_trans_eof_error,
            rev_trans_action,
            rev_trans_char_class,
            rev_trans_delete_directive,
            rev_trans_macro_invoc,
            rev_trans_repetition_spec,
            rev_trans_mtok_decl,
            rev_trans_string_id_directive,
            rev_trans_string,
            rev_trans_state_list,
            rev_trans_open_rule_group,
            rev_trans_rules,
            rev_trans_init_region,
            rev_trans_decl_region,
            rev_trans_append_region,
            rev_trans_append_delim_region,
            rev_trans_macro_defn,
            rev_trans_delete_state_list,
        };
        
        private static final Integer[][] reverseActionTables = new Integer[][] {
            rev_act_bracket_comment,
            rev_act_eof_error,
            rev_act_action,
            rev_act_char_class,
            rev_act_delete_directive,
            rev_act_macro_invoc,
            rev_act_repetition_spec,
            rev_act_mtok_decl,
            rev_act_string_id_directive,
            rev_act_string,
            rev_act_state_list,
            rev_act_open_rule_group,
            rev_act_rules,
            rev_act_init_region,
            rev_act_decl_region,
            rev_act_append_region,
            rev_act_append_delim_region,
            rev_act_macro_defn,
            rev_act_delete_state_list,
        };
        
        private static final int[] actionMap = new int[] {8,19,2,9,10,11,12,13,14,15,16,18,1,3,4,5,6,7,17,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,};
        
        private final java.util.Stack<Integer> stateStack = new java.util.Stack<Integer>();
        
        private java.util.List<Integer> currentMatch = new java.util.ArrayList<Integer>();
        private int currentState = 0;
        private Integer[][] currentTransitionTable = trans_BASE;
        private Integer[] currentActionTable = act_BASE;
        
        public MetaLexerClass_component() {
            //Transition through states reachable by pure BOF patterns
            switchDFAs(/*header*/ 0); 
        }
        
        public Transition processSymbol(int sym) {
            currentMatch.add(sym);
            currentState = currentTransitionTable[currentState][sym];
            Integer mpatNum = currentActionTable[currentState];
            if(mpatNum == null) {
                return null;
            }
            int action = actionMap[mpatNum];
            Transition transition = new Transition(action, cleanMatch(mpatNum, currentMatch));
            switchDFAs(action);
            return transition;
        }
        
        private void switchDFAs(int action) {
            currentState = 0;
            currentMatch.clear();
            
            int nextEmbedding;
            if(action < 0) {
                stateStack.pop();
                nextEmbedding = stateStack.isEmpty() ? -1 : stateStack.peek();
            } else {
                stateStack.push(action);
                nextEmbedding = action;
            }
            
            if(nextEmbedding < 0) {
                currentTransitionTable = trans_BASE;
                currentActionTable = act_BASE;
            } else {
                currentTransitionTable = transitionTables[nextEmbedding];
                currentActionTable = actionTables[nextEmbedding];
            }
        }
        
        private java.util.List<Integer> cleanMatch(int mpatNum, java.util.List<Integer> rawMatch) {
            if(mpatNum >= reverseTransitionTables.length) {
                //don't need to clean end pattern matches - they aren't looked at
                return new java.util.ArrayList<Integer>(rawMatch);
            }
            
            java.util.List<Integer> cleanMatch = new java.util.ArrayList<Integer>();
            Integer[][] transitions = reverseTransitionTables[mpatNum];
            Integer[] actions = reverseActionTables[mpatNum];
            int dfaState = 0;
            for(int i = rawMatch.size() - 1; (i >= 0) && (actions[dfaState] == null); i--) {
                int sym = rawMatch.get(i);
                cleanMatch.add(sym);
                dfaState = transitions[dfaState][sym];
            }
            java.util.Collections.reverse(cleanMatch);
            return cleanMatch;
        }
        
        public static class Transition {
            private final int embeddingNum;
            private final java.util.List<Integer> match;
            
            public Transition(int embeddingNum, java.util.List<Integer> match) {
                this.embeddingNum = embeddingNum;
                this.match = new java.util.ArrayList<Integer>(match);
            }
            
            public int getEmbeddingNum() { return embeddingNum; }
            
            public java.util.List<Integer> getMatch() { return match; }
        }
        
    }
    private static class PairFilter {
        public static final PairFilter EMPTY = new PairFilter.Builder().build();
        
        private final java.util.Map<Integer, java.util.Set<Integer>> pairMap; //close -> open
        private final java.util.Set<Integer> allOpenSymbols;
        private final java.util.List<Integer> unclosedOpenSymbols; //really a stack, but then the iterator would go backwards
        
        private PairFilter(java.util.Map<Integer, java.util.Set<Integer>> pairMap, java.util.Set<Integer> allOpenSymbols) {
            this.pairMap = pairMap;
            this.allOpenSymbols = allOpenSymbols;
            this.unclosedOpenSymbols = new java.util.ArrayList<Integer>();
        }
        
        public static class Builder {
            private final java.util.Map<Integer, java.util.Set<Integer>> pairMap; //close -> open
            private final java.util.Set<Integer> allOpenSymbols;
            
            public Builder() {
                this.pairMap = new java.util.HashMap<Integer, java.util.Set<Integer>>();
                this.allOpenSymbols = new java.util.HashSet<Integer>();
            }
            
            public Builder add(int open, int close) {
                allOpenSymbols.add(open);
                java.util.Set<Integer> list = pairMap.get(close);
                if(list == null) {
                    list = new java.util.HashSet<Integer>();
                    pairMap.put(close, list);
                }
                list.add(open);
                return this;
            }
            
            public PairFilter build() {
                return new PairFilter(pairMap, allOpenSymbols);
            }
        }
        
        public boolean test(int sym) {
            //NB: closing-ness takes precedence over opening-ness
            java.util.Set<Integer> correspondingOpens = pairMap.get(sym);
            if(correspondingOpens != null) { //implies closing
                for(java.util.Iterator<Integer> it = unclosedOpenSymbols.iterator(); it.hasNext(); ) {
                    int open = it.next();
                    if(correspondingOpens.contains(open)) {
                        //if closing and have seen corresponding open, then close open and reject
                        it.remove();
                        return false;
                    }
                }
                //if closing and have not seen corresponding open, then accept
            }
            if(allOpenSymbols.contains(sym)) { //implies opening
                unclosedOpenSymbols.add(0, sym); //insert at beginning
            }
            return true;
        }
        
        public void clean(java.util.List<Integer> match) {
            java.util.Collections.reverse(match);
            for(int sym : match) {
                if(unclosedOpenSymbols.isEmpty()) {
                    return;
                }
                
                if(unclosedOpenSymbols.get(0) == sym) {
                    unclosedOpenSymbols.remove(0);
                }
            }
        }
        
        public void reset() {
            unclosedOpenSymbols.clear();
        }
    }
    public class EmbeddingRecord {
        private final String name;
        private final ComponentInnerClass comp;
        private final PairFilter filter;
        
        public EmbeddingRecord(String name, ComponentInnerClass comp, PairFilter filter) {
            this.name = name;
            this.comp = comp;
            this.filter = filter;
        }
        
        public String getName() {
            return name;
        }
        
        public ComponentInnerClass getComp() {
            return comp;
        }
        
        public PairFilter getFilter() {
            return filter;
        }
    }
    private static abstract class Maybe<T> {
        @SuppressWarnings("unchecked")
        private final static Maybe NOTHING = new Nothing();
        
        private Maybe() {}
        
        public final boolean isNothing() {
            return !isJust();
        }
        public abstract boolean isJust();
        
        public abstract T fromJust();
        
        public static <S> Maybe<S> Just(S value) {
            return new Just<S>(value);
        }
        
        @SuppressWarnings("unchecked")
        public static <S> Maybe<S> Nothing() {
            return (Nothing<S>) NOTHING;
        }
        
        private static class Just<T> extends Maybe<T> {
            private T value;
            
            private Just(T value) {
                this.value = value;
            }
            
            public boolean isJust() {
                return true;
            }
            
            public T fromJust() {
                return value;
            }
            
            public String toString() { 
                return "Just " + value;
            }
        }
        
        private static class Nothing<T> extends Maybe<T> {
            private Nothing() {}
            
            public boolean isJust() {
                return false;
            }
            
            public T fromJust() {
                throw new UnsupportedOperationException("Cannot extract value from Nothing");
            }
            
            public String toString() {
                return "Nothing";
            }
        }
    }


  /**
   * Creates a new scanner
   * There is also a java.io.InputStream version of this constructor.
   *
   * @param   in  the java.io.Reader to read input from.
   */
  public ComponentScanner(java.io.Reader in) {
    this.zzReader = in;
  }

  /**
   * Creates a new scanner.
   * There is also java.io.Reader version of this constructor.
   *
   * @param   in  the java.io.Inputstream to read input from.
   */
  public ComponentScanner(java.io.InputStream in) {
    this(new java.io.InputStreamReader(in));
  }

  /** 
   * Unpacks the compressed character translation table.
   *
   * @param packed   the packed character translation table
   * @return         the unpacked character translation table
   */
  private static char [] zzUnpackCMap(String packed) {
    char [] map = new char[0x10000];
    int i = 0;  /* index in packed string  */
    int j = 0;  /* index in unpacked array */
    while (i < 166) {
      int  count = packed.charAt(i++);
      char value = packed.charAt(i++);
      do map[j++] = value; while (--count > 0);
    }
    return map;
  }


  /**
   * Refills the input buffer.
   *
   * @return      <code>false</code>, iff there was new input.
   * 
   * @exception   java.io.IOException  if any I/O-Error occurs
   */
  private boolean zzRefill() throws java.io.IOException {

    /* first: make room (if you can) */
    if (zzStartRead > 0) {
      System.arraycopy(zzBuffer, zzStartRead,
                       zzBuffer, 0,
                       zzEndRead-zzStartRead);

      /* translate stored positions */
      zzEndRead-= zzStartRead;
      zzCurrentPos-= zzStartRead;
      zzMarkedPos-= zzStartRead;
      zzPushbackPos-= zzStartRead;
      zzStartRead = 0;
    }

    /* is the buffer big enough? */
    if (zzCurrentPos >= zzBuffer.length) {
      /* if not: blow it up */
      char newBuffer[] = new char[zzCurrentPos*2];
      System.arraycopy(zzBuffer, 0, newBuffer, 0, zzBuffer.length);
      zzBuffer = newBuffer;
    }

    /* finally: fill the buffer with new input */
    int numRead = zzReader.read(zzBuffer, zzEndRead,
                                            zzBuffer.length-zzEndRead);

    if (numRead < 0) {
      return true;
    }
    else {
      zzEndRead+= numRead;
      return false;
    }
  }

    
  /**
   * Closes the input stream.
   */
  public final void yyclose() throws java.io.IOException {
    zzAtEOF = true;            /* indicate end of file */
    zzEndRead = zzStartRead;  /* invalidate buffer    */

    if (zzReader != null)
      zzReader.close();
  }


  /**
   * Resets the scanner to read from a new input stream.
   * Does not close the old reader.
   *
   * All internal variables are reset, the old input stream 
   * <b>cannot</b> be reused (internal buffer is discarded and lost).
   * Lexical state is set to <tt>ZZ_INITIAL</tt>.
   *
   * @param reader   the new input stream 
   */
  public final void yyreset(java.io.Reader reader) {
    zzReader = reader;
    zzAtBOL  = true;
    zzAtEOF  = false;
    zzEndRead = zzStartRead = 0;
    zzCurrentPos = zzMarkedPos = zzPushbackPos = 0;
    yyline = yychar = yycolumn = 0;
    zzLexicalState = YYINITIAL;
  }


  /**
   * Returns the current lexical state.
   */
  public final int yystate() {
    return zzLexicalState;
  }


  /**
   * Enters a new lexical state
   *
   * @param newState the new lexical state
   */
  public final void yybegin(int newState) {
    zzLexicalState = newState;
  }


  /**
   * Returns the text matched by the current regular expression.
   */
  public final String yytext() {
    return new String( zzBuffer, zzStartRead, zzMarkedPos-zzStartRead );
  }


  /**
   * Returns the character at position <tt>pos</tt> from the 
   * matched text. 
   * 
   * It is equivalent to yytext().charAt(pos), but faster
   *
   * @param pos the position of the character to fetch. 
   *            A value from 0 to yylength()-1.
   *
   * @return the character at position pos
   */
  public final char yycharat(int pos) {
    return zzBuffer[zzStartRead+pos];
  }


  /**
   * Returns the length of the matched text region.
   */
  public final int yylength() {
    return zzMarkedPos-zzStartRead;
  }


  /**
   * Reports an error that occured while scanning.
   *
   * In a wellformed scanner (no or only correct usage of 
   * yypushback(int) and a match-all fallback rule) this method 
   * will only be called with things that "Can't Possibly Happen".
   * If this method is called, something is seriously wrong
   * (e.g. a JFlex bug producing a faulty scanner etc.).
   *
   * Usual syntax/scanner level error handling should be done
   * in error fallback rules.
   *
   * @param   errorCode  the code of the errormessage to display
   */
  private void zzScanError(int errorCode) {
    String message;
    try {
      message = ZZ_ERROR_MSG[errorCode];
    }
    catch (ArrayIndexOutOfBoundsException e) {
      message = ZZ_ERROR_MSG[ZZ_UNKNOWN_ERROR];
    }

    throw new Error(message);
  } 


  /**
   * Pushes the specified amount of characters back into the input stream.
   *
   * They will be read again by then next call of the scanning method
   *
   * @param number  the number of characters to be read again.
   *                This number must not be greater than yylength()!
   */
  public void yypushback(int number)  {
    if ( number > yylength() )
      zzScanError(ZZ_PUSHBACK_2BIG);

    zzMarkedPos -= number;
  }


  /**
   * Resumes scanning until the next regular expression is matched,
   * the end of input is encountered or an I/O-Error occurs.
   *
   * @return      the next token
   * @exception   java.io.IOException  if any I/O-Error occurs
   */
  public Symbol nextToken() throws java.io.IOException, Scanner.Exception {
    int zzInput;
    int zzAction;

    // cached fields:
    int zzCurrentPosL;
    int zzMarkedPosL;
    int zzEndReadL = zzEndRead;
    char [] zzBufferL = zzBuffer;
    char [] zzCMapL = ZZ_CMAP;

    int [] zzTransL = ZZ_TRANS;
    int [] zzRowMapL = ZZ_ROWMAP;
    int [] zzAttrL = ZZ_ATTRIBUTE;
    int zzPushbackPosL = zzPushbackPos = -1;
    boolean zzWasPushback;

    while (true) {
      zzMarkedPosL = zzMarkedPos;

      boolean zzR = false;
      for (zzCurrentPosL = zzStartRead; zzCurrentPosL < zzMarkedPosL;
                                                             zzCurrentPosL++) {
        switch (zzBufferL[zzCurrentPosL]) {
        case '\u000B':
        case '\u000C':
        case '\u0085':
        case '\u2028':
        case '\u2029':
          yyline++;
          yycolumn = 0;
          zzR = false;
          break;
        case '\r':
          yyline++;
          yycolumn = 0;
          zzR = true;
          break;
        case '\n':
          if (zzR)
            zzR = false;
          else {
            yyline++;
            yycolumn = 0;
          }
          break;
        default:
          zzR = false;
          yycolumn++;
        }
      }

      if (zzR) {
        // peek one character ahead if it is \n (if we have counted one line too much)
        boolean zzPeek;
        if (zzMarkedPosL < zzEndReadL)
          zzPeek = zzBufferL[zzMarkedPosL] == '\n';
        else if (zzAtEOF)
          zzPeek = false;
        else {
          boolean eof = zzRefill();
          zzEndReadL = zzEndRead;
          zzMarkedPosL = zzMarkedPos;
          zzBufferL = zzBuffer;
          if (eof) 
            zzPeek = false;
          else 
            zzPeek = zzBufferL[zzMarkedPosL] == '\n';
        }
        if (zzPeek) yyline--;
      }
      zzAction = -1;

      zzCurrentPosL = zzCurrentPos = zzStartRead = zzMarkedPosL;
  
      zzState = zzLexicalState;

      zzWasPushback = false;

      zzForAction: {
        while (true) {
    
          if (zzCurrentPosL < zzEndReadL)
            zzInput = zzBufferL[zzCurrentPosL++];
          else if (zzAtEOF) {
            zzInput = YYEOF;
            break zzForAction;
          }
          else {
            // store back cached positions
            zzCurrentPos  = zzCurrentPosL;
            zzMarkedPos   = zzMarkedPosL;
            zzPushbackPos = zzPushbackPosL;
            boolean eof = zzRefill();
            // get translated positions and possibly new buffer
            zzCurrentPosL  = zzCurrentPos;
            zzMarkedPosL   = zzMarkedPos;
            zzBufferL      = zzBuffer;
            zzEndReadL     = zzEndRead;
            zzPushbackPosL = zzPushbackPos;
            if (eof) {
              zzInput = YYEOF;
              break zzForAction;
            }
            else {
              zzInput = zzBufferL[zzCurrentPosL++];
            }
          }
          int zzNext = zzTransL[ zzRowMapL[zzState] + zzCMapL[zzInput] ];
          if (zzNext == -1) break zzForAction;
          zzState = zzNext;

          int zzAttributes = zzAttrL[zzState];
          if ( (zzAttributes & 2) == 2 )
            zzPushbackPosL = zzCurrentPosL;

          if ( (zzAttributes & 1) == 1 ) {
            zzWasPushback = (zzAttributes & 4) == 4;
            zzAction = zzState;
            zzMarkedPosL = zzCurrentPosL;
            if ( (zzAttributes & 8) == 8 ) break zzForAction;
          }

        }
      }

      // store back cached position
      zzMarkedPos = zzMarkedPosL;
      if (zzWasPushback)
        zzMarkedPos = zzPushbackPosL;

      switch (zzAction < 0 ? zzAction : ZZ_ACTION[zzAction]) {
        case 73: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_macro_defn.macro_defn_action_3();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 192: break;
        case 94: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_mtok_decl.mtok_decl_action_5();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 193: break;
        case 35: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_comp_rules.comp_rules_action_17();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 194: break;
        case 43: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_delete_directive.delete_directive_action_31();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 195: break;
        case 111: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_state_list.state_list_action_5();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 196: break;
        case 52: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_delete_directive.delete_directive_action_21();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 197: break;
        case 11: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_char_class.char_class_action_3();
        } finally {
            state_component.processMTok(26); //END_CHAR_CLASS
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 198: break;
        case 53: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_delete_directive.delete_directive_action_11();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 199: break;
        case 3: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_append_delim_region.append_delim_region_action_3();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 200: break;
        case 161: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_delete_directive.delete_directive_action_5();
        } finally {
            state_component.processMTok(35); //START_MACRO_INVOC
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 201: break;
        case 102: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_repetition_spec.repetition_spec_action_4();
        } finally {
            state_component.processMTok(49); //END_REP_SPEC
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 202: break;
        case 121: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_string.string_action_5();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 203: break;
        case 8: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_char_class.char_class_action_6();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 204: break;
        case 17: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_comp_rules.comp_rules_action_34();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 205: break;
        case 123: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_action.action_action_2();
        } finally {
            state_component.processMTok(20); //END_ACTION
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 206: break;
        case 15: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_comp_options.comp_options_action_2();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 207: break;
        case 130: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_comp_options.comp_options_action_19();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 208: break;
        case 19: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_comp_rules.comp_rules_action_24();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 209: break;
        case 77: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_macro_defn.macro_defn_action_17();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 210: break;
        case 162: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_delete_directive.delete_directive_action_6();
        } finally {
            state_component.processMTok(36); //START_REP_SPEC
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 211: break;
        case 81: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_macro_defn.macro_defn_action_8();
        } finally {
            state_component.processMTok(39); //START_CHAR_CLASS
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 212: break;
        case 150: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_open_rule_group.open_rule_group_action_1();
        } finally {
            state_component.processMTok(24); //START_BRACKET_COMMENT
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 213: break;
        case 156: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_string.string_action_2();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 214: break;
        case 135: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_comp_rules.comp_rules_action_31();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 215: break;
        case 113: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_string_id_directive.string_id_directive_action_9();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 216: break;
        case 51: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_delete_directive.delete_directive_action_28();
        } finally {
            state_component.processMTok(40); //START_STRING
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 217: break;
        case 38: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_comp_rules.comp_rules_action_21();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 218: break;
        case 69: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_macro_defn.macro_defn_action_14();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 219: break;
        case 4: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_append_region.append_region_action_3();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 220: break;
        case 42: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_delete_directive.delete_directive_action_29();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 221: break;
        case 160: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_decl_region.decl_region_action_1();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 222: break;
        case 134: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_comp_rules.comp_rules_action_1();
        } finally {
            state_component.processMTok(24); //START_BRACKET_COMMENT
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 223: break;
        case 44: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_delete_directive.delete_directive_action_19();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 224: break;
        case 153: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_string_id_directive.string_id_directive_action_6();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 225: break;
        case 87: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_macro_defn.macro_defn_action_21();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 226: break;
        case 82: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_macro_defn.macro_defn_action_11();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 227: break;
        case 146: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_macro_defn.macro_defn_action_24();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 228: break;
        case 90: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_macro_invoc.macro_invoc_action_4();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 229: break;
        case 141: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_delete_directive.delete_directive_action_26();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 230: break;
        case 62: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_delete_directive.delete_directive_action_16();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 231: break;
        case 116: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_string_id_directive.string_id_directive_action_3();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 232: break;
        case 67: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_macro_defn.macro_defn_action_31();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 233: break;
        case 115: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_string_id_directive.string_id_directive_action_2();
        } finally {
            state_component.processMTok(51); //END_STRING_ID_DIRECTIVE
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 234: break;
        case 104: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_repetition_spec.repetition_spec_action_1();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 235: break;
        case 176: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_comp_rules.comp_rules_action_29();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 236: break;
        case 132: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_comp_rules.comp_rules_action_9();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 237: break;
        case 37: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_comp_rules.comp_rules_action_19();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 238: break;
        case 108: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_state_list.state_list_action_7();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 239: break;
        case 190: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_comp_options.comp_options_action_7();
        } finally {
            state_component.processMTok(30); //START_APPEND_DELIM_REGION
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 240: break;
        case 177: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_delete_directive.delete_directive_action_23();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 241: break;
        case 91: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_macro_invoc.macro_invoc_action_1();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 242: break;
        case 26: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_comp_rules.comp_rules_action_4();
        } finally {
            state_component.processMTok(34); //START_STATE_LIST
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 243: break;
        case 60: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_delete_directive.delete_directive_action_13();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 244: break;
        case 56: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_delete_directive.delete_directive_action_7();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 245: break;
        case 166: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_comp_options.comp_options_action_5();
        } finally {
            state_component.processMTok(28); //START_INIT_REGION
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 246: break;
        case 28: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_comp_rules.comp_rules_action_26();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 247: break;
        case 71: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_macro_defn.macro_defn_action_19();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 248: break;
        case 147: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_mtok_decl.mtok_decl_action_4();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 249: break;
        case 6: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_bracket_comment.bracket_comment_action_3();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 250: break;
        case 29: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_comp_rules.comp_rules_action_16();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 251: break;
        case 139: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_delete_directive.delete_directive_action_30();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 252: break;
        case 110: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_state_list.state_list_action_4();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 253: break;
        case 47: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_delete_directive.delete_directive_action_20();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 254: break;
        case 55: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_delete_directive.delete_directive_action_10();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 255: break;
        case 138: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_decl_region.decl_region_action_2();
        } finally {
            state_component.processMTok(42); //END_DECL_REGION
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 256: break;
        case 50: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_delete_directive.delete_directive_action_4();
        } finally {
            state_component.processMTok(34); //START_STATE_LIST
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 257: break;
        case 74: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_macro_defn.macro_defn_action_27();
        } finally {
            state_component.processMTok(40); //START_STRING
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 258: break;
        case 120: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_string.string_action_4();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 259: break;
        case 124: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_bracket_comment.bracket_comment_action_1();
        } finally {
            state_component.processMTok(24); //START_BRACKET_COMMENT
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 260: break;
        case 14: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_comp_options.comp_options_action_20();
        } finally {
            state_component.processMTok(33); //START_MACRO_DEFN
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 261: break;
        case 126: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_char_class.char_class_action_5();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 262: break;
        case 140: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_delete_directive.delete_directive_action_1();
        } finally {
            state_component.processMTok(24); //START_BRACKET_COMMENT
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 263: break;
        case 30: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_comp_rules.comp_rules_action_23();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 264: break;
        case 86: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_macro_defn.macro_defn_action_16();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 265: break;
        case 152: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_state_list.state_list_action_1();
        } finally {
            state_component.processMTok(24); //START_BRACKET_COMMENT
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 266: break;
        case 33: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_comp_rules.comp_rules_action_13();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 267: break;
        case 25: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_comp_rules.comp_rules_action_3();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 268: break;
        case 143: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_macro_defn.macro_defn_action_29();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 269: break;
        case 144: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_macro_defn.macro_defn_action_1();
        } finally {
            state_component.processMTok(24); //START_BRACKET_COMMENT
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 270: break;
        case 185: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_comp_options.comp_options_action_16();
        } finally {
            state_component.processMTok(31); //START_STRING_ID_DIRECTIVE
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 271: break;
        case 157: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_action.action_action_1();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 272: break;
        case 41: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_decl_region.decl_region_action_3();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 273: break;
        case 10: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_char_class.char_class_action_2();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 274: break;
        case 58: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_delete_directive.delete_directive_action_9();
        } finally {
            state_component.processMTok(39); //START_CHAR_CLASS
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 275: break;
        case 171: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_comp_options.comp_options_action_14();
        } finally {
            state_component.processMTok(31); //START_STRING_ID_DIRECTIVE
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 276: break;
        case 136: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_comp_rules.comp_rules_action_30();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 277: break;
        case 181: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_macro_defn.macro_defn_action_23();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 278: break;
        case 165: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_string_id_directive.string_id_directive_action_8();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 279: break;
        case 20: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_comp_rules.comp_rules_action_20();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 280: break;
        case 163: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_macro_defn.macro_defn_action_4();
        } finally {
            state_component.processMTok(35); //START_MACRO_INVOC
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 281: break;
        case 84: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_macro_defn.macro_defn_action_13();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 282: break;
        case 168: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_comp_options.comp_options_action_12();
        } finally {
            state_component.processMTok(31); //START_STRING_ID_DIRECTIVE
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 283: break;
        case 70: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_macro_defn.macro_defn_action_26();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 284: break;
        case 167: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_comp_options.comp_options_action_10();
        } finally {
            state_component.processMTok(31); //START_STRING_ID_DIRECTIVE
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 285: break;
        case 101: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_repetition_spec.repetition_spec_action_6();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 286: break;
        case 188: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_comp_options.comp_options_action_9();
        } finally {
            state_component.processMTok(31); //START_STRING_ID_DIRECTIVE
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 287: break;
        case 187: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_comp_options.comp_options_action_15();
        } finally {
            state_component.processMTok(31); //START_STRING_ID_DIRECTIVE
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 288: break;
        case 170: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_comp_options.comp_options_action_13();
        } finally {
            state_component.processMTok(31); //START_STRING_ID_DIRECTIVE
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 289: break;
        case 183: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_comp_options.comp_options_action_6();
        } finally {
            state_component.processMTok(29); //START_APPEND_REGION
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 290: break;
        case 179: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_init_region.init_region_action_1();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 291: break;
        case 173: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_comp_options.comp_options_action_11();
        } finally {
            state_component.processMTok(31); //START_STRING_ID_DIRECTIVE
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 292: break;
        case 54: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_delete_directive.delete_directive_action_18();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 293: break;
        case 75: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_macro_defn.macro_defn_action_20();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 294: break;
        case 117: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_string_id_directive.string_id_directive_action_5();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 295: break;
        case 125: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_bracket_comment.bracket_comment_action_2();
        } finally {
            state_component.processMTok(25); //END_BRACKET_COMMENT
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 296: break;
        case 76: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_macro_defn.macro_defn_action_10();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 297: break;
        case 128: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_comp_options.comp_options_action_18();
        } finally {
            state_component.processMTok(32); //END_HEADER_SECTION
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 298: break;
        case 158: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_comp_rules.comp_rules_action_5();
        } finally {
            state_component.processMTok(35); //START_MACRO_INVOC
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 299: break;
        case 172: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_comp_options.comp_options_action_8();
        } finally {
            state_component.processMTok(31); //START_STRING_ID_DIRECTIVE
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 300: break;
        case 106: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_repetition_spec.repetition_spec_action_3();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 301: break;
        case 97: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_open_rule_group.open_rule_group_action_6();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 302: break;
        case 80: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_macro_defn.macro_defn_action_7();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 303: break;
        case 95: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_mtok_decl.mtok_decl_action_2();
        } finally {
            state_component.processMTok(47); //END_MTOK_DECL
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 304: break;
        case 142: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_delete_directive.delete_directive_action_25();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 305: break;
        case 72: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_macro_defn.macro_defn_action_2();
        } finally {
            state_component.processMTok(45); //END_MACRO_DEFN
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 306: break;
        case 45: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_delete_directive.delete_directive_action_15();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 307: break;
        case 118: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_string_id_directive.string_id_directive_action_4();
        } finally {
            state_component.processMTok(40); //START_STRING
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 308: break;
        case 175: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_comp_rules.comp_rules_action_28();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 309: break;
        case 100: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_open_rule_group.open_rule_group_action_3();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 310: break;
        case 93: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_mtok_decl.mtok_decl_action_6();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 311: break;
        case 27: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_comp_rules.comp_rules_action_33();
        } finally {
            state_component.processMTok(40); //START_STRING
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 312: break;
        case 18: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_comp_rules.comp_rules_action_8();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 313: break;
        case 36: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_comp_rules.comp_rules_action_18();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 314: break;
        case 151: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_state_list.state_list_action_6();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 315: break;
        case 148: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_mtok_decl.mtok_decl_action_1();
        } finally {
            state_component.processMTok(24); //START_BRACKET_COMMENT
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 316: break;
        case 64: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_delete_directive.delete_directive_action_22();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 317: break;
        case 59: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_delete_directive.delete_directive_action_12();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 318: break;
        case 34: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_comp_rules.comp_rules_action_14();
        } finally {
            state_component.processMTok(39); //START_CHAR_CLASS
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 319: break;
        case 119: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_string.string_action_6();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 320: break;
        case 122: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_string.string_action_1();
        } finally {
            state_component.processMTok(52); //END_STRING
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 321: break;
        case 7: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_char_class.char_class_action_7();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 322: break;
        case 133: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_comp_rules.comp_rules_action_35();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 323: break;
        case 16: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_comp_options.comp_options_action_3();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 324: break;
        case 131: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_comp_options.comp_options_action_1();
        } finally {
            state_component.processMTok(24); //START_BRACKET_COMMENT
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 325: break;
        case 22: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_comp_rules.comp_rules_action_25();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 326: break;
        case 68: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_macro_defn.macro_defn_action_18();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 327: break;
        case 189: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_append_delim_region.append_delim_region_action_2();
        } finally {
            state_component.processMTok(22); //END_APPEND_DELIM_REGION
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 328: break;
        case 96: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_mtok_decl.mtok_decl_action_3();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 329: break;
        case 31: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_comp_rules.comp_rules_action_15();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 330: break;
        case 182: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_append_region.append_region_action_2();
        } finally {
            state_component.processMTok(23); //END_APPEND_REGION
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 331: break;
        case 109: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_state_list.state_list_action_3();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 332: break;
        case 191: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_append_delim_region.append_delim_region_action_1();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 333: break;
        case 49: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_delete_directive.delete_directive_action_3();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 334: break;
        case 155: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_string.string_action_3();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 335: break;
        case 5: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_base.base_action_1();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 336: break;
        case 2: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_action.action_action_3();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 337: break;
        case 127: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_char_class.char_class_action_4();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 338: break;
        case 21: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_comp_rules.comp_rules_action_32();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 339: break;
        case 13: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_comp_options.comp_options_action_17();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 340: break;
        case 39: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_comp_rules.comp_rules_action_22();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 341: break;
        case 85: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_macro_defn.macro_defn_action_15();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 342: break;
        case 23: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_comp_rules.comp_rules_action_2();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 343: break;
        case 32: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_comp_rules.comp_rules_action_12();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 344: break;
        case 66: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_macro_defn.macro_defn_action_28();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 345: break;
        case 65: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_init_region.init_region_action_3();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 346: break;
        case 9: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_char_class.char_class_action_1();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 347: break;
        case 180: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_macro_defn.macro_defn_action_22();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 348: break;
        case 174: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_comp_rules.comp_rules_action_11();
        } finally {
            state_component.processMTok(38); //START_DELETE_DIRECTIVE
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 349: break;
        case 114: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_string_id_directive.string_id_directive_action_7();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 350: break;
        case 83: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_macro_defn.macro_defn_action_12();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 351: break;
        case 145: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_macro_defn.macro_defn_action_25();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 352: break;
        case 103: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_repetition_spec.repetition_spec_action_5();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 353: break;
        case 164: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_macro_defn.macro_defn_action_5();
        } finally {
            state_component.processMTok(36); //START_REP_SPEC
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 354: break;
        case 48: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_delete_directive.delete_directive_action_2();
        } finally {
            state_component.processMTok(43); //END_DELETE_DIRECTIVE
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 355: break;
        case 89: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_macro_invoc.macro_invoc_action_3();
        } finally {
            state_component.processMTok(46); //END_MACRO_INVOC
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 356: break;
        case 78: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_macro_defn.macro_defn_action_9();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 357: break;
        case 184: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_append_region.append_region_action_1();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 358: break;
        case 99: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_open_rule_group.open_rule_group_action_4();
        } finally {
            state_component.processMTok(48); //END_OPEN_RULE_GROUP
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 359: break;
        case 46: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_delete_directive.delete_directive_action_27();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 360: break;
        case 88: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_macro_invoc.macro_invoc_action_5();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 361: break;
        case 169: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_init_region.init_region_action_2();
        } finally {
            state_component.processMTok(44); //END_INIT_REGION
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 362: break;
        case 12: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_comp_options.comp_options_action_21();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 363: break;
        case 63: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_delete_directive.delete_directive_action_17();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 364: break;
        case 159: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_comp_rules.comp_rules_action_6();
        } finally {
            state_component.processMTok(36); //START_REP_SPEC
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 365: break;
        case 129: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_comp_options.comp_options_action_4();
        } finally {
            state_component.processMTok(27); //START_DECL_REGION
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 366: break;
        case 1: 
          { yybegin(state_component.getPrevState());
        return state_component.getExtraReturn();
          }
        case 367: break;
        case 105: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_repetition_spec.repetition_spec_action_2();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 368: break;
        case 149: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_open_rule_group.open_rule_group_action_5();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 369: break;
        case 79: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_macro_defn.macro_defn_action_6();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 370: break;
        case 186: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_comp_rules.comp_rules_action_10();
        } finally {
            state_component.processMTok(31); //START_STRING_ID_DIRECTIVE
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 371: break;
        case 107: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_state_list.state_list_action_8();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 372: break;
        case 178: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_delete_directive.delete_directive_action_24();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 373: break;
        case 92: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_macro_invoc.macro_invoc_action_2();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 374: break;
        case 137: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_comp_rules.comp_rules_action_7();
        } finally {
            state_component.processMTok(37); //START_ACTION
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 375: break;
        case 61: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_delete_directive.delete_directive_action_14();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 376: break;
        case 57: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_delete_directive.delete_directive_action_8();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 377: break;
        case 154: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_string_id_directive.string_id_directive_action_1();
        } finally {
            state_component.processMTok(24); //START_BRACKET_COMMENT
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 378: break;
        case 24: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_comp_rules.comp_rules_action_37();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 379: break;
        case 112: 
          { Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_state_list.state_list_action_2();
        } finally {
            state_component.processMTok(50); //END_STATE_LIST
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 380: break;
        case 40: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_comp_rules.comp_rules_action_27();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 381: break;
        case 98: 
          { Maybe<? extends Symbol> maybeResult = state_component.inst_open_rule_group.open_rule_group_action_2();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
          }
        case 382: break;
        default: 
          if (zzInput == YYEOF && zzStartRead == zzCurrentPos) {
            zzAtEOF = true;
            switch (zzLexicalState) {
            case repetition_spec_YYINITIAL_STATE: {
              Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_repetition_spec.repetition_spec_action_7();
        } finally {
            state_component.processMTok(21); //EOF_ERROR
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
            }
            case 501: break;
            case string_YYINITIAL_STATE: {
              Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_string.string_action_7();
        } finally {
            state_component.processMTok(21); //EOF_ERROR
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
            }
            case 502: break;
            case EXTRA_RETURN: {
              yybegin(state_component.getPrevState());
        return state_component.getExtraReturn();
            }
            case 503: break;
            case string_id_directive_YYINITIAL_STATE: {
              Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_string_id_directive.string_id_directive_action_10();
        } finally {
            state_component.processMTok(51); //END_STRING_ID_DIRECTIVE
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
            }
            case 504: break;
            case action_YYINITIAL_STATE: {
              Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_action.action_action_4();
        } finally {
            state_component.processMTok(21); //EOF_ERROR
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
            }
            case 505: break;
            case init_region_YYINITIAL_STATE: {
              Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_init_region.init_region_action_4();
        } finally {
            state_component.processMTok(21); //EOF_ERROR
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
            }
            case 506: break;
            case comp_options_YYINITIAL_STATE: {
              Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_comp_options.comp_options_action_22();
        } finally {
            state_component.processMTok(32); //END_HEADER_SECTION
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
            }
            case 507: break;
            case char_class_YYINITIAL_STATE: {
              Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_char_class.char_class_action_8();
        } finally {
            state_component.processMTok(21); //EOF_ERROR
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
            }
            case 508: break;
            case append_region_YYINITIAL_STATE: {
              Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_append_region.append_region_action_4();
        } finally {
            state_component.processMTok(21); //EOF_ERROR
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
            }
            case 509: break;
            case mtok_decl_YYINITIAL_STATE: {
              Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_mtok_decl.mtok_decl_action_7();
        } finally {
            state_component.processMTok(47); //END_MTOK_DECL
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
            }
            case 510: break;
            case delete_directive_YYINITIAL_STATE: {
              Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_delete_directive.delete_directive_action_32();
        } finally {
            state_component.processMTok(43); //END_DELETE_DIRECTIVE
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
            }
            case 511: break;
            case decl_region_YYINITIAL_STATE: {
              Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_decl_region.decl_region_action_4();
        } finally {
            state_component.processMTok(21); //EOF_ERROR
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
            }
            case 512: break;
            case append_delim_region_YYINITIAL_STATE: {
              Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_append_delim_region.append_delim_region_action_4();
        } finally {
            state_component.processMTok(21); //EOF_ERROR
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
            }
            case 513: break;
            case comp_rules_YYINITIAL_STATE: {
              Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_comp_rules.comp_rules_action_36();
        } finally {
            state_component.processMTok(41); //END_RULE_SECTION
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
            }
            case 514: break;
            case base_YYINITIAL_STATE: {
              Maybe<? extends Symbol> maybeResult = state_component.inst_base.base_action_2();
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
            }
            case 515: break;
            case macro_defn_YYINITIAL_STATE: {
              Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_macro_defn.macro_defn_action_30();
        } finally {
            state_component.processMTok(45); //END_MACRO_DEFN
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
            }
            case 516: break;
            case state_list_YYINITIAL_STATE: {
              Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_state_list.state_list_action_9();
        } finally {
            state_component.processMTok(21); //EOF_ERROR
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
            }
            case 517: break;
            case macro_invoc_YYINITIAL_STATE: {
              Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_macro_invoc.macro_invoc_action_6();
        } finally {
            state_component.processMTok(21); //EOF_ERROR
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
            }
            case 518: break;
            case open_rule_group_YYINITIAL_STATE: {
              Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_open_rule_group.open_rule_group_action_7();
        } finally {
            state_component.processMTok(21); //EOF_ERROR
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
            }
            case 519: break;
            case bracket_comment_YYINITIAL_STATE: {
              Maybe<? extends Symbol> maybeResult;
        try {
            maybeResult = state_component.inst_bracket_comment.bracket_comment_action_4();
        } finally {
            state_component.processMTok(21); //EOF_ERROR
        }
        if(maybeResult.isJust()) {
            return maybeResult.fromJust();
        }
            }
            case 520: break;
            default:
            return null;
            }
          } 
          else {
            zzScanError(ZZ_NO_MATCH);
          }
      }
    }
  }


}
