code: def varType(self):
      localctx = AutolevParser.VarTypeContext(
          self, self._ctx, self.state
      )
      self.enterRule(localctx, 16, self.RULE_varType)
      self._la = 0  # Token type
      try:
          self.state = 164
          self._errHandler.sync(self)
          token = self._input.LA(1)
          if token in [34]:
              self.enterOuterAlt(localctx, 1)
              self.state = 142
              self.match(AutolevParser.Newtonian)
              pass
          elif token in [35]:
              self.enterOuterAlt(localctx, 2)
              self.state = 143
              self.match(AutolevParser.Frames)
              pass
          elif token in [36]:
              self.enterOuterAlt(localctx, 3)
              self.state = 144
              self.match(AutolevParser.Bodies)
              pass
          elif token in [37]:
              self.enterOuterAlt(localctx, 4)
              self.state = 145
              self.match(AutolevParser.Particles)
              pass
          elif token in [38]:
              self.enterOuterAlt(localctx, 5)
              self.state = 146
              self.match(AutolevParser.Points)
              pass
          elif token in [39]:
              self.enterOuterAlt(localctx, 6)
              self.state = 147
              self.match(AutolevParser.Constants)
              pass
          elif token in [40]:
              self.enterOuterAlt(localctx, 7)
              self.state = 148
              self.match(AutolevParser.Specifieds)
              pass
          elif token in [41]:
              self.enterOuterAlt(localctx, 8)
              self.state = 149
              self.match(AutolevParser.Imaginary)
              pass
          elif token in [42]:
              self.enterOuterAlt(localctx, 9)
              self.state = 150
              self.match(AutolevParser.Variables)
              self.state = 154
              self._errHandler.sync(self)
              _la = self._input.LA(1)
              while _la == 11:
                  self.state = 151
                  self.match(AutolevParser.T__10)
                  self.state = 156
                  self._errHandler.sync(self)
                  _la = self._input.LA(1)
  
              pass
          elif token in [43]:
              self.enterOuterAlt(localctx, 10)
              self.state = 157
              self.match(AutolevParser.MotionVariables)
              self.state = 161
              self._errHandler.sync(self)
              _la = self._input.LA(1)
              while _la == 11:
                  self.state = 158
                  self.match(AutolevParser.T__10)
                  self.state = 163
                  self._errHandler.sync(self)
                  _la = self._input.LA(1)
  
              pass
          else:
              raise NoViableAltException(self)
  
      except RecognitionException as re:
          localctx.exception = re
          self._errHandler.reportError(self, re)
          self._errHandler.recover(self, re)
      finally:
          self.exitRule()
      return localctx
  
imports: from antlr4 import *
  from io import StringIO
  import sys
label_desc: Use image node_id 10 for calling the AutolevParser obj's underlying member method code with example usage: obj.varType() and returns: localctx