+ public static final class Text extends JSLeaf {
+ public Text(Tree.Leaf w) { super(w); }
+ public void out(Writer w) throws IOException {
+ // FIXME: make eval() take a writer
+ StringWriter sw = new StringWriter();
+ super.out(sw);
+ w.write((String)eval(sw.toString()));
+ }
+ }
+