![]() |
v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <ast.h>


Data Structures | |
| struct | Accessors |
| class | Property |
Public Types | |
| enum | Flags { kNoFlags = 0, kFastElements = 1, kHasFunction = 1 << 1 } |
Public Types inherited from Expression | |
| enum | Context { kUninitialized, kEffect, kValue, kTest } |
Public Types inherited from AstNode | |
| enum | Type { kInvalid = -1 } |
Public Member Functions | |
| Handle< FixedArray > | constant_properties () const |
| ZoneList< Property * > * | properties () const |
| bool | fast_elements () const |
| bool | has_function () |
| void | CalculateEmitStore (Zone *zone) |
Public Member Functions inherited from MaterializedLiteral | |
| virtual MaterializedLiteral * | AsMaterializedLiteral () |
| int | literal_index () |
| bool | is_simple () const |
| int | depth () const |
Public Member Functions inherited from Expression | |
| 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 () |
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 | |
| ObjectLiteral (Isolate *isolate, Handle< FixedArray > constant_properties, ZoneList< Property * > *properties, int literal_index, bool is_simple, bool fast_elements, int depth, bool has_function) | |
Protected Member Functions inherited from MaterializedLiteral | |
| MaterializedLiteral (Isolate *isolate, int literal_index, bool is_simple, int depth) | |
Protected Member Functions inherited from Expression | |
| 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) |
|
inlineprotected |
| void CalculateEmitStore | ( | Zone * | zone | ) |
Definition at line 247 of file ast.cc.
References ObjectLiteral::Property::COMPUTED, Literal::handle(), Literal::Hash(), TemplateHashMapImpl< ZoneAllocationPolicy >::kDefaultHashMapCapacity, TemplateHashMapImpl< AllocationPolicy >::Lookup(), Literal::Match(), v8::internal::NULL, and ObjectLiteral::properties().
|
inline |
Definition at line 1288 of file ast.h.
Referenced by CompileTimeValue::GetValue().
|
inline |
Definition at line 1293 of file ast.h.
Referenced by CompileTimeValue::GetValue().
Definition at line 1291 of file ast.h.
Referenced by ObjectLiteral::CalculateEmitStore().