Skip to content

Question on node.parse #10

Description

@leojplin

Hi, as I am starting to learn to use this library. I have some questions. I was trying out the examples, and I found out that in order to traverse the children of a node, I first have to manually call parse on the node first. This doesn't seem very ergonomic, is there a reasoning behind this, and could that be changed? Also, why do we pass in the parent object when calling parse? From the same example, it is passing itself as the parent to the parse method, which seems kinda unintuitive.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions