MCPcopy Index your code
hub / github.com/autoNumeric/autoNumeric / createNode

Method createNode

src/maths/ASTNode.js:46–53  ·  view source on GitHub ↗
(type, left, right)

Source from the content-addressed store, hash-verified

44 */
45
46 static createNode(type, left, right) {
47 const node = new ASTNode();
48 node.type = type;
49 node.left = left;
50 node.right = right;
51
52 return node;
53 }
54
55 static createUnaryNode(left) {
56 const node = new ASTNode();

Callers 4

_expMethod · 0.80
_moreExpMethod · 0.80
_termMethod · 0.80
_moreTermsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected