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