#include <scanner.h>
|  | 
| bool | IsValidBigIntKind (NumberKind kind) | 
|  | 
| bool | IsDecimalNumberKind (NumberKind kind) | 
|  | 
| template<bool capture_raw> | 
| base::uc32 | ScanOctalEscape (base::uc32 c, int length) | 
|  | 
| void | Init () | 
|  | 
| void | ReportScannerError (const Location &location, MessageTemplate error) | 
|  | 
| void | ReportScannerError (int pos, MessageTemplate error) | 
|  | 
| void | SeekNext (size_t position) | 
|  | 
| V8_INLINE void | AddLiteralChar (base::uc32 c) | 
|  | 
| V8_INLINE void | AddLiteralChar (char c) | 
|  | 
| V8_INLINE void | AddRawLiteralChar (base::uc32 c) | 
|  | 
| V8_INLINE void | AddLiteralCharAdvance () | 
|  | 
| template<bool capture_raw = false> | 
| void | Advance () | 
|  | 
| template<typename FunctionType > | 
| V8_INLINE void | AdvanceUntil (FunctionType check) | 
|  | 
| bool | CombineSurrogatePair () | 
|  | 
| void | PushBack (base::uc32 ch) | 
|  | 
| base::uc32 | Peek () const | 
|  | 
| Token::Value | Select (Token::Value tok) | 
|  | 
| Token::Value | Select (base::uc32 next, Token::Value then, Token::Value else_) | 
|  | 
| base::Vector< const uint8_t > | literal_one_byte_string () const | 
|  | 
| base::Vector< const uint16_t > | literal_two_byte_string () const | 
|  | 
| bool | is_literal_one_byte () const | 
|  | 
| base::Vector< const uint8_t > | next_literal_one_byte_string () const | 
|  | 
| base::Vector< const uint16_t > | next_literal_two_byte_string () const | 
|  | 
| bool | is_next_literal_one_byte () const | 
|  | 
| base::Vector< const uint8_t > | raw_literal_one_byte_string () const | 
|  | 
| base::Vector< const uint16_t > | raw_literal_two_byte_string () const | 
|  | 
| bool | is_raw_literal_one_byte () const | 
|  | 
| template<bool capture_raw, bool unicode = false> | 
| base::uc32 | ScanHexNumber (int expected_length) | 
|  | 
| template<bool capture_raw> | 
| base::uc32 | ScanUnlimitedLengthHexNumber (base::uc32 max_value, int beg_pos) | 
|  | 
| V8_INLINE Token::Value | ScanSingleToken () | 
|  | 
| V8_INLINE void | Scan () | 
|  | 
| V8_INLINE void | Scan (TokenDesc *next_desc) | 
|  | 
| V8_INLINE Token::Value | SkipWhiteSpace () | 
|  | 
| Token::Value | SkipSingleHTMLComment () | 
|  | 
| Token::Value | SkipSingleLineComment () | 
|  | 
| Token::Value | SkipMagicComment (base::uc32 hash_or_at_sign) | 
|  | 
| void | TryToParseMagicComment (base::uc32 hash_or_at_sign) | 
|  | 
| Token::Value | SkipMultiLineComment () | 
|  | 
| Token::Value | ScanHtmlComment () | 
|  | 
| bool | ScanDigitsWithNumericSeparators (bool(*predicate)(base::uc32 ch), bool is_check_first_digit) | 
|  | 
| bool | ScanDecimalDigits (bool allow_numeric_separator) | 
|  | 
| bool | ScanDecimalAsSmi (uint64_t *value, bool allow_numeric_separator) | 
|  | 
| bool | ScanDecimalAsSmiWithNumericSeparators (uint64_t *value) | 
|  | 
| bool | ScanHexDigits () | 
|  | 
| bool | ScanBinaryDigits () | 
|  | 
| bool | ScanSignedInteger () | 
|  | 
| bool | ScanOctalDigits () | 
|  | 
| bool | ScanImplicitOctalDigits (int start_pos, NumberKind *kind) | 
|  | 
| Token::Value | ScanNumber (bool seen_period) | 
|  | 
| V8_INLINE Token::Value | ScanIdentifierOrKeyword () | 
|  | 
| V8_INLINE Token::Value | ScanIdentifierOrKeywordInner () | 
|  | 
| Token::Value | ScanIdentifierOrKeywordInnerSlow (bool escaped, bool can_be_keyword) | 
|  | 
| Token::Value | ScanString () | 
|  | 
| Token::Value | ScanPrivateName () | 
|  | 
| template<bool capture_raw> | 
| bool | ScanEscape () | 
|  | 
| base::uc32 | ScanIdentifierUnicodeEscape () | 
|  | 
| template<bool capture_raw> | 
| base::uc32 | ScanUnicodeEscape () | 
|  | 
| Token::Value | ScanTemplateSpan () | 
|  | 
| int | source_pos () | 
|  | 
| TokenDesc & | next () | 
|  | 
| const TokenDesc & | current () const | 
|  | 
| const TokenDesc & | next () const | 
|  | 
| const TokenDesc & | next_next () const | 
|  | 
| const TokenDesc & | next_next_next () const | 
|  | 
Definition at line 215 of file scanner.h.
 
◆ NumberKind
| Enumerator | 
|---|
| IMPLICIT_OCTAL |  | 
| BINARY |  | 
| OCTAL |  | 
| HEX |  | 
| DECIMAL |  | 
| DECIMAL_WITH_LEADING_ZERO |  | 
Definition at line 453 of file scanner.h.
 
 
◆ Scanner()
◆ AddLiteralChar() [1/2]
◆ AddLiteralChar() [2/2]
  
  | 
        
          | V8_INLINE void v8::internal::Scanner::AddLiteralChar | ( | char | c | ) |  |  | inlineprivate | 
 
 
◆ AddLiteralCharAdvance()
  
  | 
        
          | V8_INLINE void v8::internal::Scanner::AddLiteralCharAdvance | ( |  | ) |  |  | inlineprivate | 
 
 
◆ AddRawLiteralChar()
◆ Advance()
template<
bool capture_raw = false> 
  
  | 
        
          | void v8::internal::Scanner::Advance | ( |  | ) |  |  | inlineprivate | 
 
 
◆ AdvanceUntil()
◆ BigIntLiteral()
  
  | 
        
          | base::Vector< const uint8_t > v8::internal::Scanner::BigIntLiteral | ( |  | ) | const |  | inline | 
 
 
◆ clear_invalid_template_escape_message()
  
  | 
        
          | void v8::internal::Scanner::clear_invalid_template_escape_message | ( |  | ) |  |  | inline | 
 
 
◆ clear_octal_position()
  
  | 
        
          | void v8::internal::Scanner::clear_octal_position | ( |  | ) |  |  | inline | 
 
 
◆ CombineSurrogatePair()
  
  | 
        
          | bool v8::internal::Scanner::CombineSurrogatePair | ( |  | ) |  |  | inlineprivate | 
 
 
◆ current()
  
  | 
        
          | const TokenDesc & v8::internal::Scanner::current | ( |  | ) | const |  | inlineprivate | 
 
 
◆ current_token()
◆ CurrentLiteralAsCString()
      
        
          | const char * v8::internal::Scanner::CurrentLiteralAsCString | ( | Zone * | zone | ) | const | 
      
 
 
◆ CurrentLiteralEquals()
  
  | 
        
          | bool v8::internal::Scanner::CurrentLiteralEquals | ( | const char(&) | s[N] | ) |  |  | inline | 
 
 
◆ CurrentMatches()
◆ CurrentRawSymbol()
◆ CurrentSymbol()
◆ DoubleValue()
      
        
          | double v8::internal::Scanner::DoubleValue | ( |  | ) |  | 
      
 
 
◆ error()
◆ error_location()
  
  | 
        
          | const Location & v8::internal::Scanner::error_location | ( |  | ) | const |  | inline | 
 
 
◆ FoundHtmlComment()
  
  | 
        
          | bool v8::internal::Scanner::FoundHtmlComment | ( |  | ) | const |  | inline | 
 
 
◆ has_error()
  
  | 
        
          | bool v8::internal::Scanner::has_error | ( |  | ) | const |  | inline | 
 
 
◆ has_invalid_template_escape()
  
  | 
        
          | bool v8::internal::Scanner::has_invalid_template_escape | ( |  | ) | const |  | inline | 
 
 
◆ has_parser_error()
◆ HasLineTerminatorAfterNext()
  
  | 
        
          | bool v8::internal::Scanner::HasLineTerminatorAfterNext | ( |  | ) |  |  | inline | 
 
 
◆ HasLineTerminatorAfterNextNext()
  
  | 
        
          | bool v8::internal::Scanner::HasLineTerminatorAfterNextNext | ( |  | ) |  |  | inline | 
 
 
◆ HasLineTerminatorBeforeNext()
  
  | 
        
          | bool v8::internal::Scanner::HasLineTerminatorBeforeNext | ( |  | ) | const |  | inline | 
 
 
◆ HasPerFunctionCompileHint()
      
        
          | bool v8::internal::Scanner::HasPerFunctionCompileHint | ( | int | position | ) |  | 
      
 
 
◆ Init()
  
  | 
        
          | void v8::internal::Scanner::Init | ( |  | ) |  |  | inlineprivate | 
 
 
◆ Initialize()
      
        
          | void v8::internal::Scanner::Initialize | ( |  | ) |  | 
      
 
 
◆ Invalid()
  
  | 
        
          | static constexpr base::uc32 v8::internal::Scanner::Invalid | ( |  | ) |  |  | inlinestaticconstexpr | 
 
 
◆ invalid_template_escape_location()
  
  | 
        
          | Location v8::internal::Scanner::invalid_template_escape_location | ( |  | ) | const |  | inline | 
 
 
◆ invalid_template_escape_message()
  
  | 
        
          | MessageTemplate v8::internal::Scanner::invalid_template_escape_message | ( |  | ) | const |  | inline | 
 
 
◆ is_literal_one_byte()
  
  | 
        
          | bool v8::internal::Scanner::is_literal_one_byte | ( |  | ) | const |  | inlineprivate | 
 
 
◆ is_next_literal_one_byte()
  
  | 
        
          | bool v8::internal::Scanner::is_next_literal_one_byte | ( |  | ) | const |  | inlineprivate | 
 
 
◆ is_raw_literal_one_byte()
  
  | 
        
          | bool v8::internal::Scanner::is_raw_literal_one_byte | ( |  | ) | const |  | inlineprivate | 
 
 
◆ IsDecimalNumberKind()
◆ IsInvalid()
◆ IsValidBigIntKind()
◆ literal_contains_escapes()
  
  | 
        
          | bool v8::internal::Scanner::literal_contains_escapes | ( |  | ) | const |  | inline | 
 
 
◆ literal_one_byte_string()
  
  | 
        
          | base::Vector< const uint8_t > v8::internal::Scanner::literal_one_byte_string | ( |  | ) | const |  | inlineprivate | 
 
 
◆ literal_two_byte_string()
  
  | 
        
          | base::Vector< const uint16_t > v8::internal::Scanner::literal_two_byte_string | ( |  | ) | const |  | inlineprivate | 
 
 
◆ LiteralContainsEscapes()
  
  | 
        
          | static bool v8::internal::Scanner::LiteralContainsEscapes | ( | const TokenDesc & | token | ) |  |  | inlinestaticprivate | 
 
 
◆ location()
  
  | 
        
          | const Location & v8::internal::Scanner::location | ( |  | ) | const |  | inline | 
 
 
◆ Next()
◆ next() [1/2]
◆ next() [2/2]
  
  | 
        
          | const TokenDesc & v8::internal::Scanner::next | ( |  | ) | const |  | inlineprivate | 
 
 
◆ next_literal_contains_escapes()
  
  | 
        
          | bool v8::internal::Scanner::next_literal_contains_escapes | ( |  | ) | const |  | inline | 
 
 
◆ next_literal_one_byte_string()
  
  | 
        
          | base::Vector< const uint8_t > v8::internal::Scanner::next_literal_one_byte_string | ( |  | ) | const |  | inlineprivate | 
 
 
◆ next_literal_two_byte_string()
  
  | 
        
          | base::Vector< const uint16_t > v8::internal::Scanner::next_literal_two_byte_string | ( |  | ) | const |  | inlineprivate | 
 
 
◆ next_next()
  
  | 
        
          | const TokenDesc & v8::internal::Scanner::next_next | ( |  | ) | const |  | inlineprivate | 
 
 
◆ next_next_next()
  
  | 
        
          | const TokenDesc & v8::internal::Scanner::next_next_next | ( |  | ) | const |  | inlineprivate | 
 
 
◆ NextLiteralExactlyEquals()
  
  | 
        
          | bool v8::internal::Scanner::NextLiteralExactlyEquals | ( | const char(&) | s[N] | ) |  |  | inline | 
 
 
◆ NextSymbol()
◆ octal_message()
◆ octal_position()
  
  | 
        
          | Location v8::internal::Scanner::octal_position | ( |  | ) | const |  | inline | 
 
 
◆ Peek()
◆ peek()
◆ peek_location()
  
  | 
        
          | const Location & v8::internal::Scanner::peek_location | ( |  | ) | const |  | inline | 
 
 
◆ PeekAhead()
◆ PeekAheadAhead()
◆ PushBack()
  
  | 
        
          | void v8::internal::Scanner::PushBack | ( | base::uc32 | ch | ) |  |  | inlineprivate | 
 
 
◆ raw_literal_one_byte_string()
  
  | 
        
          | base::Vector< const uint8_t > v8::internal::Scanner::raw_literal_one_byte_string | ( |  | ) | const |  | inlineprivate | 
 
 
◆ raw_literal_two_byte_string()
  
  | 
        
          | base::Vector< const uint16_t > v8::internal::Scanner::raw_literal_two_byte_string | ( |  | ) | const |  | inlineprivate | 
 
 
◆ ReportScannerError() [1/2]
◆ ReportScannerError() [2/2]
  
  | 
        
          | void v8::internal::Scanner::ReportScannerError | ( | int | pos, |  
          |  |  | MessageTemplate | error ) |  | inlineprivate | 
 
 
◆ reset_parser_error_flag()
  
  | 
        
          | V8_INLINE void v8::internal::Scanner::reset_parser_error_flag | ( |  | ) |  |  | inline | 
 
 
◆ SawMagicCommentCompileHintsAll()
  
  | 
        
          | bool v8::internal::Scanner::SawMagicCommentCompileHintsAll | ( |  | ) | const |  | inline | 
 
 
◆ SawSourceMappingUrlMagicCommentAtSign()
  
  | 
        
          | bool v8::internal::Scanner::SawSourceMappingUrlMagicCommentAtSign | ( |  | ) | const |  | inline | 
 
 
◆ Scan() [1/2]
  
  | 
        
          | void v8::internal::Scanner::Scan | ( |  | ) |  |  | private | 
 
 
◆ Scan() [2/2]
  
  | 
        
          | void v8::internal::Scanner::Scan | ( | TokenDesc * | next_desc | ) |  |  | private | 
 
 
◆ ScanBinaryDigits()
  
  | 
        
          | bool v8::internal::Scanner::ScanBinaryDigits | ( |  | ) |  |  | private | 
 
 
◆ ScanDecimalAsSmi()
  
  | 
        
          | bool v8::internal::Scanner::ScanDecimalAsSmi | ( | uint64_t * | value, |  
          |  |  | bool | allow_numeric_separator ) |  | private | 
 
 
◆ ScanDecimalAsSmiWithNumericSeparators()
  
  | 
        
          | bool v8::internal::Scanner::ScanDecimalAsSmiWithNumericSeparators | ( | uint64_t * | value | ) |  |  | private | 
 
 
◆ ScanDecimalDigits()
  
  | 
        
          | bool v8::internal::Scanner::ScanDecimalDigits | ( | bool | allow_numeric_separator | ) |  |  | private | 
 
 
◆ ScanDigitsWithNumericSeparators()
  
  | 
        
          | bool v8::internal::Scanner::ScanDigitsWithNumericSeparators | ( | bool(* | predicate )(base::uc32 ch), |  
          |  |  | bool | is_check_first_digit ) |  | private | 
 
 
◆ ScanEscape()
template<
bool capture_raw> 
  
  | 
        
          | bool v8::internal::Scanner::ScanEscape | ( |  | ) |  |  | private | 
 
 
◆ ScanHexDigits()
  
  | 
        
          | bool v8::internal::Scanner::ScanHexDigits | ( |  | ) |  |  | private | 
 
 
◆ ScanHexNumber()
template<
bool capture_raw, 
bool unicode> 
  
  | 
        
          | base::uc32 v8::internal::Scanner::ScanHexNumber | ( | int | expected_length | ) |  |  | private | 
 
 
◆ ScanHtmlComment()
◆ ScanIdentifierOrKeyword()
◆ ScanIdentifierOrKeywordInner()
◆ ScanIdentifierOrKeywordInnerSlow()
  
  | 
        
          | Token::Value v8::internal::Scanner::ScanIdentifierOrKeywordInnerSlow | ( | bool | escaped, |  
          |  |  | bool | can_be_keyword ) |  | private | 
 
 
◆ ScanIdentifierUnicodeEscape()
  
  | 
        
          | base::uc32 v8::internal::Scanner::ScanIdentifierUnicodeEscape | ( |  | ) |  |  | private | 
 
 
◆ ScanImplicitOctalDigits()
◆ ScanNumber()
◆ ScanOctalDigits()
  
  | 
        
          | bool v8::internal::Scanner::ScanOctalDigits | ( |  | ) |  |  | private | 
 
 
◆ ScanOctalEscape()
template<
bool capture_raw> 
 
 
◆ ScanPrivateName()
◆ ScanRegExpFlags()
      
        
          | std::optional< RegExpFlags > v8::internal::Scanner::ScanRegExpFlags | ( |  | ) |  | 
      
 
 
◆ ScanRegExpPattern()
      
        
          | bool v8::internal::Scanner::ScanRegExpPattern | ( |  | ) |  | 
      
 
 
◆ ScanSignedInteger()
  
  | 
        
          | bool v8::internal::Scanner::ScanSignedInteger | ( |  | ) |  |  | private | 
 
 
◆ ScanSingleToken()
◆ ScanString()
◆ ScanTemplateContinuation()
  
  | 
        
          | Token::Value v8::internal::Scanner::ScanTemplateContinuation | ( |  | ) |  |  | inline | 
 
 
◆ ScanTemplateSpan()
◆ ScanUnicodeEscape()
template<
bool capture_raw> 
  
  | 
        
          | base::uc32 v8::internal::Scanner::ScanUnicodeEscape | ( |  | ) |  |  | private | 
 
 
◆ ScanUnlimitedLengthHexNumber()
template<
bool capture_raw> 
  
  | 
        
          | base::uc32 v8::internal::Scanner::ScanUnlimitedLengthHexNumber | ( | base::uc32 | max_value, |  
          |  |  | int | beg_pos ) |  | private | 
 
 
◆ SeekForward()
      
        
          | void v8::internal::Scanner::SeekForward | ( | int | pos | ) |  | 
      
 
 
◆ SeekNext()
  
  | 
        
          | void v8::internal::Scanner::SeekNext | ( | size_t | position | ) |  |  | private | 
 
 
◆ Select() [1/2]
◆ Select() [2/2]
◆ set_parser_error()
  
  | 
        
          | V8_INLINE void v8::internal::Scanner::set_parser_error | ( |  | ) |  |  | inline | 
 
 
◆ SkipMagicComment()
◆ SkipMultiLineComment()
  
  | 
        
          | Token::Value v8::internal::Scanner::SkipMultiLineComment | ( |  | ) |  |  | private | 
 
 
◆ SkipSingleHTMLComment()
  
  | 
        
          | Token::Value v8::internal::Scanner::SkipSingleHTMLComment | ( |  | ) |  |  | private | 
 
 
◆ SkipSingleLineComment()
  
  | 
        
          | Token::Value v8::internal::Scanner::SkipSingleLineComment | ( |  | ) |  |  | private | 
 
 
◆ SkipWhiteSpace()
◆ smi_value()
  
  | 
        
          | uint32_t v8::internal::Scanner::smi_value | ( |  | ) | const |  | inline | 
 
 
◆ source_pos()
  
  | 
        
          | int v8::internal::Scanner::source_pos | ( |  | ) |  |  | inlineprivate | 
 
 
◆ SourceMappingUrl()
template<typename IsolateT > 
      
        
          | template DirectHandle< String > v8::internal::Scanner::SourceMappingUrl | ( | IsolateT * | isolate | ) | const | 
      
 
 
◆ SourceUrl()
template<typename IsolateT > 
      
        
          | template DirectHandle< String > v8::internal::Scanner::SourceUrl | ( | IsolateT * | isolate | ) | const | 
      
 
 
◆ stream()
◆ TryToParseMagicComment()
  
  | 
        
          | void v8::internal::Scanner::TryToParseMagicComment | ( | base::uc32 | hash_or_at_sign | ) |  |  | private | 
 
 
◆ c0_
◆ current_
◆ flags_
◆ found_html_comment_
  
  | 
        
          | bool v8::internal::Scanner::found_html_comment_ |  | private | 
 
 
◆ kCharacterLookaheadBufferSize
  
  | 
        
          | const int v8::internal::Scanner::kCharacterLookaheadBufferSize = 1 |  | staticprivate | 
 
 
◆ kEndOfInput
  
  | 
        
          | base::uc32 v8::internal::Scanner::kEndOfInput = Utf16CharacterStream::kEndOfInput |  | staticconstexpr | 
 
 
◆ kInvalidSequence
◆ kMaxAscii
  
  | 
        
          | const int v8::internal::Scanner::kMaxAscii = 127 |  | staticprivate | 
 
 
◆ next_
◆ next_next_
◆ next_next_next_
  
  | 
        
          | TokenDesc* v8::internal::Scanner::next_next_next_ |  | private | 
 
 
◆ octal_message_
◆ octal_pos_
  
  | 
        
          | Location v8::internal::Scanner::octal_pos_ |  | private | 
 
 
◆ per_function_compile_hint_positions_
  
  | 
        
          | std::vector<int> v8::internal::Scanner::per_function_compile_hint_positions_ |  | private | 
 
 
◆ per_function_compile_hint_positions_idx_
  
  | 
        
          | size_t v8::internal::Scanner::per_function_compile_hint_positions_idx_ = 0 |  | private | 
 
 
◆ saw_magic_comment_compile_hints_all_
  
  | 
        
          | bool v8::internal::Scanner::saw_magic_comment_compile_hints_all_ = false |  | private | 
 
 
◆ saw_non_comment_
  
  | 
        
          | bool v8::internal::Scanner::saw_non_comment_ = false |  | private | 
 
 
◆ saw_source_mapping_url_magic_comment_at_sign_
  
  | 
        
          | bool v8::internal::Scanner::saw_source_mapping_url_magic_comment_at_sign_ = false |  | private | 
 
 
◆ scanner_error_
◆ scanner_error_location_
  
  | 
        
          | Location v8::internal::Scanner::scanner_error_location_ |  | private | 
 
 
◆ source_
◆ source_mapping_url_
◆ source_url_
◆ token_storage_
  
  | 
        
          | TokenDesc v8::internal::Scanner::token_storage_[4] |  | private | 
 
 
The documentation for this class was generated from the following files: