v8  3.11.10(node0.8.26)
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 1315 of file ast.h.

Member Enumeration Documentation

enum Kind
Enumerator
CONSTANT 
COMPUTED 
MATERIALIZED_LITERAL 
GETTER 
SETTER 
PROTOTYPE 

Definition at line 1317 of file ast.h.

Constructor & Destructor Documentation

Property ( bool  is_getter,
FunctionLiteral value 
)
protected

Definition at line 194 of file ast.cc.

Member Function Documentation

bool emit_store ( )

Definition at line 213 of file ast.cc.

Handle<Map> GetReceiverType ( )
inline

Definition at line 1334 of file ast.h.

bool IsCompileTimeValue ( )

Definition at line 201 of file ast.cc.

References CompileTimeValue::IsCompileTimeValue().

bool IsMonomorphic ( )
inline

Definition at line 1333 of file ast.h.

Literal* key ( )
inline

Definition at line 1327 of file ast.h.

Referenced by ObjectLiteral::Property::Property(), and Property::RecordTypeFeedback().

Kind kind ( )
inline

Definition at line 1329 of file ast.h.

void RecordTypeFeedback ( TypeFeedbackOracle *  oracle)

Definition at line 614 of file ast.cc.

References Handle< T >::null().

void set_emit_store ( bool  emit_store)

Definition at line 208 of file ast.cc.

void set_key ( Literal key)
inlineprotected

Definition at line 1345 of file ast.h.

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

Expression* value ( )
inline

Definition at line 1328 of file ast.h.

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

Friends And Related Function Documentation

friend class AstNodeFactory
friend

Definition at line 1342 of file ast.h.


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