Skip to content

Implement methods of interface Node #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 22 commits into from
Jun 6, 2021
Merged

Implement methods of interface Node #32

merged 22 commits into from
Jun 6, 2021

Conversation

hepheir
Copy link
Owner

@hepheir hepheir commented Jun 6, 2021

No description provided.

hepheir added 22 commits June 4, 2021 11:16
the `parent_node` cannot be set directly on constructor.

since the parent node should have self in its `child_nodes`.
the binding of parent-child nodes can be done with `insert_before`, `append_child` methods.
A `Document` object; `owner_document` must be given when creating a `Node`.

But if this node is a `Document`, `owner_document` is `None`.
failed test: `test_AppendExistingChild()`
and its accessor methods; `Node._shallow_copy()` and `Node._deep_copy()`
class name: `Test<Type>_<MethodName>`
method name: `test_<StateOrParams>`
@hepheir hepheir self-assigned this Jun 6, 2021
@hepheir hepheir added the enhancement New feature or request label Jun 6, 2021
@hepheir hepheir marked this pull request as ready for review June 6, 2021 11:47
@hepheir hepheir linked an issue Jun 6, 2021 that may be closed by this pull request
17 tasks
@hepheir hepheir merged commit e51b7dc into master Jun 6, 2021
@hepheir hepheir deleted the Hepheir/issue16 branch June 6, 2021 11:48
@hepheir hepheir added type:others issues not falling in bug, perfromance, support, build and install or feature and removed enhancement New feature or request labels Jun 7, 2021
@hepheir hepheir added type:feature Feature requests and removed type:others issues not falling in bug, perfromance, support, build and install or feature labels Jun 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature Feature requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement interface Node
1 participant