code: def equality(self):
      localctx = LaTeXParser.EqualityContext(
          self, self._ctx, self.state
      )
      self.enterRule(localctx, 4, self.RULE_equality)
      try:
          self.enterOuterAlt(localctx, 1)
          self.state = 95
          self.expr()
          self.state = 96
          self.match(LaTeXParser.EQUAL)
          self.state = 97
          self.expr()
      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 4 for calling the LaTeXParser obj's underlying member method code with example usage: obj.equality() and returns: localctx