v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::PreParserIdentifier Class Reference

#include <preparser.h>

Collaboration diagram for v8::internal::PreParserIdentifier:

Public Member Functions

 PreParserIdentifier ()
 
bool IsNull () const
 
bool IsEval () const
 
bool IsAsync () const
 
bool IsArguments () const
 
bool IsEvalOrArguments () const
 
bool IsConstructor () const
 
bool IsPrivateName () const
 

Static Public Member Functions

static PreParserIdentifier Default ()
 
static PreParserIdentifier Null ()
 
static PreParserIdentifier Eval ()
 
static PreParserIdentifier Arguments ()
 
static PreParserIdentifier Constructor ()
 
static PreParserIdentifier Async ()
 
static PreParserIdentifier PrivateName ()
 

Private Types

enum  Type : uint8_t {
  kNullIdentifier , kUnknownIdentifier , kEvalIdentifier , kArgumentsIdentifier ,
  kConstructorIdentifier , kAsyncIdentifier , kPrivateNameIdentifier
}
 

Private Member Functions

 PreParserIdentifier (Type type)
 

Private Attributes

const AstRawStringstring_
 
Type type_
 

Friends

class PreParserExpression
 
class PreParser
 

Detailed Description

Definition at line 29 of file preparser.h.

Member Enumeration Documentation

◆ Type

Enumerator
kNullIdentifier 
kUnknownIdentifier 
kEvalIdentifier 
kArgumentsIdentifier 
kConstructorIdentifier 
kAsyncIdentifier 
kPrivateNameIdentifier 

Definition at line 65 of file preparser.h.

Constructor & Destructor Documentation

◆ PreParserIdentifier() [1/2]

v8::internal::PreParserIdentifier::PreParserIdentifier ( )
inline

Definition at line 31 of file preparser.h.

Here is the caller graph for this function:

◆ PreParserIdentifier() [2/2]

v8::internal::PreParserIdentifier::PreParserIdentifier ( Type type)
inlineexplicitprivate

Definition at line 75 of file preparser.h.

Member Function Documentation

◆ Arguments()

static PreParserIdentifier v8::internal::PreParserIdentifier::Arguments ( )
inlinestatic

Definition at line 41 of file preparser.h.

Here is the call graph for this function:

◆ Async()

static PreParserIdentifier v8::internal::PreParserIdentifier::Async ( )
inlinestatic

Definition at line 47 of file preparser.h.

Here is the call graph for this function:

◆ Constructor()

static PreParserIdentifier v8::internal::PreParserIdentifier::Constructor ( )
inlinestatic

Definition at line 44 of file preparser.h.

Here is the call graph for this function:

◆ Default()

static PreParserIdentifier v8::internal::PreParserIdentifier::Default ( )
inlinestatic

Definition at line 32 of file preparser.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Eval()

static PreParserIdentifier v8::internal::PreParserIdentifier::Eval ( )
inlinestatic

Definition at line 38 of file preparser.h.

Here is the call graph for this function:

◆ IsArguments()

bool v8::internal::PreParserIdentifier::IsArguments ( ) const
inline

Definition at line 56 of file preparser.h.

◆ IsAsync()

bool v8::internal::PreParserIdentifier::IsAsync ( ) const
inline

Definition at line 55 of file preparser.h.

◆ IsConstructor()

bool v8::internal::PreParserIdentifier::IsConstructor ( ) const
inline

Definition at line 61 of file preparser.h.

◆ IsEval()

bool v8::internal::PreParserIdentifier::IsEval ( ) const
inline

Definition at line 54 of file preparser.h.

◆ IsEvalOrArguments()

bool v8::internal::PreParserIdentifier::IsEvalOrArguments ( ) const
inline

Definition at line 57 of file preparser.h.

Here is the call graph for this function:

◆ IsNull()

bool v8::internal::PreParserIdentifier::IsNull ( ) const
inline

Definition at line 53 of file preparser.h.

◆ IsPrivateName()

bool v8::internal::PreParserIdentifier::IsPrivateName ( ) const
inline

Definition at line 62 of file preparser.h.

◆ Null()

static PreParserIdentifier v8::internal::PreParserIdentifier::Null ( )
inlinestatic

Definition at line 35 of file preparser.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PrivateName()

static PreParserIdentifier v8::internal::PreParserIdentifier::PrivateName ( )
inlinestatic

Definition at line 50 of file preparser.h.

Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ PreParser

friend class PreParser
friend

Definition at line 80 of file preparser.h.

◆ PreParserExpression

friend class PreParserExpression
friend

Definition at line 79 of file preparser.h.

Member Data Documentation

◆ string_

const AstRawString* v8::internal::PreParserIdentifier::string_
private

Definition at line 76 of file preparser.h.

◆ type_

Type v8::internal::PreParserIdentifier::type_
private

Definition at line 78 of file preparser.h.


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