MCPcopy Create free account
hub / github.com/congo-cc/congo-parser-generator / new_node

Method new_node

examples/rust/testfiles/ast.rs:644–658  ·  view source on GitHub ↗

Creates a new production node (non-token) with no children. The returned node is detached. Use the other mutation helpers to attach children and place it in the tree.

(&mut self, kind: NodeKind)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

append_plus_oneFunction · 0.80

Calls 3

NodeIdClass · 0.85
lenMethod · 0.45
pushMethod · 0.45

Tested by 3

append_plus_oneFunction · 0.64