//caller should not change input after it is passed in. internal ParserState(Tok[] input, int at, string module, PositionMap pmap, int end_index, string eof_str, ShowToken show) : base(at, module, pmap) { this.input = input; this.sys_unexpected = new ParsecError[input.Length]; this.show = show; this.end_index = end_index; this.eof_unexpected = ParsecError.raiseSysUnexpected( end_index, eof_str); }