v8
3.11.10(node0.8.26)
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 3909 of file parser.cc.
References CompileTimeValue::IsCompileTimeValue(), and v8::internal::NULL.
|
static |
Definition at line 3949 of file parser.cc.
References FixedArray::cast().
|
static |
Definition at line 3943 of file parser.cc.
References Smi::cast(), and Smi::value().
|
static |
Definition at line 3921 of file parser.cc.
References CompileTimeValue::ARRAY_LITERAL, ASSERT, ArrayLiteral::constant_elements(), ObjectLiteral::constant_properties(), FACTORY, ObjectLiteral::fast_elements(), Smi::FromInt(), MaterializedLiteral::is_simple(), CompileTimeValue::IsCompileTimeValue(), v8::internal::NULL, CompileTimeValue::OBJECT_LITERAL_FAST_ELEMENTS, CompileTimeValue::OBJECT_LITERAL_SLOW_ELEMENTS, and v8::internal::TENURED.
|
static |
Definition at line 3902 of file parser.cc.
References AstNode::AsMaterializedLiteral(), MaterializedLiteral::is_simple(), and v8::internal::NULL.
Referenced by CompileTimeValue::ArrayLiteralElementNeedsInitialization(), CompileTimeValue::GetValue(), and ObjectLiteral::Property::IsCompileTimeValue().