v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <parser.h>
Public Types | |
enum | Type { OBJECT_LITERAL_FAST_ELEMENTS, OBJECT_LITERAL_SLOW_ELEMENTS, ARRAY_LITERAL } |
Static Public Member Functions | |
static bool | IsCompileTimeValue (Expression *expression) |
static bool | ArrayLiteralElementNeedsInitialization (Expression *value) |
static Handle< FixedArray > | GetValue (Expression *expression) |
static Type | GetType (Handle< FixedArray > value) |
static Handle< FixedArray > | GetElements (Handle< FixedArray > value) |
enum Type |
|
static |
Definition at line 3837 of file parser.cc.
References CompileTimeValue::IsCompileTimeValue(), and v8::internal::NULL.
|
static |
Definition at line 3877 of file parser.cc.
References FixedArray::cast().
|
static |
Definition at line 3871 of file parser.cc.
References Smi::cast(), and Smi::value().
|
static |
Definition at line 3849 of file parser.cc.
References ASSERT, ArrayLiteral::constant_elements(), ObjectLiteral::constant_properties(), FACTORY, ObjectLiteral::fast_elements(), Smi::FromInt(), MaterializedLiteral::is_simple(), v8::internal::NULL, and v8::internal::TENURED.
|
static |
Definition at line 3830 of file parser.cc.
References AstNode::AsMaterializedLiteral(), MaterializedLiteral::is_simple(), and v8::internal::NULL.
Referenced by CompileTimeValue::ArrayLiteralElementNeedsInitialization(), and ObjectLiteral::Property::IsCompileTimeValue().