Lines Matching refs:Token
54 class Token class
75 Token() in Token() function in gold::Token
81 Token(Classification classification, int lineno, int charpos) in Token() function in gold::Token
90 Token(Classification classification, const char* value, size_t length, in Token() function in gold::Token
100 Token(int opcode, int lineno, int charpos) in Token() function in gold::Token
171 Token::integer_value() const in integer_value()
229 const Token*
247 Token
248 make_token(Token::Classification c, const char* start) const in make_token()
249 { return Token(c, this->lineno_, start - this->linestart_ + 1); } in make_token()
252 Token
253 make_token(Token::Classification c, const char* v, size_t len, in make_token()
256 { return Token(c, v, len, this->lineno_, start - this->linestart_ + 1); } in make_token()
259 Token
261 { return Token(opcode, this->lineno_, start - this->linestart_ + 1); } in make_token()
264 Token
266 { return this->make_token(Token::TOKEN_INVALID, start); } in make_invalid_token()
269 Token
271 { return this->make_token(Token::TOKEN_EOF, start); } in make_eof_token()
321 Token
336 inline Token
337 gather_token(Token::Classification,
342 Token
357 Token token_;
719 inline Token
720 Lex::gather_token(Token::Classification classification, in gather_token()
732 if (classification == Token::TOKEN_INTEGER in gather_token()
742 Token
752 return this->make_token(Token::TOKEN_QUOTED_STRING, p, skip, start); in gather_quoted_string()
760 Token
797 return Token(Token::TOKEN_INVALID, lineno, charpos); in get_token()
815 return this->gather_token(Token::TOKEN_STRING, in get_token()
833 return this->gather_token(Token::TOKEN_INTEGER, in get_token()
838 return this->gather_token(Token::TOKEN_INTEGER, in get_token()
865 return this->make_token(Token::TOKEN_INVALID, p); in get_token()
871 const Token*
877 this->token_ = Token(this->first_token_, 0, 0); in next_token()
1366 const Token*
1369 const Token* token = this->lex_->next_token(); in next_token()
2604 const Token* token = closure->next_token(); in yylex()
2610 case Token::TOKEN_INVALID: in yylex()
2614 case Token::TOKEN_EOF: in yylex()
2617 case Token::TOKEN_STRING: in yylex()
2644 case Token::TOKEN_QUOTED_STRING: in yylex()
2648 case Token::TOKEN_OPERATOR: in yylex()
2651 case Token::TOKEN_INTEGER: in yylex()