visitParenthesizedExpression method

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

Implementation

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