v8  3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ObjectLiteral::Property Class Reference

#include <ast.h>

Inheritance diagram for ObjectLiteral::Property:
Collaboration diagram for ObjectLiteral::Property:

Public Types

enum  Kind {
  CONSTANT, COMPUTED, MATERIALIZED_LITERAL, GETTER,
  SETTER, PROTOTYPE
}
 

Public Member Functions

 Property (Literal *key, Expression *value, Isolate *isolate)
 
Literalkey ()
 
Expressionvalue ()
 
Kind kind ()
 
void RecordTypeFeedback (TypeFeedbackOracle *oracle)
 
bool IsMonomorphic ()
 
Handle< MapGetReceiverType ()
 
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
 

Detailed Description

Definition at line 1246 of file ast.h.

Member Enumeration Documentation

enum Kind
Enumerator
CONSTANT 
COMPUTED 
MATERIALIZED_LITERAL 
GETTER 
SETTER 
PROTOTYPE 

Definition at line 1248 of file ast.h.

Constructor & Destructor Documentation

Property ( bool  is_getter,
FunctionLiteral value 
)
protected

Definition at line 196 of file ast.cc.

Member Function Documentation

bool emit_store ( )

Definition at line 215 of file ast.cc.

Handle<Map> GetReceiverType ( )
inline

Definition at line 1265 of file ast.h.

bool IsCompileTimeValue ( )

Definition at line 203 of file ast.cc.

References CompileTimeValue::IsCompileTimeValue().

bool IsMonomorphic ( )
inline

Definition at line 1264 of file ast.h.

Kind kind ( )
inline

Definition at line 1260 of file ast.h.

void set_emit_store ( bool  emit_store)

Definition at line 210 of file ast.cc.

void set_key ( Literal key)
inlineprotected

Definition at line 1276 of file ast.h.

Referenced by BASE_EMBEDDED< Visitor >::NewObjectLiteralProperty().

Expression* value ( )
inline

Definition at line 1259 of file ast.h.

Referenced by ObjectLiteral::Property::Property().

Friends And Related Function Documentation

friend class AstNodeFactory
friend

Definition at line 1273 of file ast.h.


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