V8 Project
v8::internal::FullCodeGenerator::ForIn Class Reference
+ Inheritance diagram for v8::internal::FullCodeGenerator::ForIn:
+ Collaboration diagram for v8::internal::FullCodeGenerator::ForIn:

Public Member Functions

 ForIn (FullCodeGenerator *codegen, ForInStatement *statement)
 
virtual ~ForIn ()
 
virtual NestedStatementExit (int *stack_depth, int *context_length)
 
- Public Member Functions inherited from v8::internal::FullCodeGenerator::Iteration
 Iteration (FullCodeGenerator *codegen, IterationStatement *statement)
 
virtual ~Iteration ()
 
virtual IterationAsIteration ()
 
virtual bool IsContinueTarget (Statement *target)
 
Label * continue_label ()
 
- Public Member Functions inherited from v8::internal::FullCodeGenerator::Breakable
 Breakable (FullCodeGenerator *codegen, BreakableStatement *statement)
 
virtual ~Breakable ()
 
virtual BreakableAsBreakable ()
 
virtual bool IsBreakTarget (Statement *target)
 
BreakableStatementstatement ()
 
Label * break_label ()
 

Static Public Attributes

static const int kElementCount = 5
 

Detailed Description

Definition at line 265 of file full-codegen.h.

Constructor & Destructor Documentation

◆ ForIn()

v8::internal::FullCodeGenerator::ForIn::ForIn ( FullCodeGenerator codegen,
ForInStatement *  statement 
)
inline

Definition at line 269 of file full-codegen.h.

270  : Iteration(codegen, statement) {
271  }
Iteration(FullCodeGenerator *codegen, IterationStatement *statement)
Definition: full-codegen.h:194

◆ ~ForIn()

virtual v8::internal::FullCodeGenerator::ForIn::~ForIn ( )
inlinevirtual

Definition at line 272 of file full-codegen.h.

272 {}

Member Function Documentation

◆ Exit()

virtual NestedStatement* v8::internal::FullCodeGenerator::ForIn::Exit ( int stack_depth,
int context_length 
)
inlinevirtual

Definition at line 274 of file full-codegen.h.

274  {
275  *stack_depth += kElementCount;
276  return previous_;
277  }

References kElementCount.

Member Data Documentation

◆ kElementCount

const int v8::internal::FullCodeGenerator::ForIn::kElementCount = 5
static

Definition at line 267 of file full-codegen.h.

Referenced by Exit().


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