Home
last modified time | relevance | path

Searched refs:TokenDesc (Results 1 – 2 of 2) sorted by relevance

/external/v8/src/parsing/
Dscanner.h518 struct TokenDesc { struct
767 static bool LiteralContainsEscapes(const TokenDesc& token) { in LiteralContainsEscapes()
779 void SanityCheckTokenDesc(const TokenDesc&) const;
788 TokenDesc token_storage_[3];
790 TokenDesc& next() { return *next_; } in next()
792 const TokenDesc& current() const { return *current_; } in current()
793 const TokenDesc& next() const { return *next_; } in next()
794 const TokenDesc& next_next() const { return *next_next_; } in next_next()
796 TokenDesc* current_; // desc for current token (as returned by Next())
797 TokenDesc* next_; // desc for next token (one token look-ahead)
[all …]
Dscanner.cc40 void MoveErrorTo(TokenDesc* dest) { in MoveErrorTo()
378 TokenDesc* previous = current_; in Next()
406 TokenDesc* temp = next_; in PeekAhead()
782 void Scanner::SanityCheckTokenDesc(const TokenDesc& token) const { in SanityCheckTokenDesc()
1797 for (TokenDesc& token : token_storage_) { in SeekNext()