public static Reply <T> Error <T>(ParserErrorTag tag, Pos pos, string message, Lst <string> expected) => new Reply <T>(new ParserError(tag, pos, message, expected, null));
public IParseQueue(Position pos) { Position = pos; }
public static bool onside(Pos pos, Pos delta) => pos.Column > delta.Column || pos.Line == delta.Line;
public ParenParseQueue(LPU[][] p, Position pos, Reflector.ReflCtx ctx) : base(pos) { paren = p; Ctx = ctx; }
public static Parser <T> setDefPos <T>(Pos defpos, Parser <T> p) => (PString inp) => p(inp.SetDefPos(defpos));