Usage of the push-scoped-node type #106
oppiliappan
started this conversation in
General
Replies: 1 comment 1 reply
-
Hi @nerdypepper! You are correct, it is actually very common to make a connection between a child node and its parent. The idiomatic way to do that is not from the child but from the parent node. For example, see how the
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thanks for exposing this as a crate! I had a quick question about using the DSL, in an example like this:
the
new_push_scoped_symbol_node
has to originate from the capture, or be created within the same stanza, if I understand the capabilities of the DSL. In such a scenario, how does one refer to, say, the "parent" node (to set thescope
attribute toparent
, for example)? I may be misunderstanding the usage of scoped nodes, so perhaps such a necessity never arises, please do correct me if so.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions