visitParenthesizedExpression method Null safety

  1. @override
StringSink visitParenthesizedExpression(
  1. ParenthesizedExpression expression,
  2. [StringSink? output]
)
override

Implementation

@override
StringSink visitParenthesizedExpression(
  ParenthesizedExpression expression, [
  StringSink? output,
]) {
  output ??= StringBuffer();
  output.write('(');
  expression.inner.accept(this, output);
  output.write(')');
  return output;
}