private JsonReader(TextReader reader, bool owned) { if (reader == null) { throw new ArgumentNullException("reader"); } parserInString = false; parserReturn = false; readStarted = false; automationStack = new Stack<int>(); automationStack.Push((int)ParserToken.End); automationStack.Push((int)ParserToken.Text); lexer = new Lexer(reader); EndOfInput = false; EndOfJson = false; SkipNonMembers = true; this.reader = reader; readerIsOwned = owned; TypeHinting = false; HintTypeName = "__type__"; HintValueName = "__value__"; }
private JsonReader(TextReader reader, bool owned) { if (reader == null) { throw new ArgumentNullException("reader"); } this.parser_in_string = false; this.parser_return = false; this.read_started = false; this.automaton_stack = new Stack<int>(); this.automaton_stack.Push(65553); this.automaton_stack.Push(65543); this.lexer = new Lexer(reader); this.end_of_input = false; this.end_of_json = false; this.reader = reader; this.reader_is_owned = owned; }
private JsonReader(TextReader reader, bool owned) { if (reader == null) throw new ArgumentNullException ("reader"); parser_in_string = false; parser_return = false; read_started = false; automaton_stack = new Stack<int> (); automaton_stack.Push ((int) ParserToken.End); automaton_stack.Push ((int) ParserToken.Text); lexer = new Lexer (reader); end_of_input = false; end_of_json = false; this.reader = reader; reader_is_owned = owned; }
static Lexer() { Lexer.PopulateFsmTables(); }