v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <ast.h>
Public Types | |
enum | Context { kUninitialized, kEffect, kValue, kTest } |
Public Types inherited from AstNode | |
enum | Type { kInvalid = -1 } |
Public Member Functions | |
virtual int | position () const |
virtual bool | IsValidLeftHandSide () |
virtual bool | ToBooleanIsTrue () |
virtual bool | ToBooleanIsFalse () |
virtual bool | IsPropertyName () |
virtual bool | ResultOverwriteAllowed () |
bool | IsSmiLiteral () |
bool | IsStringLiteral () |
bool | IsNullLiteral () |
virtual bool | IsMonomorphic () |
virtual SmallMapList * | GetReceiverTypes () |
Handle< Map > | GetMonomorphicReceiverType () |
BailoutId | id () const |
TypeFeedbackId | test_id () const |
Public Member Functions inherited from AstNode | |
void * | operator new (size_t size, Zone *zone) |
AstNode () | |
virtual | ~AstNode () |
virtual void | Accept (AstVisitor *v)=0 |
virtual Type | node_type () const =0 |
virtual TargetCollector * | AsTargetCollector () |
virtual BreakableStatement * | AsBreakableStatement () |
virtual IterationStatement * | AsIterationStatement () |
virtual MaterializedLiteral * | AsMaterializedLiteral () |
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) |
Protected Member Functions | |
Expression (Isolate *isolate) | |
Additional Inherited Members | |
Static Protected Member Functions inherited from AstNode | |
static int | GetNextId (Isolate *isolate) |
static int | ReserveIdRange (Isolate *isolate, int n) |
static TypeFeedbackId | reuse (BailoutId id) |
|
inlineexplicitprotected |
Definition at line 345 of file ast.h.
References ASSERT, SmallMapList::at(), SmallMapList::length(), and v8::internal::NULL.
|
inlinevirtual |
Reimplemented in Assignment, CountOperation, Call, and Property.
Definition at line 341 of file ast.h.
References v8::internal::NULL, and UNREACHABLE.
|
inlinevirtual |
Reimplemented in Assignment, CountOperation, CallNew, Call, and Property.
Definition at line 337 of file ast.h.
References UNREACHABLE.
bool IsNullLiteral | ( | ) |
Definition at line 67 of file ast.cc.
References v8::internal::NULL.
|
inlinevirtual |
Reimplemented in Literal.
Definition at line 321 of file ast.h.
Referenced by Property::RecordTypeFeedback(), and Assignment::RecordTypeFeedback().
bool IsSmiLiteral | ( | ) |
Definition at line 57 of file ast.cc.
References v8::internal::NULL.
bool IsStringLiteral | ( | ) |
Definition at line 62 of file ast.cc.
References v8::internal::NULL.
|
inlinevirtual |
Reimplemented in Property, and VariableProxy.
|
inlinevirtual |
Reimplemented in Throw, Assignment, CompareOperation, CountOperation, BinaryOperation, UnaryOperation, CallNew, Call, Property, and VariableProxy.
Definition at line 307 of file ast.h.
References UNREACHABLE.
|
inlinevirtual |
Reimplemented in BinaryOperation, and UnaryOperation.
|
inline |
|
inlinevirtual |
|
inlinevirtual |