v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <ast.h>
Public Member Functions | |
virtual MaterializedLiteral * | AsMaterializedLiteral () |
int | literal_index () |
int | depth () const |
Public Member Functions inherited from Expression | |
virtual bool | IsValidLeftHandSide () |
virtual bool | ToBooleanIsTrue () |
virtual bool | ToBooleanIsFalse () |
virtual bool | IsPropertyName () |
virtual bool | ResultOverwriteAllowed () |
bool | IsSmiLiteral () |
bool | IsStringLiteral () |
bool | IsNullLiteral () |
bool | IsUndefinedLiteral (Isolate *isolate) |
Bounds | bounds () |
void | set_bounds (Bounds bounds) |
virtual bool | IsMonomorphic () |
virtual SmallMapList * | GetReceiverTypes () |
virtual KeyedAccessStoreMode | GetStoreMode () |
virtual void | RecordToBooleanTypeFeedback (TypeFeedbackOracle *oracle) |
byte | to_boolean_types () const |
BailoutId | id () const |
TypeFeedbackId | test_id () const |
Public Member Functions inherited from AstNode | |
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 BreakableStatement * | AsBreakableStatement () |
virtual IterationStatement * | AsIterationStatement () |
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 | |
MaterializedLiteral (Zone *zone, int literal_index, int pos) | |
bool | is_simple () const |
void | set_is_simple (bool is_simple) |
void | set_depth (int depth) |
void | BuildConstants (Isolate *isolate) |
Handle< Object > | GetBoilerplateValue (Expression *expression, Isolate *isolate) |
Protected Member Functions inherited from Expression | |
Expression (Zone *zone, int pos) | |
void | set_to_boolean_types (byte types) |
Friends | |
class | CompileTimeValue |
class | ArrayLiteral |
class | ObjectLiteral |
Additional Inherited Members | |
Public Types inherited from Expression | |
enum | Context { kUninitialized, kEffect, kValue, kTest } |
Public Types inherited from AstNode | |
enum | NodeType { kInvalid = -1 } |
Static Protected Member Functions inherited from AstNode | |
static int | GetNextId (Zone *zone) |
static int | ReserveIdRange (Zone *zone, int n) |
static TypeFeedbackId | reuse (BailoutId id) |
|
inlineprotected |
|
inlinevirtual |
|
protected |
Definition at line 424 of file ast.cc.
References ASSERT, and MaterializedLiteral::depth().
|
inline |
Definition at line 1419 of file ast.h.
References ASSERT.
Referenced by MaterializedLiteral::BuildConstants().
|
protected |
Definition at line 412 of file ast.cc.
References Isolate::factory(), CompileTimeValue::GetValue(), CompileTimeValue::IsCompileTimeValue(), and v8::internal::NULL.
|
inlineprotected |
Definition at line 1436 of file ast.h.
Referenced by CompileTimeValue::IsCompileTimeValue().
|
inlineprotected |
|
friend |