HashSet<Sequence> bad2 = new HashSet<Sequence>();
for(int i=0; i<sequences.length; i++) {
Seq[] group = sequences[i];
- Union u2 = new Union();
+ Union u2 = new Union(null, false);
if (sequences.length==1) u2 = u;
for(int j=0; j<group.length; j++) {
group[j].build(cx, u2, false, cnt);
if (!rep) { super.build(cx, u, this); return; }
HashSet<Sequence> bad2 = new HashSet<Sequence>();
- Union urep = new Union();
+ Union urep = new Union(null, false);
urep.add(Sequence.empty);
if (sep != null)
urep.add(Sequence.singleton(new Element[] { cx.get(sep), u }, 1));
for(int i=0; i<sequences.length; i++) {
Seq[] group = sequences[i];
- Union u2 = new Union();
+ Union u2 = new Union(null, false);
if (sequences.length==1) u2 = u;
for(int j=0; j<group.length; j++) {
- Union u3 = new Union();
+ Union u3 = new Union(null, false);
group[j].build(cx, u3, false, this);
Sequence s = Sequence.unwrap(new Element[] { u3, urep },
cx.rm.repeatTag(),
this.sequences = sequences;
}
public Element build(Context cx, NonTerminalNode cnt) {
- Union ret = new Union();
+ Union ret = new Union(null, false);
build(cx, ret, cnt);
return ret;
}
public static @bind.as("{") class XTree extends ElementNode {
public @bind.arg Seq body;
public Element build(Context cx, NonTerminalNode cnt) {
- Union u = new Union();
+ Union u = new Union(null, false);
Sequence s = body.build(cx, u, false, null);
- Union u2 = new Union();
+ Union u2 = new Union(null, false);
u2.add(Sequence.singleton(new Element[] {
CharAtom.leftBrace,
cx.get("ws"),