v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::Processor Class Referencefinal
Inheritance diagram for v8::internal::Processor:
Collaboration diagram for v8::internal::Processor:

Classes

class  BreakableScope
 

Public Member Functions

 Processor (uintptr_t stack_limit, DeclarationScope *closure_scope, Variable *result, AstValueFactory *ast_value_factory, Zone *zone)
 
void Process (ZonePtrList< Statement > *statements)
 
bool result_assigned () const
 
Zonezone ()
 
DeclarationScopeclosure_scope ()
 
AstNodeFactoryfactory ()
 
ExpressionSetResult (Expression *value)
 
StatementAssignUndefinedBefore (Statement *s)
 
- Public Member Functions inherited from v8::internal::AstVisitor< Processor >
void Visit (AstNode *node)
 
void VisitDeclarations (Declaration::List *declarations)
 
void VisitStatements (const ZonePtrList< Statement > *statements)
 
void VisitExpressions (const ZonePtrList< Expression > *expressions)
 

Private Member Functions

void VisitIterationStatement (IterationStatement *stmt)
 
 DEFINE_AST_VISITOR_SUBCLASS_MEMBERS ()
 

Private Attributes

Variableresult_
 
Statementreplacement_
 
Zonezone_
 
DeclarationScopeclosure_scope_
 
AstNodeFactory factory_
 
bool result_assigned_
 
bool is_set_
 
bool breakable_
 

Additional Inherited Members

- Protected Member Functions inherited from v8::internal::AstVisitor< Processor >
Processorimpl ()
 

Detailed Description

Definition at line 25 of file rewriter.cc.

Constructor & Destructor Documentation

◆ Processor()

v8::internal::Processor::Processor ( uintptr_t stack_limit,
DeclarationScope * closure_scope,
Variable * result,
AstValueFactory * ast_value_factory,
Zone * zone )
inline

Definition at line 27 of file rewriter.cc.

Here is the call graph for this function:

Member Function Documentation

◆ AssignUndefinedBefore()

Statement * v8::internal::Processor::AssignUndefinedBefore ( Statement * s)

Definition at line 109 of file rewriter.cc.

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

◆ closure_scope()

DeclarationScope * v8::internal::Processor::closure_scope ( )
inline

Definition at line 45 of file rewriter.cc.

Here is the caller graph for this function:

◆ DEFINE_AST_VISITOR_SUBCLASS_MEMBERS()

v8::internal::Processor::DEFINE_AST_VISITOR_SUBCLASS_MEMBERS ( )
private

◆ factory()

AstNodeFactory * v8::internal::Processor::factory ( )
inline

Definition at line 46 of file rewriter.cc.

Here is the caller graph for this function:

◆ Process()

void v8::internal::Processor::Process ( ZonePtrList< Statement > * statements)

Definition at line 119 of file rewriter.cc.

Here is the call graph for this function:

◆ result_assigned()

bool v8::internal::Processor::result_assigned ( ) const
inline

Definition at line 42 of file rewriter.cc.

◆ SetResult()

Expression * v8::internal::Processor::SetResult ( Expression * value)
inline

Definition at line 49 of file rewriter.cc.

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

◆ VisitIterationStatement()

void v8::internal::Processor::VisitIterationStatement ( IterationStatement * stmt)
private

Definition at line 177 of file rewriter.cc.

Here is the call graph for this function:

◆ zone()

Zone * v8::internal::Processor::zone ( )
inline

Definition at line 44 of file rewriter.cc.

Here is the caller graph for this function:

Member Data Documentation

◆ breakable_

bool v8::internal::Processor::breakable_
private

Definition at line 105 of file rewriter.cc.

◆ closure_scope_

DeclarationScope* v8::internal::Processor::closure_scope_
private

Definition at line 81 of file rewriter.cc.

◆ factory_

AstNodeFactory v8::internal::Processor::factory_
private

Definition at line 82 of file rewriter.cc.

◆ is_set_

bool v8::internal::Processor::is_set_
private

Definition at line 103 of file rewriter.cc.

◆ replacement_

Statement* v8::internal::Processor::replacement_
private

Definition at line 64 of file rewriter.cc.

◆ result_

Variable* v8::internal::Processor::result_
private

Definition at line 60 of file rewriter.cc.

◆ result_assigned_

bool v8::internal::Processor::result_assigned_
private

Definition at line 97 of file rewriter.cc.

◆ zone_

Zone* v8::internal::Processor::zone_
private

Definition at line 80 of file rewriter.cc.


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