V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::Scanner Class Reference

Classes

class  BookmarkScope
 
class  ErrorState
 
struct  Location
 

Public Member Functions

V8_INLINE void set_parser_error ()
 
V8_INLINE void reset_parser_error_flag ()
 
V8_INLINE bool has_parser_error () const
 
 Scanner (Utf16CharacterStream *source, bool is_module)
 
void Initialize ()
 
Token::Value Next ()
 
Token::Value PeekAhead ()
 
Token::Value current_token () const
 
const Locationlocation () const
 
bool has_error () const
 
MessageTemplate error () const
 
const Locationerror_location () const
 
bool has_invalid_template_escape () const
 
MessageTemplate invalid_template_escape_message () const
 
void clear_invalid_template_escape_message ()
 
Location invalid_template_escape_location () const
 
Token::Value peek () const
 
const Locationpeek_location () const
 
bool literal_contains_escapes () const
 
const AstRawStringCurrentSymbol (AstValueFactory *ast_value_factory) const
 
const AstRawStringNextSymbol (AstValueFactory *ast_value_factory) const
 
const AstRawStringCurrentRawSymbol (AstValueFactory *ast_value_factory) const
 
double DoubleValue ()
 
const charCurrentLiteralAsCString (Zone *zone) const
 
bool CurrentMatches (Token::Value token) const
 
template<size_t N>
bool NextLiteralEquals (const char(&s)[N])
 
Location octal_position () const
 
void clear_octal_position ()
 
MessageTemplate octal_message () const
 
uint32_t smi_value () const
 
void SeekForward (int pos)
 
bool HasLineTerminatorBeforeNext () const
 
bool HasLineTerminatorAfterNext ()
 
bool ScanRegExpPattern ()
 
Maybe< RegExp::FlagsScanRegExpFlags ()
 
Token::Value ScanTemplateContinuation ()
 
Handle< StringSourceUrl (Isolate *isolate) const
 
Handle< StringSourceMappingUrl (Isolate *isolate) const
 
bool FoundHtmlComment () const
 
bool allow_harmony_private_fields () const
 
void set_allow_harmony_private_fields (bool allow)
 
bool allow_harmony_numeric_separator () const
 
void set_allow_harmony_numeric_separator (bool allow)
 
const Utf16CharacterStreamstream () const
 

Static Public Attributes

static const int kNoOctalLocation = -1
 
static const uc32 kEndOfInput = Utf16CharacterStream::kEndOfInput
 

Detailed Description

Definition at line 207 of file scanner.h.


The documentation for this class was generated from the following files: