/** * Skips the repeater at the top the stack. */ public final void skipRepeater() throws IOException { int target = pos; Symbol repeater = stack[--pos]; assert repeater.kind == Symbol.Kind.REPEATER; pushProduction(repeater); skipTo(target); }
/** * Skips the repeater at the top the stack. */ public final void skipRepeater() throws IOException { int target = pos; Symbol repeater = stack[--pos]; assert repeater.kind == Symbol.Kind.REPEATER; pushProduction(repeater); skipTo(target); }
/** * Skips data by calling <code>skipXyz</code> or * <code>readXyz</code> methods on <code>this</code>, until the * parser stack reaches the target level. */ public final void skipTo(int target) throws IOException { outer: while (target < pos) { Symbol top = stack[pos - 1]; while (top.kind != Symbol.Kind.TERMINAL) { if (top.kind == Symbol.Kind.IMPLICIT_ACTION || top.kind == Symbol.Kind.EXPLICIT_ACTION) { skipHandler.skipAction(); } else { --pos; pushProduction(top); } continue outer; } skipHandler.skipTopSymbol(); } }
/** * Skips data by calling <code>skipXyz</code> or * <code>readXyz</code> methods on <code>this</code>, until the * parser stack reaches the target level. */ public final void skipTo(int target) throws IOException { outer: while (target < pos) { Symbol top = stack[pos - 1]; while (top.kind != Symbol.Kind.TERMINAL) { if (top.kind == Symbol.Kind.IMPLICIT_ACTION || top.kind == Symbol.Kind.EXPLICIT_ACTION) { skipHandler.skipAction(); } else { --pos; pushProduction(top); } continue outer; } skipHandler.skipTopSymbol(); } }
/** * Skips the repeater at the top the stack. */ public final void skipRepeater() throws IOException { int target = pos; Symbol repeater = stack[--pos]; assert repeater.kind == Symbol.Kind.REPEATER; pushProduction(repeater); skipTo(target); }
/** * Skips the repeater at the top the stack. */ public final void skipRepeater() throws IOException { int target = pos; Symbol repeater = stack[--pos]; assert repeater.kind == Symbol.Kind.REPEATER; pushProduction(repeater); skipTo(target); }
/** * Skips the repeater at the top the stack. */ public final void skipRepeater() throws IOException { int target = pos; Symbol repeater = stack[--pos]; assert repeater.kind == Symbol.Kind.REPEATER; pushProduction(repeater); skipTo(target); }
/** * Skips the repeater at the top the stack. */ public final void skipRepeater() throws IOException { int target = pos; Symbol repeater = stack[--pos]; assert repeater.kind == Symbol.Kind.REPEATER; pushProduction(repeater); skipTo(target); }
/** * Skips data by calling <code>skipXyz</code> or * <code>readXyz</code> methods on <code>this</code>, until the * parser stack reaches the target level. */ public final void skipTo(int target) throws IOException { outer: while (target < pos) { Symbol top = stack[pos - 1]; while (top.kind != Symbol.Kind.TERMINAL) { if (top.kind == Symbol.Kind.IMPLICIT_ACTION || top.kind == Symbol.Kind.EXPLICIT_ACTION) { skipHandler.skipAction(); } else { --pos; pushProduction(top); } continue outer; } skipHandler.skipTopSymbol(); } }
/** * Skips data by calling <code>skipXyz</code> or * <code>readXyz</code> methods on <code>this</code>, until the * parser stack reaches the target level. */ public final void skipTo(int target) throws IOException { outer: while (target < pos) { Symbol top = stack[pos - 1]; while (top.kind != Symbol.Kind.TERMINAL) { if (top.kind == Symbol.Kind.IMPLICIT_ACTION || top.kind == Symbol.Kind.EXPLICIT_ACTION) { skipHandler.skipAction(); } else { --pos; pushProduction(top); } continue outer; } skipHandler.skipTopSymbol(); } }
/** * Skips data by calling <code>skipXyz</code> or * <code>readXyz</code> methods on <code>this</code>, until the * parser stack reaches the target level. */ public final void skipTo(int target) throws IOException { outer: while (target < pos) { Symbol top = stack[pos - 1]; while (top.kind != Symbol.Kind.TERMINAL) { if (top.kind == Symbol.Kind.IMPLICIT_ACTION || top.kind == Symbol.Kind.EXPLICIT_ACTION) { skipHandler.skipAction(); } else { --pos; pushProduction(top); } continue outer; } skipHandler.skipTopSymbol(); } }
/** * Skips data by calling <code>skipXyz</code> or * <code>readXyz</code> methods on <code>this</code>, until the * parser stack reaches the target level. */ public final void skipTo(int target) throws IOException { outer: while (target < pos) { Symbol top = stack[pos - 1]; while (top.kind != Symbol.Kind.TERMINAL) { if (top.kind == Symbol.Kind.IMPLICIT_ACTION || top.kind == Symbol.Kind.EXPLICIT_ACTION) { skipHandler.skipAction(); } else { --pos; pushProduction(top); } continue outer; } skipHandler.skipTopSymbol(); } }