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

#include <ast.h>

Inheritance diagram for Declaration:
Collaboration diagram for Declaration:

Public Member Functions

VariableProxyproxy () const
 
VariableMode mode () const
 
Scopescope () const
 
virtual InitializationFlag initialization () const =0
 
virtual bool IsInlineable () const
 
virtual DeclarationAsDeclaration ()
 
- 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 StatementAsStatement ()
 
virtual ExpressionAsExpression ()
 
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

 Declaration (VariableProxy *proxy, VariableMode mode, Scope *scope)
 

Additional Inherited Members

- 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 450 of file ast.h.

Constructor & Destructor Documentation

Declaration ( VariableProxy proxy,
VariableMode  mode,
Scope scope 
)
inlineprotected

Member Function Documentation

virtual Declaration* AsDeclaration ( )
inlinevirtual

Reimplemented from AstNode.

Definition at line 458 of file ast.h.

virtual InitializationFlag initialization ( ) const
pure virtual
bool IsInlineable ( ) const
virtual

Reimplemented in FunctionDeclaration.

Definition at line 391 of file ast.cc.

VariableMode mode ( ) const
inline

Definition at line 453 of file ast.h.

Referenced by Scope::CheckConflictingVarDeclarations().

Scope* scope ( ) const
inline

Definition at line 454 of file ast.h.

Referenced by Scope::Analyze(), and Scope::CheckConflictingVarDeclarations().


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