MCPcopy Create free account
hub / github.com/apache/qpid-proton / enter

Method enter

python/proton/_data.py:744–753  ·  view source on GitHub ↗

Sets the parent node to the current node and clears the current node. Clearing the current node sets it *before* the first child, call :meth:`next` to advance to the first child. :return: ``True`` iff the pointers to the current/parent nodes are changed,

(self)

Source from the content-addressed store, hash-verified

742 return None
743
744 def enter(self) -> bool:
745 """
746 Sets the parent node to the current node and clears the current node.
747 Clearing the current node sets it *before* the first child,
748 call :meth:`next` to advance to the first child.
749
750 :return: ``True`` iff the pointers to the current/parent nodes are changed,
751 ``False`` otherwise.
752 """
753 return pn_data_enter(self._data)
754
755 def exit(self) -> bool:
756 """

Callers 15

put_dictMethod · 0.95
get_dictMethod · 0.95
put_sequenceMethod · 0.95
get_sequenceMethod · 0.95
get_py_describedMethod · 0.95
put_py_describedMethod · 0.95
get_py_arrayMethod · 0.95
put_py_arrayMethod · 0.95
testNestedNextMethod · 0.80
testEnterExitMethod · 0.80
_testArrayMethod · 0.80
testCopyMethod · 0.80

Calls 1

pn_data_enterFunction · 0.85

Tested by 1

test_describedMethod · 0.64