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