v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
#include <ast.h>
Public Types | |
enum | Kind { CONSTANT, COMPUTED, MATERIALIZED_LITERAL, GETTER, SETTER, PROTOTYPE } |
Public Member Functions | |
Property (Literal *key, Expression *value, Isolate *isolate) | |
Literal * | key () |
Expression * | value () |
Kind | kind () |
void | RecordTypeFeedback (TypeFeedbackOracle *oracle) |
bool | IsMonomorphic () |
Handle< Map > | GetReceiverType () |
bool | IsCompileTimeValue () |
void | set_emit_store (bool emit_store) |
bool | emit_store () |
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 | |
Property (bool is_getter, FunctionLiteral *value) | |
void | set_key (Literal *key) |
Friends | |
template<class > | |
class | AstNodeFactory |
enum Kind |
Property | ( | Literal * | key, |
Expression * | value, | ||
Isolate * | isolate | ||
) |
Definition at line 174 of file ast.cc.
References AstNode::AsMaterializedLiteral(), String::cast(), ObjectLiteral::Property::COMPUTED, ObjectLiteral::Property::CONSTANT, Literal::handle(), Isolate::heap(), ObjectLiteral::Property::key(), ObjectLiteral::Property::MATERIALIZED_LITERAL, v8::internal::NULL, ObjectLiteral::Property::PROTOTYPE, and ObjectLiteral::Property::value().
|
protected |
bool IsCompileTimeValue | ( | ) |
Definition at line 201 of file ast.cc.
References CompileTimeValue::IsCompileTimeValue().
|
inline |
Definition at line 1327 of file ast.h.
Referenced by ObjectLiteral::Property::Property(), and Property::RecordTypeFeedback().
void RecordTypeFeedback | ( | TypeFeedbackOracle * | oracle | ) |
Definition at line 614 of file ast.cc.
References Handle< T >::null().
|
inlineprotected |
Definition at line 1345 of file ast.h.
Referenced by BASE_EMBEDDED< Visitor >::NewObjectLiteralProperty().
|
inline |
Definition at line 1328 of file ast.h.
Referenced by ObjectLiteral::Property::Property().
|
friend |