Ancestry.QueryProcessor.Parse.Lexer.Lexer C# (CSharp) Method

Lexer() public method

It is an error to access the current TokenType until NextToken has been called.
public Lexer ( string input ) : System
input string
return System
        public Lexer(string input)
        {
            _tokenizer = new Tokenizer(input);
            for (int i = 0; i < LookAheadCount; i++)
                _tokens[i] = new LexerToken();
            for (int i = 0; i < (LookAheadCount - 1); i++)
                if (!ReadNext(i))
                    break;
        }