# Generated from main/csel/parser/CSEL.g4 by ANTLR 4.8
from antlr4 import *
from io import StringIO
from typing.io import TextIO
import sys


from lexererr import *



def serializedATN():
    with StringIO() as buf:
        buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2<")
        buf.write("\u01c3\b\1\4\2\t\2\4\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6\4\7")
        buf.write("\t\7\4\b\t\b\4\t\t\t\4\n\t\n\4\13\t\13\4\f\t\f\4\r\t\r")
        buf.write("\4\16\t\16\4\17\t\17\4\20\t\20\4\21\t\21\4\22\t\22\4\23")
        buf.write("\t\23\4\24\t\24\4\25\t\25\4\26\t\26\4\27\t\27\4\30\t\30")
        buf.write("\4\31\t\31\4\32\t\32\4\33\t\33\4\34\t\34\4\35\t\35\4\36")
        buf.write("\t\36\4\37\t\37\4 \t \4!\t!\4\"\t\"\4#\t#\4$\t$\4%\t%")
        buf.write("\4&\t&\4\'\t\'\4(\t(\4)\t)\4*\t*\4+\t+\4,\t,\4-\t-\4.")
        buf.write("\t.\4/\t/\4\60\t\60\4\61\t\61\4\62\t\62\4\63\t\63\4\64")
        buf.write("\t\64\4\65\t\65\4\66\t\66\4\67\t\67\48\t8\49\t9\4:\t:")
        buf.write("\4;\t;\4<\t<\4=\t=\4>\t>\4?\t?\3\2\3\2\3\3\3\3\3\4\3\4")
        buf.write("\3\5\3\5\5\5\u0088\n\5\3\5\6\5\u008b\n\5\r\5\16\5\u008c")
        buf.write("\3\6\3\6\3\6\3\6\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3")
        buf.write("\b\3\b\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\n\3\n\3\n\3\n\3\n")
        buf.write("\3\n\3\n\3\n\3\13\3\13\3\13\3\13\3\13\3\13\3\13\3\f\3")
        buf.write("\f\3\f\3\f\3\f\3\r\3\r\3\r\3\r\3\r\3\r\3\16\3\16\3\16")
        buf.write("\3\16\3\16\3\16\3\16\3\16\3\16\3\17\3\17\3\17\3\17\3\17")
        buf.write("\3\17\3\17\3\20\3\20\3\20\3\21\3\21\3\21\3\21\3\21\3\22")
        buf.write("\3\22\3\22\3\22\3\22\3\23\3\23\3\23\3\23\3\23\3\23\3\24")
        buf.write("\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\25\3\25\3\25")
        buf.write("\3\25\3\25\3\26\3\26\3\26\3\26\3\27\3\27\3\27\3\27\3\27")
        buf.write("\3\27\3\30\3\30\3\30\3\31\3\31\3\31\3\32\3\32\3\33\3\33")
        buf.write("\3\33\3\34\3\34\3\35\3\35\3\36\3\36\3\37\3\37\3 \3 \3")
        buf.write("!\3!\3!\3\"\3\"\3\"\3#\3#\3#\3$\3$\3$\3$\3%\3%\3%\3&\3")
        buf.write("&\3\'\3\'\3(\3(\3(\3)\3)\3)\3*\3*\3+\3+\3,\3,\3-\3-\3")
        buf.write(".\3.\3/\3/\3\60\3\60\3\61\3\61\3\62\3\62\3\63\3\63\3\64")
        buf.write("\3\64\3\64\3\64\3\64\3\64\7\64\u0143\n\64\f\64\16\64\u0146")
        buf.write("\13\64\3\64\3\64\3\64\3\64\3\64\3\65\6\65\u014e\n\65\r")
        buf.write("\65\16\65\u014f\3\65\3\65\3\66\3\66\3\66\7\66\u0157\n")
        buf.write("\66\f\66\16\66\u015a\13\66\5\66\u015c\n\66\3\67\3\67\3")
        buf.write("\67\7\67\u0161\n\67\f\67\16\67\u0164\13\67\5\67\u0166")
        buf.write("\n\67\3\67\3\67\3\67\7\67\u016b\n\67\f\67\16\67\u016e")
        buf.write("\13\67\3\67\5\67\u0171\n\67\3\67\5\67\u0174\n\67\5\67")
        buf.write("\u0176\n\67\38\38\38\38\38\38\38\38\38\58\u0181\n8\39")
        buf.write("\39\39\39\39\39\79\u0189\n9\f9\169\u018c\139\39\39\39")
        buf.write("\3:\3:\7:\u0193\n:\f:\16:\u0196\13:\3;\3;\3;\7;\u019b")
        buf.write("\n;\f;\16;\u019e\13;\3<\3<\3=\3=\3=\3=\3=\3=\7=\u01a8")
        buf.write("\n=\f=\16=\u01ab\13=\3>\3>\7>\u01af\n>\f>\16>\u01b2\13")
        buf.write(">\3>\3>\3?\3?\3?\3?\3?\3?\5?\u01bc\n?\3?\7?\u01bf\n?\f")
        buf.write("?\16?\u01c2\13?\2\2@\3\2\5\2\7\2\t\2\13\3\r\4\17\5\21")
        buf.write("\6\23\7\25\b\27\t\31\n\33\13\35\f\37\r!\16#\17%\20\'\21")
        buf.write(")\22+\23-\24/\25\61\26\63\27\65\30\67\319\32;\33=\34?")
        buf.write("\35A\36C\37E G!I\"K#M$O%Q&S\'U(W)Y*[+],_-a.c/e\60g\61")
        buf.write("i\62k\63m\64o\65q\66s\67u8w9y:{;}<\3\2\17\4\2C\\c|\3\2")
        buf.write("\62;\4\2--//\4\2GGgg\3\2%%\5\2\13\f\17\17\"\"\3\2\63;")
        buf.write("\t\2))^^ddhhppttvv\7\2\f\f\17\17$$))^^\3\2c|\6\2\62;C")
        buf.write("\\aac|\7\2%\'AB``bb\u0080\u0080\3\2$$\2\u01d8\2\13\3\2")
        buf.write("\2\2\2\r\3\2\2\2\2\17\3\2\2\2\2\21\3\2\2\2\2\23\3\2\2")
        buf.write("\2\2\25\3\2\2\2\2\27\3\2\2\2\2\31\3\2\2\2\2\33\3\2\2\2")
        buf.write("\2\35\3\2\2\2\2\37\3\2\2\2\2!\3\2\2\2\2#\3\2\2\2\2%\3")
        buf.write("\2\2\2\2\'\3\2\2\2\2)\3\2\2\2\2+\3\2\2\2\2-\3\2\2\2\2")
        buf.write("/\3\2\2\2\2\61\3\2\2\2\2\63\3\2\2\2\2\65\3\2\2\2\2\67")
        buf.write("\3\2\2\2\29\3\2\2\2\2;\3\2\2\2\2=\3\2\2\2\2?\3\2\2\2\2")
        buf.write("A\3\2\2\2\2C\3\2\2\2\2E\3\2\2\2\2G\3\2\2\2\2I\3\2\2\2")
        buf.write("\2K\3\2\2\2\2M\3\2\2\2\2O\3\2\2\2\2Q\3\2\2\2\2S\3\2\2")
        buf.write("\2\2U\3\2\2\2\2W\3\2\2\2\2Y\3\2\2\2\2[\3\2\2\2\2]\3\2")
        buf.write("\2\2\2_\3\2\2\2\2a\3\2\2\2\2c\3\2\2\2\2e\3\2\2\2\2g\3")
        buf.write("\2\2\2\2i\3\2\2\2\2k\3\2\2\2\2m\3\2\2\2\2o\3\2\2\2\2q")
        buf.write("\3\2\2\2\2s\3\2\2\2\2u\3\2\2\2\2w\3\2\2\2\2y\3\2\2\2\2")
        buf.write("{\3\2\2\2\2}\3\2\2\2\3\177\3\2\2\2\5\u0081\3\2\2\2\7\u0083")
        buf.write("\3\2\2\2\t\u0085\3\2\2\2\13\u008e\3\2\2\2\r\u0092\3\2")
        buf.write("\2\2\17\u009b\3\2\2\2\21\u009d\3\2\2\2\23\u00a4\3\2\2")
        buf.write("\2\25\u00ac\3\2\2\2\27\u00b3\3\2\2\2\31\u00b8\3\2\2\2")
        buf.write("\33\u00be\3\2\2\2\35\u00c7\3\2\2\2\37\u00ce\3\2\2\2!\u00d1")
        buf.write("\3\2\2\2#\u00d6\3\2\2\2%\u00db\3\2\2\2\'\u00e1\3\2\2\2")
        buf.write(")\u00ea\3\2\2\2+\u00ef\3\2\2\2-\u00f3\3\2\2\2/\u00f9\3")
        buf.write("\2\2\2\61\u00fc\3\2\2\2\63\u00ff\3\2\2\2\65\u0101\3\2")
        buf.write("\2\2\67\u0104\3\2\2\29\u0106\3\2\2\2;\u0108\3\2\2\2=\u010a")
        buf.write("\3\2\2\2?\u010c\3\2\2\2A\u010e\3\2\2\2C\u0111\3\2\2\2")
        buf.write("E\u0114\3\2\2\2G\u0117\3\2\2\2I\u011b\3\2\2\2K\u011e\3")
        buf.write("\2\2\2M\u0120\3\2\2\2O\u0122\3\2\2\2Q\u0125\3\2\2\2S\u0128")
        buf.write("\3\2\2\2U\u012a\3\2\2\2W\u012c\3\2\2\2Y\u012e\3\2\2\2")
        buf.write("[\u0130\3\2\2\2]\u0132\3\2\2\2_\u0134\3\2\2\2a\u0136\3")
        buf.write("\2\2\2c\u0138\3\2\2\2e\u013a\3\2\2\2g\u013c\3\2\2\2i\u014d")
        buf.write("\3\2\2\2k\u015b\3\2\2\2m\u0165\3\2\2\2o\u0180\3\2\2\2")
        buf.write("q\u0182\3\2\2\2s\u0190\3\2\2\2u\u0197\3\2\2\2w\u019f\3")
        buf.write("\2\2\2y\u01a1\3\2\2\2{\u01ac\3\2\2\2}\u01b5\3\2\2\2\177")
        buf.write("\u0080\t\2\2\2\u0080\4\3\2\2\2\u0081\u0082\t\3\2\2\u0082")
        buf.write("\6\3\2\2\2\u0083\u0084\t\4\2\2\u0084\b\3\2\2\2\u0085\u0087")
        buf.write("\t\5\2\2\u0086\u0088\t\4\2\2\u0087\u0086\3\2\2\2\u0087")
        buf.write("\u0088\3\2\2\2\u0088\u008a\3\2\2\2\u0089\u008b\5\5\3\2")
        buf.write("\u008a\u0089\3\2\2\2\u008b\u008c\3\2\2\2\u008c\u008a\3")
        buf.write("\2\2\2\u008c\u008d\3\2\2\2\u008d\n\3\2\2\2\u008e\u008f")
        buf.write("\7N\2\2\u008f\u0090\7g\2\2\u0090\u0091\7v\2\2\u0091\f")
        buf.write("\3\2\2\2\u0092\u0093\7E\2\2\u0093\u0094\7q\2\2\u0094\u0095")
        buf.write("\7p\2\2\u0095\u0096\7u\2\2\u0096\u0097\7v\2\2\u0097\u0098")
        buf.write("\7c\2\2\u0098\u0099\7p\2\2\u0099\u009a\7v\2\2\u009a\16")
        buf.write("\3\2\2\2\u009b\u009c\7?\2\2\u009c\20\3\2\2\2\u009d\u009e")
        buf.write("\7P\2\2\u009e\u009f\7w\2\2\u009f\u00a0\7o\2\2\u00a0\u00a1")
        buf.write("\7d\2\2\u00a1\u00a2\7g\2\2\u00a2\u00a3\7t\2\2\u00a3\22")
        buf.write("\3\2\2\2\u00a4\u00a5\7D\2\2\u00a5\u00a6\7q\2\2\u00a6\u00a7")
        buf.write("\7q\2\2\u00a7\u00a8\7n\2\2\u00a8\u00a9\7g\2\2\u00a9\u00aa")
        buf.write("\7c\2\2\u00aa\u00ab\7p\2\2\u00ab\24\3\2\2\2\u00ac\u00ad")
        buf.write("\7U\2\2\u00ad\u00ae\7v\2\2\u00ae\u00af\7t\2\2\u00af\u00b0")
        buf.write("\7k\2\2\u00b0\u00b1\7p\2\2\u00b1\u00b2\7i\2\2\u00b2\26")
        buf.write("\3\2\2\2\u00b3\u00b4\7L\2\2\u00b4\u00b5\7U\2\2\u00b5\u00b6")
        buf.write("\7Q\2\2\u00b6\u00b7\7P\2\2\u00b7\30\3\2\2\2\u00b8\u00b9")
        buf.write("\7C\2\2\u00b9\u00ba\7t\2\2\u00ba\u00bb\7t\2\2\u00bb\u00bc")
        buf.write("\7c\2\2\u00bc\u00bd\7{\2\2\u00bd\32\3\2\2\2\u00be\u00bf")
        buf.write("\7H\2\2\u00bf\u00c0\7w\2\2\u00c0\u00c1\7p\2\2\u00c1\u00c2")
        buf.write("\7e\2\2\u00c2\u00c3\7v\2\2\u00c3\u00c4\7k\2\2\u00c4\u00c5")
        buf.write("\7q\2\2\u00c5\u00c6\7p\2\2\u00c6\34\3\2\2\2\u00c7\u00c8")
        buf.write("\7T\2\2\u00c8\u00c9\7g\2\2\u00c9\u00ca\7v\2\2\u00ca\u00cb")
        buf.write("\7w\2\2\u00cb\u00cc\7t\2\2\u00cc\u00cd\7p\2\2\u00cd\36")
        buf.write("\3\2\2\2\u00ce\u00cf\7K\2\2\u00cf\u00d0\7h\2\2\u00d0 ")
        buf.write("\3\2\2\2\u00d1\u00d2\7G\2\2\u00d2\u00d3\7n\2\2\u00d3\u00d4")
        buf.write("\7k\2\2\u00d4\u00d5\7h\2\2\u00d5\"\3\2\2\2\u00d6\u00d7")
        buf.write("\7G\2\2\u00d7\u00d8\7n\2\2\u00d8\u00d9\7u\2\2\u00d9\u00da")
        buf.write("\7g\2\2\u00da$\3\2\2\2\u00db\u00dc\7D\2\2\u00dc\u00dd")
        buf.write("\7t\2\2\u00dd\u00de\7g\2\2\u00de\u00df\7c\2\2\u00df\u00e0")
        buf.write("\7m\2\2\u00e0&\3\2\2\2\u00e1\u00e2\7E\2\2\u00e2\u00e3")
        buf.write("\7q\2\2\u00e3\u00e4\7p\2\2\u00e4\u00e5\7v\2\2\u00e5\u00e6")
        buf.write("\7k\2\2\u00e6\u00e7\7p\2\2\u00e7\u00e8\7w\2\2\u00e8\u00e9")
        buf.write("\7g\2\2\u00e9(\3\2\2\2\u00ea\u00eb\7E\2\2\u00eb\u00ec")
        buf.write("\7c\2\2\u00ec\u00ed\7n\2\2\u00ed\u00ee\7n\2\2\u00ee*\3")
        buf.write("\2\2\2\u00ef\u00f0\7H\2\2\u00f0\u00f1\7q\2\2\u00f1\u00f2")
        buf.write("\7t\2\2\u00f2,\3\2\2\2\u00f3\u00f4\7Y\2\2\u00f4\u00f5")
        buf.write("\7j\2\2\u00f5\u00f6\7k\2\2\u00f6\u00f7\7n\2\2\u00f7\u00f8")
        buf.write("\7g\2\2\u00f8.\3\2\2\2\u00f9\u00fa\7Q\2\2\u00fa\u00fb")
        buf.write("\7h\2\2\u00fb\60\3\2\2\2\u00fc\u00fd\7K\2\2\u00fd\u00fe")
        buf.write("\7p\2\2\u00fe\62\3\2\2\2\u00ff\u0100\7-\2\2\u0100\64\3")
        buf.write("\2\2\2\u0101\u0102\7-\2\2\u0102\u0103\7\60\2\2\u0103\66")
        buf.write("\3\2\2\2\u0104\u0105\7/\2\2\u01058\3\2\2\2\u0106\u0107")
        buf.write("\7,\2\2\u0107:\3\2\2\2\u0108\u0109\7\61\2\2\u0109<\3\2")
        buf.write("\2\2\u010a\u010b\7\'\2\2\u010b>\3\2\2\2\u010c\u010d\7")
        buf.write("#\2\2\u010d@\3\2\2\2\u010e\u010f\7(\2\2\u010f\u0110\7")
        buf.write("(\2\2\u0110B\3\2\2\2\u0111\u0112\7~\2\2\u0112\u0113\7")
        buf.write("~\2\2\u0113D\3\2\2\2\u0114\u0115\7?\2\2\u0115\u0116\7")
        buf.write("?\2\2\u0116F\3\2\2\2\u0117\u0118\7?\2\2\u0118\u0119\7")
        buf.write("?\2\2\u0119\u011a\7\60\2\2\u011aH\3\2\2\2\u011b\u011c")
        buf.write("\7#\2\2\u011c\u011d\7?\2\2\u011dJ\3\2\2\2\u011e\u011f")
        buf.write("\7>\2\2\u011fL\3\2\2\2\u0120\u0121\7@\2\2\u0121N\3\2\2")
        buf.write("\2\u0122\u0123\7>\2\2\u0123\u0124\7?\2\2\u0124P\3\2\2")
        buf.write("\2\u0125\u0126\7@\2\2\u0126\u0127\7?\2\2\u0127R\3\2\2")
        buf.write("\2\u0128\u0129\7.\2\2\u0129T\3\2\2\2\u012a\u012b\7\60")
        buf.write("\2\2\u012bV\3\2\2\2\u012c\u012d\7<\2\2\u012dX\3\2\2\2")
        buf.write("\u012e\u012f\7=\2\2\u012fZ\3\2\2\2\u0130\u0131\7]\2\2")
        buf.write("\u0131\\\3\2\2\2\u0132\u0133\7_\2\2\u0133^\3\2\2\2\u0134")
        buf.write("\u0135\7}\2\2\u0135`\3\2\2\2\u0136\u0137\7\177\2\2\u0137")
        buf.write("b\3\2\2\2\u0138\u0139\7*\2\2\u0139d\3\2\2\2\u013a\u013b")
        buf.write("\7+\2\2\u013bf\3\2\2\2\u013c\u013d\7%\2\2\u013d\u013e")
        buf.write("\7%\2\2\u013e\u0144\3\2\2\2\u013f\u0140\7%\2\2\u0140\u0143")
        buf.write("\n\6\2\2\u0141\u0143\n\6\2\2\u0142\u013f\3\2\2\2\u0142")
        buf.write("\u0141\3\2\2\2\u0143\u0146\3\2\2\2\u0144\u0142\3\2\2\2")
        buf.write("\u0144\u0145\3\2\2\2\u0145\u0147\3\2\2\2\u0146\u0144\3")
        buf.write("\2\2\2\u0147\u0148\7%\2\2\u0148\u0149\7%\2\2\u0149\u014a")
        buf.write("\3\2\2\2\u014a\u014b\b\64\2\2\u014bh\3\2\2\2\u014c\u014e")
        buf.write("\t\7\2\2\u014d\u014c\3\2\2\2\u014e\u014f\3\2\2\2\u014f")
        buf.write("\u014d\3\2\2\2\u014f\u0150\3\2\2\2\u0150\u0151\3\2\2\2")
        buf.write("\u0151\u0152\b\65\2\2\u0152j\3\2\2\2\u0153\u015c\7\62")
        buf.write("\2\2\u0154\u0158\t\b\2\2\u0155\u0157\5\5\3\2\u0156\u0155")
        buf.write("\3\2\2\2\u0157\u015a\3\2\2\2\u0158\u0156\3\2\2\2\u0158")
        buf.write("\u0159\3\2\2\2\u0159\u015c\3\2\2\2\u015a\u0158\3\2\2\2")
        buf.write("\u015b\u0153\3\2\2\2\u015b\u0154\3\2\2\2\u015cl\3\2\2")
        buf.write("\2\u015d\u0166\7\62\2\2\u015e\u0162\t\b\2\2\u015f\u0161")
        buf.write("\5\5\3\2\u0160\u015f\3\2\2\2\u0161\u0164\3\2\2\2\u0162")
        buf.write("\u0160\3\2\2\2\u0162\u0163\3\2\2\2\u0163\u0166\3\2\2\2")
        buf.write("\u0164\u0162\3\2\2\2\u0165\u015d\3\2\2\2\u0165\u015e\3")
        buf.write("\2\2\2\u0166\u0175\3\2\2\2\u0167\u0176\7\60\2\2\u0168")
        buf.write("\u016c\7\60\2\2\u0169\u016b\5\5\3\2\u016a\u0169\3\2\2")
        buf.write("\2\u016b\u016e\3\2\2\2\u016c\u016a\3\2\2\2\u016c\u016d")
        buf.write("\3\2\2\2\u016d\u0170\3\2\2\2\u016e\u016c\3\2\2\2\u016f")
        buf.write("\u0171\5\t\5\2\u0170\u016f\3\2\2\2\u0170\u0171\3\2\2\2")
        buf.write("\u0171\u0174\3\2\2\2\u0172\u0174\5\t\5\2\u0173\u0168\3")
        buf.write("\2\2\2\u0173\u0172\3\2\2\2\u0174\u0176\3\2\2\2\u0175\u0167")
        buf.write("\3\2\2\2\u0175\u0173\3\2\2\2\u0176n\3\2\2\2\u0177\u0178")
        buf.write("\7V\2\2\u0178\u0179\7t\2\2\u0179\u017a\7w\2\2\u017a\u0181")
        buf.write("\7g\2\2\u017b\u017c\7H\2\2\u017c\u017d\7c\2\2\u017d\u017e")
        buf.write("\7n\2\2\u017e\u017f\7u\2\2\u017f\u0181\7g\2\2\u0180\u0177")
        buf.write("\3\2\2\2\u0180\u017b\3\2\2\2\u0181p\3\2\2\2\u0182\u018a")
        buf.write("\7$\2\2\u0183\u0184\7^\2\2\u0184\u0189\t\t\2\2\u0185\u0189")
        buf.write("\n\n\2\2\u0186\u0187\7)\2\2\u0187\u0189\7$\2\2\u0188\u0183")
        buf.write("\3\2\2\2\u0188\u0185\3\2\2\2\u0188\u0186\3\2\2\2\u0189")
        buf.write("\u018c\3\2\2\2\u018a\u0188\3\2\2\2\u018a\u018b\3\2\2\2")
        buf.write("\u018b\u018d\3\2\2\2\u018c\u018a\3\2\2\2\u018d\u018e\7")
        buf.write("$\2\2\u018e\u018f\b9\3\2\u018fr\3\2\2\2\u0190\u0194\t")
        buf.write("\13\2\2\u0191\u0193\t\f\2\2\u0192\u0191\3\2\2\2\u0193")
        buf.write("\u0196\3\2\2\2\u0194\u0192\3\2\2\2\u0194\u0195\3\2\2\2")
        buf.write("\u0195t\3\2\2\2\u0196\u0194\3\2\2\2\u0197\u0198\7&\2\2")
        buf.write("\u0198\u019c\t\13\2\2\u0199\u019b\t\f\2\2\u019a\u0199")
        buf.write("\3\2\2\2\u019b\u019e\3\2\2\2\u019c\u019a\3\2\2\2\u019c")
        buf.write("\u019d\3\2\2\2\u019dv\3\2\2\2\u019e\u019c\3\2\2\2\u019f")
        buf.write("\u01a0\t\r\2\2\u01a0x\3\2\2\2\u01a1\u01a9\7$\2\2\u01a2")
        buf.write("\u01a3\7^\2\2\u01a3\u01a8\t\t\2\2\u01a4\u01a8\n\n\2\2")
        buf.write("\u01a5\u01a6\7)\2\2\u01a6\u01a8\7$\2\2\u01a7\u01a2\3\2")
        buf.write("\2\2\u01a7\u01a4\3\2\2\2\u01a7\u01a5\3\2\2\2\u01a8\u01ab")
        buf.write("\3\2\2\2\u01a9\u01a7\3\2\2\2\u01a9\u01aa\3\2\2\2\u01aa")
        buf.write("z\3\2\2\2\u01ab\u01a9\3\2\2\2\u01ac\u01b0\7$\2\2\u01ad")
        buf.write("\u01af\n\16\2\2\u01ae\u01ad\3\2\2\2\u01af\u01b2\3\2\2")
        buf.write("\2\u01b0\u01ae\3\2\2\2\u01b0\u01b1\3\2\2\2\u01b1\u01b3")
        buf.write("\3\2\2\2\u01b2\u01b0\3\2\2\2\u01b3\u01b4\b>\4\2\u01b4")
        buf.write("|\3\2\2\2\u01b5\u01b6\7%\2\2\u01b6\u01b7\7%\2\2\u01b7")
        buf.write("\u01c0\3\2\2\2\u01b8\u01bb\7%\2\2\u01b9\u01bc\n\6\2\2")
        buf.write("\u01ba\u01bc\7\2\2\3\u01bb\u01b9\3\2\2\2\u01bb\u01ba\3")
        buf.write("\2\2\2\u01bc\u01bf\3\2\2\2\u01bd\u01bf\n\6\2\2\u01be\u01b8")
        buf.write("\3\2\2\2\u01be\u01bd\3\2\2\2\u01bf\u01c2\3\2\2\2\u01c0")
        buf.write("\u01be\3\2\2\2\u01c0\u01c1\3\2\2\2\u01c1~\3\2\2\2\u01c2")
        buf.write("\u01c0\3\2\2\2\33\2\u0087\u008c\u0142\u0144\u014f\u0158")
        buf.write("\u015b\u0162\u0165\u016c\u0170\u0173\u0175\u0180\u0188")
        buf.write("\u018a\u0194\u019c\u01a7\u01a9\u01b0\u01bb\u01be\u01c0")
        buf.write("\5\b\2\2\39\2\3>\3")
        return buf.getvalue()


class CSELLexer(Lexer):

    atn = ATNDeserializer().deserialize(serializedATN())

    decisionsToDFA = [ DFA(ds, i) for i, ds in enumerate(atn.decisionToState) ]

    LET = 1
    CONST = 2
    ASSIGN = 3
    NUMBER = 4
    BOOLEAN = 5
    STRING = 6
    JSON = 7
    ARRAY = 8
    FUN = 9
    RET = 10
    IF = 11
    ELIF = 12
    ELSE = 13
    BREAK = 14
    CONT = 15
    CALL = 16
    FOR = 17
    WHILE = 18
    OF = 19
    IN = 20
    ADD = 21
    STRADD = 22
    NEG = 23
    MUL = 24
    DIV = 25
    MOD = 26
    NOT = 27
    AND = 28
    OR = 29
    EQ = 30
    STREQ = 31
    NEQ = 32
    LT = 33
    GT = 34
    LEQ = 35
    GEQ = 36
    CM = 37
    DOT = 38
    CL = 39
    SM = 40
    LSB = 41
    RSB = 42
    LB = 43
    RB = 44
    LP = 45
    RP = 46
    COMMENT = 47
    WS = 48
    INTLIT = 49
    FLOATLIT = 50
    BOOLIT = 51
    STRINGLIT = 52
    ID = 53
    CONSTID = 54
    ERROR_CHAR = 55
    UNCLOSE_STRING = 56
    ILLEGAL_ESCAPE = 57
    UNTERMINATED_COMMENT = 58

    channelNames = [ u"DEFAULT_TOKEN_CHANNEL", u"HIDDEN" ]

    modeNames = [ "DEFAULT_MODE" ]

    literalNames = [ "<INVALID>",
            "'Let'", "'Constant'", "'='", "'Number'", "'Boolean'", "'String'", 
            "'JSON'", "'Array'", "'Function'", "'Return'", "'If'", "'Elif'", 
            "'Else'", "'Break'", "'Continue'", "'Call'", "'For'", "'While'", 
            "'Of'", "'In'", "'+'", "'+.'", "'-'", "'*'", "'/'", "'%'", "'!'", 
            "'&&'", "'||'", "'=='", "'==.'", "'!='", "'<'", "'>'", "'<='", 
            "'>='", "','", "'.'", "':'", "';'", "'['", "']'", "'{'", "'}'", 
            "'('", "')'" ]

    symbolicNames = [ "<INVALID>",
            "LET", "CONST", "ASSIGN", "NUMBER", "BOOLEAN", "STRING", "JSON", 
            "ARRAY", "FUN", "RET", "IF", "ELIF", "ELSE", "BREAK", "CONT", 
            "CALL", "FOR", "WHILE", "OF", "IN", "ADD", "STRADD", "NEG", 
            "MUL", "DIV", "MOD", "NOT", "AND", "OR", "EQ", "STREQ", "NEQ", 
            "LT", "GT", "LEQ", "GEQ", "CM", "DOT", "CL", "SM", "LSB", "RSB", 
            "LB", "RB", "LP", "RP", "COMMENT", "WS", "INTLIT", "FLOATLIT", 
            "BOOLIT", "STRINGLIT", "ID", "CONSTID", "ERROR_CHAR", "UNCLOSE_STRING", 
            "ILLEGAL_ESCAPE", "UNTERMINATED_COMMENT" ]

    ruleNames = [ "LETTER", "DIGIT", "SIGN", "EXPONENT", "LET", "CONST", 
                  "ASSIGN", "NUMBER", "BOOLEAN", "STRING", "JSON", "ARRAY", 
                  "FUN", "RET", "IF", "ELIF", "ELSE", "BREAK", "CONT", "CALL", 
                  "FOR", "WHILE", "OF", "IN", "ADD", "STRADD", "NEG", "MUL", 
                  "DIV", "MOD", "NOT", "AND", "OR", "EQ", "STREQ", "NEQ", 
                  "LT", "GT", "LEQ", "GEQ", "CM", "DOT", "CL", "SM", "LSB", 
                  "RSB", "LB", "RB", "LP", "RP", "COMMENT", "WS", "INTLIT", 
                  "FLOATLIT", "BOOLIT", "STRINGLIT", "ID", "CONSTID", "ERROR_CHAR", 
                  "UNCLOSE_STRING", "ILLEGAL_ESCAPE", "UNTERMINATED_COMMENT" ]

    grammarFileName = "CSEL.g4"

    def __init__(self, input=None, output:TextIO = sys.stdout):
        super().__init__(input, output)
        self.checkVersion("4.8")
        self._interp = LexerATNSimulator(self, self.atn, self.decisionsToDFA, PredictionContextCache())
        self._actions = None
        self._predicates = None


    def emit(self):
        tk = self.type
        result = super().emit()
        if tk == self.UNCLOSE_STRING:
            raise UncloseString(result.text[1:])
        elif tk == self.ILLEGAL_ESCAPE:
            raise IllegalEscape(result.text)
        elif tk == self.ERROR_CHAR:
            raise ErrorToken(result.text)
        elif tk == self.STRING:

            return result
        elif tk == self.UNTERMINATED_COMMENT:
            raise UnterminatedComment()
        else:
            return result;


    def action(self, localctx:RuleContext, ruleIndex:int, actionIndex:int):
        if self._actions is None:
            actions = dict()
            actions[55] = self.STRINGLIT_action 
            actions[60] = self.ILLEGAL_ESCAPE_action 
            self._actions = actions
        action = self._actions.get(ruleIndex, None)
        if action is not None:
            action(localctx, actionIndex)
        else:
            raise Exception("No registered action for:" + str(ruleIndex))


    def STRINGLIT_action(self, localctx:RuleContext , actionIndex:int):
        if actionIndex == 0:
            self.text = self.text[1:len(self.text)-1]
     

    def ILLEGAL_ESCAPE_action(self, localctx:RuleContext , actionIndex:int):
        if actionIndex == 1:
            for i in range(len(self.text)):
                check = (self.text[i] == "\\") or (self.text[i+1] in "\'\"\t\f\r\n")
                if check == True:
                    self.text = self.text[1:i+2]
                    break

     


