OpBinary constructor

OpBinary({
  1. OpBinary_Op? op,
  2. Expr? left,
  3. Expr? right,
})

Implementation

factory OpBinary({
  OpBinary_Op? op,
  Expr? left,
  Expr? right,
}) {
  final $result = create();
  if (op != null) {
    $result.op = op;
  }
  if (left != null) {
    $result.left = left;
  }
  if (right != null) {
    $result.right = right;
  }
  return $result;
}