V8 Project
|
#include <ast.h>
Public Types | |
enum | BreakableType { TARGET_FOR_ANONYMOUS , TARGET_FOR_NAMED_ONLY } |
![]() | |
enum | NodeType { kInvalid = -1 } |
Public Member Functions | |
ZoneList< const AstRawString * > * | labels () const |
virtual BreakableStatement * | AsBreakableStatement () FINAL OVERRIDE |
Label * | break_target () |
bool | is_target_for_anonymous () const |
BailoutId | EntryId () const |
BailoutId | ExitId () const |
![]() | |
Statement (Zone *zone, int position) | |
bool | IsEmpty () |
virtual bool | IsJump () const |
![]() | |
void * | operator new (size_t size, Zone *zone) |
AstNode (int position) | |
virtual | ~AstNode () |
virtual void | Accept (AstVisitor *v)=0 |
virtual NodeType | node_type () const =0 |
int | position () const |
virtual TargetCollector * | AsTargetCollector () |
virtual IterationStatement * | AsIterationStatement () |
virtual MaterializedLiteral * | AsMaterializedLiteral () |
![]() | |
INLINE (void *operator new(size_t size, Zone *zone)) | |
void | operator delete (void *, size_t) |
void | operator delete (void *pointer, Zone *zone) |
Protected Member Functions | |
BreakableStatement (Zone *zone, ZoneList< const AstRawString * > *labels, BreakableType breakable_type, int position, IdGen *id_gen) | |
Private Attributes | |
ZoneList< const AstRawString * > * | labels_ |
BreakableType | breakable_type_ |
Label | break_target_ |
const BailoutId | entry_id_ |
const BailoutId | exit_id_ |
Additional Inherited Members | |
![]() | |
static TypeFeedbackId | reuse (BailoutId id) |
|
inlineprotected |
Definition at line 429 of file ast.h.
References DCHECK, labels(), and NULL.
|
inlinevirtual |
Reimplemented from v8::internal::AstNode.
Definition at line 413 of file ast.h.
Referenced by v8::internal::Parser::LookupBreakTarget(), and v8::internal::Parser::TargetStackContainsLabel().
|
inline |
Definition at line 418 of file ast.h.
References break_target_.
Referenced by v8::internal::Parser::LookupBreakTarget().
|
inline |
Definition at line 425 of file ast.h.
References entry_id_.
Referenced by v8::internal::HOsrBuilder::BuildOsrLoopEntry().
|
inline |
Definition at line 426 of file ast.h.
References exit_id_.
Referenced by v8::internal::HOptimizedGraphBuilder::CreateLoop().
|
inline |
Definition at line 421 of file ast.h.
References breakable_type_, and TARGET_FOR_ANONYMOUS.
Referenced by v8::internal::Parser::LookupBreakTarget(), and v8::internal::Parser::LookupContinueTarget().
|
inline |
Definition at line 410 of file ast.h.
References labels_.
Referenced by BreakableStatement(), v8::internal::Parser::LookupBreakTarget(), v8::internal::Parser::LookupContinueTarget(), and v8::internal::Parser::TargetStackContainsLabel().
|
private |
Definition at line 443 of file ast.h.
Referenced by break_target().
|
private |
Definition at line 442 of file ast.h.
Referenced by is_target_for_anonymous().
|
private |
|
private |
|
private |