OperatorNode constructor
OperatorNode(
- dynamic op,
- dynamic aNode,
- dynamic bNode, [
- List? params,
Implementation
OperatorNode(op, aNode, bNode, [List? params]) : super() {
generateLength = 2;
this.op = op;
if (params != null && params.length > 0) {
var finalBNode = bNode;
for (var i = 0; i < params.length; i++) {
finalBNode = new OperatorNode(op, finalBNode, params[i]);
}
bNode = finalBNode;
}
this.aNode = aNode;
this.bNode = bNode;
}