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

Method _term

src/maths/Parser.js:96–102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

94 }
95
96 _term() {
97 const factorNode = this._factor();
98 const termsNode = this._moreTerms();
99
100 //TODO Do not create an 'empty' node where this is multiplied by 1
101 return ASTNode.createNode('op_*', factorNode, termsNode);
102 }
103
104 _moreTerms() {
105 let factorNode;

Callers 2

_expMethod · 0.95
_moreExpMethod · 0.95

Calls 3

_factorMethod · 0.95
_moreTermsMethod · 0.95
createNodeMethod · 0.80

Tested by

no test coverage detected