visitBinaryExpr method

  1. @override
String visitBinaryExpr(
  1. BinaryExpr expr
)
override

Implementation

@override
String visitBinaryExpr(BinaryExpr expr) {
  final leftString = formatAST(expr.left);
  final rightString = formatAST(expr.right);
  return '$leftString ${expr.op} $rightString';
}