v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <parser.h>
Public Types | |
enum | LiteralType { OBJECT_LITERAL_FAST_ELEMENTS, OBJECT_LITERAL_SLOW_ELEMENTS, ARRAY_LITERAL } |
Static Public Member Functions | |
static bool | IsCompileTimeValue (Expression *expression) |
static Handle< FixedArray > | GetValue (Isolate *isolate, Expression *expression) |
static LiteralType | GetLiteralType (Handle< FixedArray > value) |
static Handle< FixedArray > | GetElements (Handle< FixedArray > value) |
enum LiteralType |
|
static |
Definition at line 3128 of file parser.cc.
References FixedArray::cast().
|
static |
Definition at line 3121 of file parser.cc.
References Smi::cast(), and Smi::value().
|
static |
Definition at line 3097 of file parser.cc.
References ASSERT, ParserBase< ParserTraits >::factory(), Isolate::factory(), Smi::FromInt(), Factory::NewFixedArray(), v8::internal::NULL, and v8::internal::TENURED.
Referenced by MaterializedLiteral::GetBoilerplateValue().
|
static |
Definition at line 3090 of file parser.cc.
References AstNode::AsMaterializedLiteral(), MaterializedLiteral::is_simple(), and v8::internal::NULL.
Referenced by MaterializedLiteral::GetBoilerplateValue().