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