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
Property Class Reference

#include <ast.h>

Inheritance diagram for Property:
Collaboration diagram for Property:

Public Member Functions

virtual bool IsValidLeftHandSide ()
 
Expression * obj () const
 
Expression * key () const
 
virtual int position () const
 
bool IsStringLength () const
 
bool IsStringAccess () const
 
bool IsFunctionPrototype () const
 
void RecordTypeFeedback (TypeFeedbackOracle *oracle, Zone *zone)
 
virtual bool IsMonomorphic ()
 
virtual SmallMapList * GetReceiverTypes ()
 
bool IsArrayLength ()
 
bool IsUninitialized ()
 
- Public Member Functions inherited from Expression
virtual Expression * AsExpression ()
 
virtual bool ToBooleanIsTrue ()
 
virtual bool ToBooleanIsFalse ()
 
virtual bool IsPropertyName ()
 
virtual bool ResultOverwriteAllowed ()
 
bool IsSmiLiteral ()
 
bool IsStringLiteral ()
 
bool IsNullLiteral ()
 
Handle< Map > GetMonomorphicReceiverType ()
 
unsigned id () const
 
unsigned test_id () const
 
- Public Member Functions inherited from AstNode
void * operator new (size_t size, Zone *zone)
 
 AstNode ()
 
virtual ~AstNode ()
 
virtual void Accept (AstVisitor *v)=0
 
virtual Type node_type () const
 
virtual Declaration * AsDeclaration ()
 
virtual Statement * AsStatement ()
 
virtual TargetCollector * AsTargetCollector ()
 
virtual BreakableStatement * AsBreakableStatement ()
 
virtual IterationStatement * AsIterationStatement ()
 
virtual MaterializedLiteral * AsMaterializedLiteral ()
 
- 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 (Isolate *isolate, Expression *obj, Expression *key, int pos)
 
- Protected Member Functions inherited from Expression
 Expression (Isolate *isolate)
 

Friends

template<class >
class AstNodeFactory
 

Additional Inherited Members

- Public Types inherited from Expression
enum  Context { kUninitialized, kEffect, kValue, kTest }
 
- Public Types inherited from AstNode
enum  Type { kInvalid = -1 }
 
- Static Public Attributes inherited from AstNode
static const int kNoNumber = -1
 
static const int kFunctionEntryId = 2
 
static const int kDeclarationsId = 3
 
- Static Protected Member Functions inherited from AstNode
static int GetNextId (Isolate *isolate)
 
static int ReserveIdRange (Isolate *isolate, int n)
 

Detailed Description

Definition at line 1519 of file ast.h.

Constructor & Destructor Documentation

Property ( Isolate *  isolate,
Expression *  obj,
Expression *  key,
int  pos 
)
inlineprotected

Definition at line 1543 of file ast.h.

Member Function Documentation

virtual SmallMapList* GetReceiverTypes ( )
inlinevirtual

Reimplemented from Expression.

Definition at line 1536 of file ast.h.

bool IsArrayLength ( )
inline

Definition at line 1537 of file ast.h.

bool IsFunctionPrototype ( ) const
inline

Definition at line 1531 of file ast.h.

virtual bool IsMonomorphic ( )
inlinevirtual

Reimplemented from Expression.

Definition at line 1535 of file ast.h.

bool IsStringAccess ( ) const
inline

Definition at line 1530 of file ast.h.

bool IsStringLength ( ) const
inline

Definition at line 1529 of file ast.h.

bool IsUninitialized ( )
inline

Definition at line 1538 of file ast.h.

virtual bool IsValidLeftHandSide ( )
inlinevirtual

Reimplemented from Expression.

Definition at line 1523 of file ast.h.

Expression* key ( ) const
inline

Definition at line 1526 of file ast.h.

Referenced by Assignment::RecordTypeFeedback().

Expression* obj ( ) const
inline

Definition at line 1525 of file ast.h.

virtual int position ( ) const
inlinevirtual

Reimplemented from Expression.

Definition at line 1527 of file ast.h.

void RecordTypeFeedback ( TypeFeedbackOracle *  oracle,
Zone *  zone 
)

Friends And Related Function Documentation

friend class AstNodeFactory
friend

Definition at line 1541 of file ast.h.


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