v8  3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TargetCollector Class Reference

#include <ast.h>

Inheritance diagram for TargetCollector:
Collaboration diagram for TargetCollector:

Public Member Functions

 TargetCollector (Zone *zone)
 
void AddTarget (Label *target, Zone *zone)
 
virtual void Accept (AstVisitor *v)
 
virtual Type node_type () const
 
virtual TargetCollectorAsTargetCollector ()
 
ZoneList< Label * > * targets ()
 
- Public Member Functions inherited from AstNode
void * operator new (size_t size, Zone *zone)
 
 AstNode ()
 
virtual ~AstNode ()
 
virtual BreakableStatementAsBreakableStatement ()
 
virtual IterationStatementAsIterationStatement ()
 
virtual MaterializedLiteralAsMaterializedLiteral ()
 
- Public Member Functions inherited from ZoneObject
 INLINE (void *operator new(size_t size, Zone *zone))
 
void operator delete (void *, size_t)
 
void operator delete (void *pointer, Zone *zone)
 

Additional Inherited Members

- Public Types inherited from AstNode
enum  Type { kInvalid = -1 }
 
- Static Protected Member Functions inherited from AstNode
static int GetNextId (Isolate *isolate)
 
static int ReserveIdRange (Isolate *isolate, int n)
 
static TypeFeedbackId reuse (BailoutId id)
 

Detailed Description

Definition at line 1042 of file ast.h.

Constructor & Destructor Documentation

TargetCollector ( Zone zone)
inlineexplicit

Definition at line 1044 of file ast.h.

Member Function Documentation

virtual void Accept ( AstVisitor *  v)
inlinevirtual

Implements AstNode.

Definition at line 1052 of file ast.h.

References UNREACHABLE.

void AddTarget ( Label *  target,
Zone zone 
)

Definition at line 270 of file ast.cc.

virtual TargetCollector* AsTargetCollector ( )
inlinevirtual

Reimplemented from AstNode.

Definition at line 1054 of file ast.h.

virtual Type node_type ( ) const
inlinevirtual

Implements AstNode.

Definition at line 1053 of file ast.h.

References AstNode::kInvalid.

ZoneList<Label*>* targets ( )
inline

Definition at line 1056 of file ast.h.


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