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

#include <preparser.h>

Inheritance diagram for v8::internal::PreParserStatement:
Collaboration diagram for v8::internal::PreParserStatement:

Public Member Functions

void InitializeStatements (const PreParserScopedStatementList &statements, Zone *zone)
 
bool IsStringLiteral ()
 
bool IsJumpStatement ()
 
bool IsNull ()
 
bool IsIterationStatement ()
 
bool IsEmptyStatement ()
 
PreParserStatementoperator-> ()
 
PreParserStatementList statements ()
 
PreParserStatementList cases ()
 
void set_scope (Scope *scope)
 
void Initialize (const PreParserExpression &cond, PreParserStatement body, const SourceRange &body_range={})
 
void Initialize (PreParserStatement init, const PreParserExpression &cond, PreParserStatement next, PreParserStatement body, const SourceRange &body_range={})
 
void Initialize (PreParserExpression each, const PreParserExpression &subject, PreParserStatement body, Scope *subject_scope)
 

Static Public Member Functions

static PreParserStatement Default ()
 
static PreParserStatement Iteration ()
 
static PreParserStatement Null ()
 
static PreParserStatement Jump ()
 
static PreParserStatement ExpressionStatement (const PreParserExpression &expression)
 

Protected Types

enum  Type {
  kNullStatement , kUnknownStatement , kJumpStatement , kIterationStatement ,
  kStringLiteralExpressionStatement
}
 

Protected Member Functions

 PreParserStatement (Type code)
 

Private Attributes

Type code_
 

Detailed Description

Definition at line 364 of file preparser.h.

Member Enumeration Documentation

◆ Type

Enumerator
kNullStatement 
kUnknownStatement 
kJumpStatement 
kIterationStatement 
kStringLiteralExpressionStatement 

Definition at line 428 of file preparser.h.

Constructor & Destructor Documentation

◆ PreParserStatement()

v8::internal::PreParserStatement::PreParserStatement ( Type code)
inlineexplicitprotected

Definition at line 436 of file preparser.h.

Here is the caller graph for this function:

Member Function Documentation

◆ cases()

PreParserStatementList v8::internal::PreParserStatement::cases ( )
inline

Definition at line 416 of file preparser.h.

◆ Default()

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

Definition at line 366 of file preparser.h.

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

◆ ExpressionStatement()

static PreParserStatement v8::internal::PreParserStatement::ExpressionStatement ( const PreParserExpression & expression)
inlinestatic

Definition at line 388 of file preparser.h.

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

◆ Initialize() [1/3]

void v8::internal::PreParserStatement::Initialize ( const PreParserExpression & cond,
PreParserStatement body,
const SourceRange & body_range = {} )
inline

Definition at line 419 of file preparser.h.

◆ Initialize() [2/3]

void v8::internal::PreParserStatement::Initialize ( PreParserExpression each,
const PreParserExpression & subject,
PreParserStatement body,
Scope * subject_scope )
inline

Definition at line 424 of file preparser.h.

◆ Initialize() [3/3]

void v8::internal::PreParserStatement::Initialize ( PreParserStatement init,
const PreParserExpression & cond,
PreParserStatement next,
PreParserStatement body,
const SourceRange & body_range = {} )
inline

Definition at line 421 of file preparser.h.

◆ InitializeStatements()

void v8::internal::PreParserStatement::InitializeStatements ( const PreParserScopedStatementList & statements,
Zone * zone )
inline

Definition at line 382 of file preparser.h.

◆ IsEmptyStatement()

bool v8::internal::PreParserStatement::IsEmptyStatement ( )
inline

Definition at line 406 of file preparser.h.

Here is the call graph for this function:

◆ IsIterationStatement()

bool v8::internal::PreParserStatement::IsIterationStatement ( )
inline

Definition at line 404 of file preparser.h.

Here is the caller graph for this function:

◆ IsJumpStatement()

bool v8::internal::PreParserStatement::IsJumpStatement ( )
inline

Definition at line 398 of file preparser.h.

◆ IsNull()

bool v8::internal::PreParserStatement::IsNull ( )
inline

Definition at line 402 of file preparser.h.

Here is the caller graph for this function:

◆ IsStringLiteral()

bool v8::internal::PreParserStatement::IsStringLiteral ( )
inline

Definition at line 396 of file preparser.h.

◆ Iteration()

static PreParserStatement v8::internal::PreParserStatement::Iteration ( )
inlinestatic

Definition at line 370 of file preparser.h.

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

◆ Jump()

static PreParserStatement v8::internal::PreParserStatement::Jump ( )
inlinestatic

Definition at line 378 of file preparser.h.

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

◆ Null()

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

Definition at line 374 of file preparser.h.

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

◆ operator->()

PreParserStatement * v8::internal::PreParserStatement::operator-> ( )
inline

Definition at line 413 of file preparser.h.

◆ set_scope()

void v8::internal::PreParserStatement::set_scope ( Scope * scope)
inline

Definition at line 418 of file preparser.h.

◆ statements()

PreParserStatementList v8::internal::PreParserStatement::statements ( )
inline

Definition at line 415 of file preparser.h.

Member Data Documentation

◆ code_

Type v8::internal::PreParserStatement::code_
private

Definition at line 439 of file preparser.h.


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