remove XTree
[sbp.git] / src / edu / berkeley / sbp / meta / GrammarBuilder.java
index 121f480..ec734f7 100644 (file)
@@ -541,19 +541,4 @@ public class GrammarBuilder {
 
     }
 
-    public class XTree extends ElementNode {
-        public Seq body;
-        public XTree(Seq seq) { this.body = seq; }
-        public Element build(Context cx, NonTerminalNode cnt, boolean dropall) {
-            Union u = new Union(null, false);
-            Sequence s = body.build(cx, u, null, dropall);
-            Union u2 = new Union(null, false);
-            u2.add(Sequence.create(new Element[] {
-                CharAtom.leftBrace,
-                u,
-                CharAtom.rightBrace
-            }, 1));
-            return u2;
-        }
-    }
 }