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

#include <ast.h>

Inheritance diagram for CountOperation:
Collaboration diagram for CountOperation:

Public Member Functions

bool is_prefix () const
 
bool is_postfix () const
 
Token::Value op () const
 
Token::Value binary_op ()
 
Expressionexpression () const
 
virtual int position () const
 
virtual void MarkAsStatement ()
 
void RecordTypeFeedback (TypeFeedbackOracle *oracle, Zone *znoe)
 
virtual bool IsMonomorphic ()
 
virtual SmallMapListGetReceiverTypes ()
 
BailoutId AssignmentId () const
 
TypeFeedbackId CountBinOpFeedbackId () const
 
TypeFeedbackId CountStoreFeedbackId () const
 
- Public Member Functions inherited from Expression
virtual bool IsValidLeftHandSide ()
 
virtual bool ToBooleanIsTrue ()
 
virtual bool ToBooleanIsFalse ()
 
virtual bool IsPropertyName ()
 
virtual bool ResultOverwriteAllowed ()
 
bool IsSmiLiteral ()
 
bool IsStringLiteral ()
 
bool IsNullLiteral ()
 
Handle< MapGetMonomorphicReceiverType ()
 
BailoutId id () const
 
TypeFeedbackId 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 =0
 
virtual TargetCollectorAsTargetCollector ()
 
virtual BreakableStatementAsBreakableStatement ()
 
virtual IterationStatementAsIterationStatement ()
 
virtual MaterializedLiteralAsMaterializedLiteral ()
 
- 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

 CountOperation (Isolate *isolate, Token::Value op, bool is_prefix, Expression *expr, int pos)
 
- Protected Member Functions inherited from Expression
 Expression (Isolate *isolate)
 

Additional Inherited Members

- Public Types inherited from Expression
enum  Context { kUninitialized, kEffect, kValue, kTest }
 
- Public Types inherited from AstNode
enum  Type { kInvalid = -1 }
 
- Static Protected Member Functions inherited from AstNode
static int GetNextId (Isolate *isolate)
 
static int ReserveIdRange (Isolate *isolate, int n)
 
static TypeFeedbackId reuse (BailoutId id)
 

Detailed Description

Definition at line 1717 of file ast.h.

Constructor & Destructor Documentation

CountOperation ( Isolate isolate,
Token::Value  op,
bool  is_prefix,
Expression expr,
int  pos 
)
inlineprotected

Definition at line 1744 of file ast.h.

Member Function Documentation

BailoutId AssignmentId ( ) const
inline

Definition at line 1738 of file ast.h.

Token::Value binary_op ( )
inline

Definition at line 1725 of file ast.h.

References v8::internal::ADD, and v8::internal::SUB.

TypeFeedbackId CountBinOpFeedbackId ( ) const
inline

Definition at line 1740 of file ast.h.

Referenced by TypeFeedbackOracle::IncrementType().

TypeFeedbackId CountStoreFeedbackId ( ) const
inline

Definition at line 1741 of file ast.h.

References AstNode::reuse().

Expression* expression ( ) const
inline

Definition at line 1729 of file ast.h.

virtual SmallMapList* GetReceiverTypes ( )
inlinevirtual

Reimplemented from Expression.

Definition at line 1736 of file ast.h.

bool is_postfix ( ) const
inline

Definition at line 1722 of file ast.h.

bool is_prefix ( ) const
inline

Definition at line 1721 of file ast.h.

virtual bool IsMonomorphic ( )
inlinevirtual

Reimplemented from Expression.

Definition at line 1735 of file ast.h.

virtual void MarkAsStatement ( )
inlinevirtual

Definition at line 1732 of file ast.h.

Token::Value op ( ) const
inline

Definition at line 1724 of file ast.h.

virtual int position ( ) const
inlinevirtual

Reimplemented from Expression.

Definition at line 1730 of file ast.h.


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