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

Public Member Functions

 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 ()
 

Private Attributes

Label continue_label_
 

Detailed Description

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

Constructor & Destructor Documentation

◆ Iteration()

v8::internal::FullCodeGenerator::Iteration::Iteration ( FullCodeGenerator codegen,
IterationStatement statement 
)
inline

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

195  : Breakable(codegen, statement) {
196  }
Breakable(FullCodeGenerator *codegen, BreakableStatement *statement)
Definition: full-codegen.h:173

◆ ~Iteration()

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

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

197 {}

Member Function Documentation

◆ AsIteration()

virtual Iteration* v8::internal::FullCodeGenerator::Iteration::AsIteration ( )
inlinevirtual

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

199 { return this; }

◆ continue_label()

Label* v8::internal::FullCodeGenerator::Iteration::continue_label ( )
inline

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

References continue_label_.

◆ IsContinueTarget()

virtual bool v8::internal::FullCodeGenerator::Iteration::IsContinueTarget ( Statement target)
inlinevirtual

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

200  {
201  return statement() == target;
202  }

References v8::internal::FullCodeGenerator::Breakable::statement().

+ Here is the call graph for this function:

Member Data Documentation

◆ continue_label_

Label v8::internal::FullCodeGenerator::Iteration::continue_label_
private

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

Referenced by continue_label().


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