toProto method

  1. @override
Value toProto(
  1. PipelineEncoder encoder
)

Returns the wire representation of this expression.

Implementation

@override
pb.Value toProto(PipelineEncoder encoder) {
  return pb.Value()
    ..functionValue = (pb.Function_()
      ..name = name
      ..args.addAll(args.map((Expression e) => e.toProto(encoder))));
}