MCPcopy Index your code
hub / github.com/apache/groovy / Node

Method Node

src/main/java/groovy/util/Node.java:95–97  ·  view source on GitHub ↗

Creates a new Node named name and if a parent is supplied, adds the newly created node as a child of the parent. @param parent the parent node or null if no parent @param name the name of the node

(Node parent, Object name)

Source from the content-addressed store, hash-verified

93 * @param name the name of the node
94 */
95 public Node(Node parent, Object name) {
96 this(parent, name, new NodeList());
97 }
98
99 /**
100 * Creates a new Node named <code>name</code> with value <code>value</code> and

Callers

nothing calls this directly

Calls 2

getParentListMethod · 0.95
addMethod · 0.65

Tested by

no test coverage detected