Пример #1
0
 @Override
 public Void visitInterpolationExpression(InterpolationExpression node) {
   if (node.getRightBracket() != null) {
     writer.print("${");
     visit(node.getExpression());
     writer.print("}");
   } else {
     writer.print("$");
     visit(node.getExpression());
   }
   return null;
 }
 @Override
 public R visitInterpolationExpression(InterpolationExpression node) {
   node.visitChildren(this);
   return null;
 }