visitSpreadExpr method

  1. @override
String visitSpreadExpr(
  1. SpreadExpr expr
)
override

Implementation

@override
String visitSpreadExpr(SpreadExpr expr) {
  final output = StringBuffer();
  output.write(_lexicon.spreadSyntax);
  final valueString = formatAST(expr.collection);
  output.write(valueString);
  return output.toString();
}