@Override public Repeater flatten(Map<Sequence, Sequence> map, Map<Sequence, List<Fixup>> map2) { Repeater result = new Repeater(end, new Symbol[flattenedSize(production, 1)]); flatten(production, 1, result.production, 1, map, map2); return result; }
/** * A convenience method to construct a repeater. * @param symsToRepeat The symbols to repeat in the repeater. */ static Symbol repeat(Symbol endSymbol, Symbol... symsToRepeat) { return new Repeater(endSymbol, symsToRepeat); }
@Override public Repeater flatten(Map<Sequence, Sequence> map, Map<Sequence, List<Fixup>> map2) { Repeater result = new Repeater(end, new Symbol[flattenedSize(production, 1)]); flatten(production, 1, result.production, 1, map, map2); return result; }
/** * A convenience method to construct a repeater. * @param symsToRepeat The symbols to repeat in the repeater. */ static Symbol repeat(Symbol endSymbol, Symbol... symsToRepeat) { return new Repeater(endSymbol, symsToRepeat); }
/** * A convenience method to construct a repeater. * @param symsToRepeat The symbols to repeat in the repeater. */ static Symbol repeat(Symbol endSymbol, Symbol... symsToRepeat) { return new Repeater(endSymbol, symsToRepeat); }
/** * A convenience method to construct a repeater. * @param symsToRepeat The symbols to repeat in the repeater. */ static Symbol repeat(Symbol endSymbol, Symbol... symsToRepeat) { return new Repeater(endSymbol, symsToRepeat); }
@Override public Repeater flatten(Map<Sequence, Sequence> map, Map<Sequence, List<Fixup>> map2) { Repeater result = new Repeater(end, new Symbol[flattenedSize(production, 1)]); flatten(production, 1, result.production, 1, map, map2); return result; }
@Override public Repeater flatten(Map<Sequence, Sequence> map, Map<Sequence, List<Fixup>> map2) { Repeater result = new Repeater(end, new Symbol[flattenedSize(production, 1)]); flatten(production, 1, result.production, 1, map, map2); return result; }
@Override public Repeater flatten(Map<Sequence, Sequence> map, Map<Sequence, List<Fixup>> map2) { Repeater result = new Repeater(end, new Symbol[flattenedSize(production, 1)]); flatten(production, 1, result.production, 1, map, map2); return result; }
@Override public Repeater flatten(Map<Sequence, Sequence> map, Map<Sequence, List<Fixup>> map2) { Repeater result = new Repeater(end, new Symbol[flattenedSize(production, 1)]); flatten(production, 1, result.production, 1, map, map2); return result; }
/** * A convenience method to construct a repeater. * @param symsToRepeat The symbols to repeat in the repeater. */ static Symbol repeat(Symbol endSymbol, Symbol... symsToRepeat) { return new Repeater(endSymbol, symsToRepeat); }
/** * A convenience method to construct a repeater. * @param symsToRepeat The symbols to repeat in the repeater. */ static Symbol repeat(Symbol endSymbol, Symbol... symsToRepeat) { return new Repeater(endSymbol, symsToRepeat); }