Searched refs:token_state_ (Results 1 – 2 of 2) sorted by relevance
93 TokenState old_token_state = token_state_; in LookAhead()96 token_state_ = old_token_state; in LookAhead()103 token_state_.token_start = current_ptr_; in LexToken()248 token_state_.str_val.assign(token_state_.token_start, current_ptr_); in LexIdentifier()255 token_state_.str_val.assign(token_state_.token_start, current_ptr_); in LexIdentifier()261 StringPieceFromPointers(token_state_.token_start, current_ptr_); in LexIdentifier()269 token_state_.primitive_type_val = primitive_type; in LexIdentifier()297 RegexpStringPieceFromPointers(token_state_.token_start, buf_.end()); in LexIdentifier()302 token_state_.str_val.assign(token_state_.token_start, current_ptr_); in LexIdentifier()307 token_state_.str_val = string(identifier); in LexIdentifier()[all …]
95 TokKind Lex() { return token_state_.current_kind = LexToken(); } in Lex()97 TokKind GetKind() const { return token_state_.current_kind; } in GetKind()107 return token_state_.str_val; in GetStrVal()114 return token_state_.int64_val; in GetInt64Val()118 return token_state_.decimal_val; in GetDecimalVal()122 return token_state_.primitive_type_val; in GetPrimitiveTypeVal()128 LocTy GetLoc() const { return token_state_.token_start; } in GetLoc()179 TokenState token_state_; variable