v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CompileTimeValue Class Reference

#include <parser.h>

Inheritance diagram for CompileTimeValue:
Collaboration diagram for CompileTimeValue:

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< FixedArrayGetValue (Isolate *isolate, Expression *expression)
 
static LiteralType GetLiteralType (Handle< FixedArray > value)
 
static Handle< FixedArrayGetElements (Handle< FixedArray > value)
 

Detailed Description

Definition at line 820 of file parser.h.

Member Enumeration Documentation

Enumerator
OBJECT_LITERAL_FAST_ELEMENTS 
OBJECT_LITERAL_SLOW_ELEMENTS 
ARRAY_LITERAL 

Definition at line 822 of file parser.h.

Member Function Documentation

Handle< FixedArray > GetElements ( Handle< FixedArray value)
static

Definition at line 3128 of file parser.cc.

References FixedArray::cast().

CompileTimeValue::LiteralType GetLiteralType ( Handle< FixedArray value)
static

Definition at line 3121 of file parser.cc.

References Smi::cast(), and Smi::value().

bool IsCompileTimeValue ( Expression expression)
static

The documentation for this class was generated from the following files: