transformChildren<A> method

  1. @override
void transformChildren<A>(
  1. Transformer<A> transformer,
  2. A arg
)
override

Transforms children of this node by invoking transformer with the argument arg.

Implementation

@override
void transformChildren<A>(Transformer<A> transformer, A arg) {
  operator = transformer.transformChild(operator, this, arg);
  query = transformer.transformChild(query, this, arg);
  if (constraint is OnConstraint) {
    final onConstraint = constraint as OnConstraint;
    onConstraint.expression =
        transformer.transformChild(onConstraint.expression, this, arg);
  }
}