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
AstContext Class Referenceabstract

#include <hydrogen.h>

Inheritance diagram for AstContext:

Public Member Functions

bool IsEffect () const
 
bool IsValue () const
 
bool IsTest () const
 
virtual void ReturnValue (HValue *value)=0
 
virtual void ReturnInstruction (HInstruction *instr, int ast_id)=0
 
virtual void ReturnControl (HControlInstruction *instr, int ast_id)=0
 
void set_for_typeof (bool for_typeof)
 
bool is_for_typeof ()
 

Protected Member Functions

 AstContext (HGraphBuilder *owner, Expression::Context kind)
 
virtual ~AstContext ()
 
HGraphBuilderowner () const
 
Zonezone () const
 

Detailed Description

Definition at line 595 of file hydrogen.h.

Constructor & Destructor Documentation

~AstContext ( )
protectedvirtual

Definition at line 2580 of file hydrogen.cc.

Member Function Documentation

bool is_for_typeof ( )
inline

Definition at line 619 of file hydrogen.h.

bool IsEffect ( ) const
inline

Definition at line 597 of file hydrogen.h.

References Expression::kEffect.

bool IsTest ( ) const
inline

Definition at line 599 of file hydrogen.h.

References Expression::kTest.

Referenced by TestContext::cast(), and FunctionState::FunctionState().

bool IsValue ( ) const
inline

Definition at line 598 of file hydrogen.h.

References Expression::kValue.

virtual void ReturnControl ( HControlInstruction instr,
int  ast_id 
)
pure virtual

Implemented in TestContext, ValueContext, and EffectContext.

virtual void ReturnInstruction ( HInstruction instr,
int  ast_id 
)
pure virtual

Implemented in TestContext, ValueContext, and EffectContext.

virtual void ReturnValue ( HValue value)
pure virtual

Implemented in TestContext, ValueContext, and EffectContext.

void set_for_typeof ( bool  for_typeof)
inline

Definition at line 618 of file hydrogen.h.

Zone * zone ( ) const
inlineprotected

Definition at line 1196 of file hydrogen.h.


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