X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fibex%2Fxml%2FJSRewriter.java;fp=src%2Forg%2Fibex%2Fxml%2FJSRewriter.java;h=0000000000000000000000000000000000000000;hb=5365f47787b1b4eeca31ad5da2373237371e264e;hp=d87afb3a9fabe3918de70b7fae0d2fb374c8885d;hpb=308cdcc279f012c0b69b871f81ec1c11c703bd13;p=org.ibex.xt.git diff --git a/src/org/ibex/xml/JSRewriter.java b/src/org/ibex/xml/JSRewriter.java deleted file mode 100644 index d87afb3..0000000 --- a/src/org/ibex/xml/JSRewriter.java +++ /dev/null @@ -1,48 +0,0 @@ -package org.ibex.xml; -import org.ibex.js.*; -import org.ibex.util.*; -import org.ibex.io.*; -import java.io.*; -import java.net.*; -import java.util.*; - -public class JSRewriter extends XML.Node.Stream { - - private XML.Node.Stream in; - private JSScope scope; - - public JSRewriter(XML.Node.Stream in) { this.in = in; this.scope = new JSScope(null); } - public JSRewriter(XML.Node.Stream in, JSScope scope) { this.in = in; this.scope = scope; } - - public boolean _next(int level, XML.Node n) { - if (!in.next(level, n)) return false; - if (n.cdata != null) n.cdata = eval(n.cdata); - else for(int i=1; i