def exitRule(self, listener: ParseTreeListener):
    if hasattr(listener, 'exitField_declr'):
        listener.exitField_declr(self)
def exitRule(self, listener: ParseTreeListener):
    if hasattr(listener, 'exitField_declr'):
        listener.exitField_declr(self)