def enterRule(self, listener: ParseTreeListener):
    if hasattr(listener, 'enterStatement'):
        listener.enterStatement(self)
def enterRule(self, listener: ParseTreeListener):
    if hasattr(listener, 'enterStatement'):
        listener.enterStatement(self)