public static Token Lex(TextReader reader) { var lex = new Lexer(reader); return lex.Next(); }
public Token(TokenType type, string value, Lexer lex) { this.Type = type; this.Value = value; this._lexer = lex; }
public static Token Lex(TextReader reader) { var lex = new Lexer(reader); return lex.Next(); }
public Token(TokenType type, string value, Lexer lex) { this.Type = type; this.Value = value; this._lexer = lex; }