DartBlockValueTreeAlgebraicOperatorNode.init constructor

DartBlockValueTreeAlgebraicOperatorNode.init(
  1. DartBlockAlgebraicOperator? operator,
  2. DartBlockValueTreeAlgebraicNode? leftChild,
  3. DartBlockValueTreeAlgebraicNode? rightChild,
  4. DartBlockValueTreeAlgebraicNode? parent, {
  5. String? specificNodeKey,
})

Implementation

DartBlockValueTreeAlgebraicOperatorNode.init(
  this.operator,
  this.leftChild,
  this.rightChild,
  super.parent, {
  super.specificNodeKey,
}) : super.init(
       numericNodeType: DartBlockValueTreeAlgebraicNodeType.algebraicOperator,
     ) {
  leftChild?.parent = this;
  rightChild?.parent = this;
}