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

#include <ast.h>

Inheritance diagram for FunctionDeclaration:
Collaboration diagram for FunctionDeclaration:

Public Member Functions

FunctionLiteralfun () const
 
virtual InitializationFlag initialization () const
 
virtual bool IsInlineable () const
 
- Public Member Functions inherited from Declaration
VariableProxyproxy () const
 
VariableMode mode () const
 
Scopescope () 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

 FunctionDeclaration (VariableProxy *proxy, VariableMode mode, FunctionLiteral *fun, Scope *scope)
 
- Protected Member Functions inherited from Declaration
 Declaration (VariableProxy *proxy, VariableMode mode, Scope *scope)
 

Additional Inherited Members

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

Constructor & Destructor Documentation

FunctionDeclaration ( VariableProxy proxy,
VariableMode  mode,
FunctionLiteral fun,
Scope scope 
)
inlineprotected

Definition at line 496 of file ast.h.

References ASSERT, v8::internal::LET, v8::internal::NULL, and v8::internal::VAR.

Member Function Documentation

FunctionLiteral* fun ( ) const
inline

Definition at line 489 of file ast.h.

virtual InitializationFlag initialization ( ) const
inlinevirtual

Implements Declaration.

Definition at line 490 of file ast.h.

References v8::internal::kCreatedInitialized.

bool IsInlineable ( ) const
virtual

Reimplemented from Declaration.

Definition at line 397 of file ast.cc.


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