# Generated from main/mc/parser/MC.g4 by ANTLR 4.7.2
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\61")
        buf.write("\u0153\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\3\2\3\2\3\2\3\2\3\3\3\3")
        buf.write("\3\3\3\3\3\3\3\4\3\4\3\4\3\4\3\4\3\4\3\4\3\4\3\5\3\5\3")
        buf.write("\5\3\5\3\5\3\5\3\6\3\6\3\6\3\6\3\6\3\6\3\6\3\6\3\6\3\7")
        buf.write("\3\7\3\7\3\7\3\7\3\b\3\b\3\b\3\b\3\t\3\t\3\t\3\t\3\t\3")
        buf.write("\t\3\n\3\n\3\n\3\13\3\13\3\13\3\13\3\13\3\13\3\13\3\f")
        buf.write("\3\f\3\f\3\r\3\r\3\r\3\r\3\r\3\r\3\16\3\16\3\16\3\16\3")
        buf.write("\16\3\16\3\16\3\17\3\17\3\20\3\20\3\21\3\21\3\22\3\22")
        buf.write("\3\22\3\23\3\23\3\23\3\24\3\24\3\25\3\25\3\25\3\26\3\26")
        buf.write("\3\27\3\27\3\30\3\30\3\31\3\31\3\32\3\32\3\32\3\33\3\33")
        buf.write("\3\33\3\34\3\34\3\35\3\35\3\35\3\36\6\36\u00d2\n\36\r")
        buf.write("\36\16\36\u00d3\3\37\3\37\3\37\5\37\u00d9\n\37\3\37\3")
        buf.write("\37\3\37\5\37\u00de\n\37\3\37\3\37\3\37\3\37\3\37\5\37")
        buf.write("\u00e5\n\37\3\37\3\37\5\37\u00e9\n\37\3\37\5\37\u00ec")
        buf.write("\n\37\5\37\u00ee\n\37\3 \3 \3 \3 \3 \3 \3 \3 \3 \5 \u00f9")
        buf.write("\n \3!\3!\3\"\3\"\3#\3#\3$\3$\3%\3%\3&\3&\3\'\3\'\3(\3")
        buf.write("(\3)\6)\u010c\n)\r)\16)\u010d\3)\3)\3*\3*\3*\3*\7*\u0116")
        buf.write("\n*\f*\16*\u0119\13*\3*\3*\3*\3*\3*\3+\3+\3+\3+\7+\u0124")
        buf.write("\n+\f+\16+\u0127\13+\3+\3+\3,\3,\3,\3,\3,\3,\3,\3,\3,")
        buf.write("\3,\3,\3,\3,\3,\5,\u0139\n,\3-\3-\3-\7-\u013e\n-\f-\16")
        buf.write("-\u0141\13-\3.\3.\3.\3.\3/\3/\3/\3/\3\60\3\60\7\60\u014d")
        buf.write("\n\60\f\60\16\60\u0150\13\60\3\61\3\61\3\u0117\2\62\3")
        buf.write("\3\5\4\7\5\t\6\13\7\r\b\17\t\21\n\23\13\25\f\27\r\31\16")
        buf.write("\33\17\35\20\37\21!\22#\23%\24\'\25)\26+\27-\30/\31\61")
        buf.write("\32\63\33\65\34\67\359\36;\37= ?!A\"C#E$G%I&K\'M(O)Q*")
        buf.write("S+U,W\2Y-[.]/_\60a\61\3\2\n\3\2\62;\4\2GGgg\5\2\13\f\17")
        buf.write("\17\"\"\4\2\f\f\17\17\6\2\n\f\16\17$$^^\t\2$$^^ddhhpp")
        buf.write("ttvv\5\2C\\aac|\6\2\62;C\\aac|\2\u0165\2\3\3\2\2\2\2\5")
        buf.write("\3\2\2\2\2\7\3\2\2\2\2\t\3\2\2\2\2\13\3\2\2\2\2\r\3\2")
        buf.write("\2\2\2\17\3\2\2\2\2\21\3\2\2\2\2\23\3\2\2\2\2\25\3\2\2")
        buf.write("\2\2\27\3\2\2\2\2\31\3\2\2\2\2\33\3\2\2\2\2\35\3\2\2\2")
        buf.write("\2\37\3\2\2\2\2!\3\2\2\2\2#\3\2\2\2\2%\3\2\2\2\2\'\3\2")
        buf.write("\2\2\2)\3\2\2\2\2+\3\2\2\2\2-\3\2\2\2\2/\3\2\2\2\2\61")
        buf.write("\3\2\2\2\2\63\3\2\2\2\2\65\3\2\2\2\2\67\3\2\2\2\29\3\2")
        buf.write("\2\2\2;\3\2\2\2\2=\3\2\2\2\2?\3\2\2\2\2A\3\2\2\2\2C\3")
        buf.write("\2\2\2\2E\3\2\2\2\2G\3\2\2\2\2I\3\2\2\2\2K\3\2\2\2\2M")
        buf.write("\3\2\2\2\2O\3\2\2\2\2Q\3\2\2\2\2S\3\2\2\2\2U\3\2\2\2\2")
        buf.write("Y\3\2\2\2\2[\3\2\2\2\2]\3\2\2\2\2_\3\2\2\2\2a\3\2\2\2")
        buf.write("\3c\3\2\2\2\5g\3\2\2\2\7l\3\2\2\2\tt\3\2\2\2\13z\3\2\2")
        buf.write("\2\r\u0083\3\2\2\2\17\u0088\3\2\2\2\21\u008c\3\2\2\2\23")
        buf.write("\u0092\3\2\2\2\25\u0095\3\2\2\2\27\u009c\3\2\2\2\31\u009f")
        buf.write("\3\2\2\2\33\u00a5\3\2\2\2\35\u00ac\3\2\2\2\37\u00ae\3")
        buf.write("\2\2\2!\u00b0\3\2\2\2#\u00b2\3\2\2\2%\u00b5\3\2\2\2\'")
        buf.write("\u00b8\3\2\2\2)\u00ba\3\2\2\2+\u00bd\3\2\2\2-\u00bf\3")
        buf.write("\2\2\2/\u00c1\3\2\2\2\61\u00c3\3\2\2\2\63\u00c5\3\2\2")
        buf.write("\2\65\u00c8\3\2\2\2\67\u00cb\3\2\2\29\u00cd\3\2\2\2;\u00d1")
        buf.write("\3\2\2\2=\u00ed\3\2\2\2?\u00f8\3\2\2\2A\u00fa\3\2\2\2")
        buf.write("C\u00fc\3\2\2\2E\u00fe\3\2\2\2G\u0100\3\2\2\2I\u0102\3")
        buf.write("\2\2\2K\u0104\3\2\2\2M\u0106\3\2\2\2O\u0108\3\2\2\2Q\u010b")
        buf.write("\3\2\2\2S\u0111\3\2\2\2U\u011f\3\2\2\2W\u0138\3\2\2\2")
        buf.write("Y\u013a\3\2\2\2[\u0142\3\2\2\2]\u0146\3\2\2\2_\u014a\3")
        buf.write("\2\2\2a\u0151\3\2\2\2cd\7k\2\2de\7p\2\2ef\7v\2\2f\4\3")
        buf.write("\2\2\2gh\7x\2\2hi\7q\2\2ij\7k\2\2jk\7f\2\2k\6\3\2\2\2")
        buf.write("lm\7d\2\2mn\7q\2\2no\7q\2\2op\7n\2\2pq\7g\2\2qr\7c\2\2")
        buf.write("rs\7p\2\2s\b\3\2\2\2tu\7d\2\2uv\7t\2\2vw\7g\2\2wx\7c\2")
        buf.write("\2xy\7m\2\2y\n\3\2\2\2z{\7e\2\2{|\7q\2\2|}\7p\2\2}~\7")
        buf.write("v\2\2~\177\7k\2\2\177\u0080\7p\2\2\u0080\u0081\7w\2\2")
        buf.write("\u0081\u0082\7g\2\2\u0082\f\3\2\2\2\u0083\u0084\7g\2\2")
        buf.write("\u0084\u0085\7n\2\2\u0085\u0086\7u\2\2\u0086\u0087\7g")
        buf.write("\2\2\u0087\16\3\2\2\2\u0088\u0089\7h\2\2\u0089\u008a\7")
        buf.write("q\2\2\u008a\u008b\7t\2\2\u008b\20\3\2\2\2\u008c\u008d")
        buf.write("\7h\2\2\u008d\u008e\7n\2\2\u008e\u008f\7q\2\2\u008f\u0090")
        buf.write("\7c\2\2\u0090\u0091\7v\2\2\u0091\22\3\2\2\2\u0092\u0093")
        buf.write("\7k\2\2\u0093\u0094\7h\2\2\u0094\24\3\2\2\2\u0095\u0096")
        buf.write("\7t\2\2\u0096\u0097\7g\2\2\u0097\u0098\7v\2\2\u0098\u0099")
        buf.write("\7w\2\2\u0099\u009a\7t\2\2\u009a\u009b\7p\2\2\u009b\26")
        buf.write("\3\2\2\2\u009c\u009d\7f\2\2\u009d\u009e\7q\2\2\u009e\30")
        buf.write("\3\2\2\2\u009f\u00a0\7y\2\2\u00a0\u00a1\7j\2\2\u00a1\u00a2")
        buf.write("\7k\2\2\u00a2\u00a3\7n\2\2\u00a3\u00a4\7g\2\2\u00a4\32")
        buf.write("\3\2\2\2\u00a5\u00a6\7u\2\2\u00a6\u00a7\7v\2\2\u00a7\u00a8")
        buf.write("\7t\2\2\u00a8\u00a9\7k\2\2\u00a9\u00aa\7p\2\2\u00aa\u00ab")
        buf.write("\7i\2\2\u00ab\34\3\2\2\2\u00ac\u00ad\7-\2\2\u00ad\36\3")
        buf.write("\2\2\2\u00ae\u00af\7,\2\2\u00af \3\2\2\2\u00b0\u00b1\7")
        buf.write("#\2\2\u00b1\"\3\2\2\2\u00b2\u00b3\7~\2\2\u00b3\u00b4\7")
        buf.write("~\2\2\u00b4$\3\2\2\2\u00b5\u00b6\7#\2\2\u00b6\u00b7\7")
        buf.write("?\2\2\u00b7&\3\2\2\2\u00b8\u00b9\7>\2\2\u00b9(\3\2\2\2")
        buf.write("\u00ba\u00bb\7>\2\2\u00bb\u00bc\7?\2\2\u00bc*\3\2\2\2")
        buf.write("\u00bd\u00be\7?\2\2\u00be,\3\2\2\2\u00bf\u00c0\7/\2\2")
        buf.write("\u00c0.\3\2\2\2\u00c1\u00c2\7\61\2\2\u00c2\60\3\2\2\2")
        buf.write("\u00c3\u00c4\7\'\2\2\u00c4\62\3\2\2\2\u00c5\u00c6\7(\2")
        buf.write("\2\u00c6\u00c7\7(\2\2\u00c7\64\3\2\2\2\u00c8\u00c9\7?")
        buf.write("\2\2\u00c9\u00ca\7?\2\2\u00ca\66\3\2\2\2\u00cb\u00cc\7")
        buf.write("@\2\2\u00cc8\3\2\2\2\u00cd\u00ce\7@\2\2\u00ce\u00cf\7")
        buf.write("?\2\2\u00cf:\3\2\2\2\u00d0\u00d2\t\2\2\2\u00d1\u00d0\3")
        buf.write("\2\2\2\u00d2\u00d3\3\2\2\2\u00d3\u00d1\3\2\2\2\u00d3\u00d4")
        buf.write("\3\2\2\2\u00d4<\3\2\2\2\u00d5\u00d6\5;\36\2\u00d6\u00d8")
        buf.write("\t\3\2\2\u00d7\u00d9\7/\2\2\u00d8\u00d7\3\2\2\2\u00d8")
        buf.write("\u00d9\3\2\2\2\u00d9\u00da\3\2\2\2\u00da\u00db\5;\36\2")
        buf.write("\u00db\u00ee\3\2\2\2\u00dc\u00de\5;\36\2\u00dd\u00dc\3")
        buf.write("\2\2\2\u00dd\u00de\3\2\2\2\u00de\u00df\3\2\2\2\u00df\u00e0")
        buf.write("\7\60\2\2\u00e0\u00e5\5;\36\2\u00e1\u00e2\5;\36\2\u00e2")
        buf.write("\u00e3\7\60\2\2\u00e3\u00e5\3\2\2\2\u00e4\u00dd\3\2\2")
        buf.write("\2\u00e4\u00e1\3\2\2\2\u00e5\u00eb\3\2\2\2\u00e6\u00e8")
        buf.write("\t\3\2\2\u00e7\u00e9\7/\2\2\u00e8\u00e7\3\2\2\2\u00e8")
        buf.write("\u00e9\3\2\2\2\u00e9\u00ea\3\2\2\2\u00ea\u00ec\5;\36\2")
        buf.write("\u00eb\u00e6\3\2\2\2\u00eb\u00ec\3\2\2\2\u00ec\u00ee\3")
        buf.write("\2\2\2\u00ed\u00d5\3\2\2\2\u00ed\u00e4\3\2\2\2\u00ee>")
        buf.write("\3\2\2\2\u00ef\u00f0\7v\2\2\u00f0\u00f1\7t\2\2\u00f1\u00f2")
        buf.write("\7w\2\2\u00f2\u00f9\7g\2\2\u00f3\u00f4\7h\2\2\u00f4\u00f5")
        buf.write("\7c\2\2\u00f5\u00f6\7n\2\2\u00f6\u00f7\7u\2\2\u00f7\u00f9")
        buf.write("\7g\2\2\u00f8\u00ef\3\2\2\2\u00f8\u00f3\3\2\2\2\u00f9")
        buf.write("@\3\2\2\2\u00fa\u00fb\7*\2\2\u00fbB\3\2\2\2\u00fc\u00fd")
        buf.write("\7+\2\2\u00fdD\3\2\2\2\u00fe\u00ff\7}\2\2\u00ffF\3\2\2")
        buf.write("\2\u0100\u0101\7\177\2\2\u0101H\3\2\2\2\u0102\u0103\7")
        buf.write("=\2\2\u0103J\3\2\2\2\u0104\u0105\7.\2\2\u0105L\3\2\2\2")
        buf.write("\u0106\u0107\7]\2\2\u0107N\3\2\2\2\u0108\u0109\7_\2\2")
        buf.write("\u0109P\3\2\2\2\u010a\u010c\t\4\2\2\u010b\u010a\3\2\2")
        buf.write("\2\u010c\u010d\3\2\2\2\u010d\u010b\3\2\2\2\u010d\u010e")
        buf.write("\3\2\2\2\u010e\u010f\3\2\2\2\u010f\u0110\b)\2\2\u0110")
        buf.write("R\3\2\2\2\u0111\u0112\7\61\2\2\u0112\u0113\7,\2\2\u0113")
        buf.write("\u0117\3\2\2\2\u0114\u0116\13\2\2\2\u0115\u0114\3\2\2")
        buf.write("\2\u0116\u0119\3\2\2\2\u0117\u0118\3\2\2\2\u0117\u0115")
        buf.write("\3\2\2\2\u0118\u011a\3\2\2\2\u0119\u0117\3\2\2\2\u011a")
        buf.write("\u011b\7,\2\2\u011b\u011c\7\61\2\2\u011c\u011d\3\2\2\2")
        buf.write("\u011d\u011e\b*\2\2\u011eT\3\2\2\2\u011f\u0120\7\61\2")
        buf.write("\2\u0120\u0121\7\61\2\2\u0121\u0125\3\2\2\2\u0122\u0124")
        buf.write("\n\5\2\2\u0123\u0122\3\2\2\2\u0124\u0127\3\2\2\2\u0125")
        buf.write("\u0123\3\2\2\2\u0125\u0126\3\2\2\2\u0126\u0128\3\2\2\2")
        buf.write("\u0127\u0125\3\2\2\2\u0128\u0129\b+\2\2\u0129V\3\2\2\2")
        buf.write("\u012a\u012b\7^\2\2\u012b\u0139\7d\2\2\u012c\u012d\7^")
        buf.write("\2\2\u012d\u0139\7h\2\2\u012e\u012f\7^\2\2\u012f\u0139")
        buf.write("\7t\2\2\u0130\u0131\7^\2\2\u0131\u0139\7p\2\2\u0132\u0133")
        buf.write("\7^\2\2\u0133\u0139\7v\2\2\u0134\u0135\7^\2\2\u0135\u0139")
        buf.write("\7$\2\2\u0136\u0137\7^\2\2\u0137\u0139\7^\2\2\u0138\u012a")
        buf.write("\3\2\2\2\u0138\u012c\3\2\2\2\u0138\u012e\3\2\2\2\u0138")
        buf.write("\u0130\3\2\2\2\u0138\u0132\3\2\2\2\u0138\u0134\3\2\2\2")
        buf.write("\u0138\u0136\3\2\2\2\u0139X\3\2\2\2\u013a\u013f\7$\2\2")
        buf.write("\u013b\u013e\n\6\2\2\u013c\u013e\5W,\2\u013d\u013b\3\2")
        buf.write("\2\2\u013d\u013c\3\2\2\2\u013e\u0141\3\2\2\2\u013f\u013d")
        buf.write("\3\2\2\2\u013f\u0140\3\2\2\2\u0140Z\3\2\2\2\u0141\u013f")
        buf.write("\3\2\2\2\u0142\u0143\5Y-\2\u0143\u0144\7^\2\2\u0144\u0145")
        buf.write("\n\7\2\2\u0145\\\3\2\2\2\u0146\u0147\5Y-\2\u0147\u0148")
        buf.write("\7$\2\2\u0148\u0149\b/\3\2\u0149^\3\2\2\2\u014a\u014e")
        buf.write("\t\b\2\2\u014b\u014d\t\t\2\2\u014c\u014b\3\2\2\2\u014d")
        buf.write("\u0150\3\2\2\2\u014e\u014c\3\2\2\2\u014e\u014f\3\2\2\2")
        buf.write("\u014f`\3\2\2\2\u0150\u014e\3\2\2\2\u0151\u0152\13\2\2")
        buf.write("\2\u0152b\3\2\2\2\22\2\u00d3\u00d8\u00dd\u00e4\u00e8\u00eb")
        buf.write("\u00ed\u00f8\u010d\u0117\u0125\u0138\u013d\u013f\u014e")
        buf.write("\4\b\2\2\3/\2")
        return buf.getvalue()


class MCLexer(Lexer):

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

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

    INTTYPE = 1
    VOIDTYPE = 2
    BOOLTYPE = 3
    BREAK = 4
    CONTINUE = 5
    ELSE = 6
    FOR = 7
    FLOATTYPE = 8
    IF = 9
    RETURN = 10
    DO = 11
    WHILE = 12
    STRINGTYPE = 13
    ADD = 14
    MULTIPLICATION = 15
    NOT = 16
    OR = 17
    NOT_EQUAL = 18
    LESS_THAN = 19
    LESS_THAN_OR_EQUAL = 20
    ASSIGN = 21
    SUB = 22
    DIVISION = 23
    MODULUS = 24
    AND = 25
    EQUAL = 26
    GREATER_THAN = 27
    GREATER_THAN_OR_EQUAL = 28
    INTLIT = 29
    FLOAT_LITERAL = 30
    BOOLEAN_LIT = 31
    LB = 32
    RB = 33
    LP = 34
    RP = 35
    SEMI = 36
    COMMA = 37
    LSB = 38
    RSB = 39
    WS = 40
    BLOCK_COMMENT = 41
    LINE_COMMENT = 42
    UNCLOSE_STRING = 43
    ILLEGAL_ESCAPE = 44
    STRING_LIT = 45
    ID = 46
    ERROR_CHAR = 47

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

    modeNames = [ "DEFAULT_MODE" ]

    literalNames = [ "<INVALID>",
            "'int'", "'void'", "'boolean'", "'break'", "'continue'", "'else'", 
            "'for'", "'float'", "'if'", "'return'", "'do'", "'while'", "'string'", 
            "'+'", "'*'", "'!'", "'||'", "'!='", "'<'", "'<='", "'='", "'-'", 
            "'/'", "'%'", "'&&'", "'=='", "'>'", "'>='", "'('", "')'", "'{'", 
            "'}'", "';'", "','", "'['", "']'" ]

    symbolicNames = [ "<INVALID>",
            "INTTYPE", "VOIDTYPE", "BOOLTYPE", "BREAK", "CONTINUE", "ELSE", 
            "FOR", "FLOATTYPE", "IF", "RETURN", "DO", "WHILE", "STRINGTYPE", 
            "ADD", "MULTIPLICATION", "NOT", "OR", "NOT_EQUAL", "LESS_THAN", 
            "LESS_THAN_OR_EQUAL", "ASSIGN", "SUB", "DIVISION", "MODULUS", 
            "AND", "EQUAL", "GREATER_THAN", "GREATER_THAN_OR_EQUAL", "INTLIT", 
            "FLOAT_LITERAL", "BOOLEAN_LIT", "LB", "RB", "LP", "RP", "SEMI", 
            "COMMA", "LSB", "RSB", "WS", "BLOCK_COMMENT", "LINE_COMMENT", 
            "UNCLOSE_STRING", "ILLEGAL_ESCAPE", "STRING_LIT", "ID", "ERROR_CHAR" ]

    ruleNames = [ "INTTYPE", "VOIDTYPE", "BOOLTYPE", "BREAK", "CONTINUE", 
                  "ELSE", "FOR", "FLOATTYPE", "IF", "RETURN", "DO", "WHILE", 
                  "STRINGTYPE", "ADD", "MULTIPLICATION", "NOT", "OR", "NOT_EQUAL", 
                  "LESS_THAN", "LESS_THAN_OR_EQUAL", "ASSIGN", "SUB", "DIVISION", 
                  "MODULUS", "AND", "EQUAL", "GREATER_THAN", "GREATER_THAN_OR_EQUAL", 
                  "INTLIT", "FLOAT_LITERAL", "BOOLEAN_LIT", "LB", "RB", 
                  "LP", "RP", "SEMI", "COMMA", "LSB", "RSB", "WS", "BLOCK_COMMENT", 
                  "LINE_COMMENT", "LEGAL_ESCAPE", "UNCLOSE_STRING", "ILLEGAL_ESCAPE", 
                  "STRING_LIT", "ID", "ERROR_CHAR" ]

    grammarFileName = "MC.g4"

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


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


    def action(self, localctx:RuleContext, ruleIndex:int, actionIndex:int):
        if self._actions is None:
            actions = dict()
            actions[45] = self.STRING_LIT_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 STRING_LIT_action(self, localctx:RuleContext , actionIndex:int):
        if actionIndex == 0:
            self.text = self.text[1:-1]
     


