text: # Generated from NestedLists.g4 by ANTLR 4.5.2
  from antlr4 import *
  from io import StringIO
  
  
  def serializedATN():
      with StringIO() as buf:
          buf.write("\3\u0430\ud6d1\u8206\uad2d\u4417\uaef1\u8d80\uaadd\2\6")
          buf.write("\31\b\1\4\2\t\2\4\3\t\3\4\4\t\4\4\5\t\5\3\2\3\2\3\3\3")
          buf.write("\3\3\4\3\4\3\5\5\5\23\n\5\3\5\6\5\26\n\5\r\5\16\5\27\2")
          buf.write("\2\6\3\3\5\4\7\5\t\6\3\2\4\3\2))\3\2\62;\32\2\3\3\2\2")
          buf.write("\2\2\5\3\2\2\2\2\7\3\2\2\2\2\t\3\2\2\2\3\13\3\2\2\2\5")
          buf.write("\r\3\2\2\2\7\17\3\2\2\2\t\22\3\2\2\2\13\f\7*\2\2\f\4\3")
          buf.write("\2\2\2\r\16\7+\2\2\16\6\3\2\2\2\17\20\7.\2\2\20\b\3\2")
          buf.write("\2\2\21\23\t\2\2\2\22\21\3\2\2\2\22\23\3\2\2\2\23\25\3")
          buf.write("\2\2\2\24\26\t\3\2\2\25\24\3\2\2\2\26\27\3\2\2\2\27\25")
          buf.write("\3\2\2\2\27\30\3\2\2\2\30\n\3\2\2\2\5\2\22\27\2")
          return buf.getvalue()
  
  
  class NestedListsLexer(Lexer):
  
      atn = ATNDeserializer().deserialize(serializedATN())
  
      decisionsToDFA = [ DFA(ds, i) for i, ds in enumerate(atn.decisionToState) ]
  
  
      T__0 = 1
      T__1 = 2
      T__2 = 3
      INT = 4
  
      modeNames = [ "DEFAULT_MODE" ]
  
      literalNames = [ "<INVALID>",
              "'('", "')'", "','" ]
  
      symbolicNames = [ "<INVALID>",
              "INT" ]
  
      ruleNames = [ "T__0", "T__1", "T__2", "INT" ]
  
      grammarFileName = "NestedLists.g4"
  
      def __init__(self, input=None):
          super().__init__(input)
          self.checkVersion("4.5.2")
          self._interp = LexerATNSimulator(self, self.atn, self.decisionsToDFA, PredictionContextCache())
          self._actions = None
          self._predicates = None
  
  
  