v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FuncNameInferrer Class Reference

#include <func-name-inferrer.h>

Inheritance diagram for FuncNameInferrer:
Collaboration diagram for FuncNameInferrer:

Public Member Functions

 FuncNameInferrer (Isolate *isolate, Zone *zone)
 
bool IsOpen () const
 
void PushEnclosingName (Handle< String > name)
 
void Enter ()
 
void PushLiteralName (Handle< String > name)
 
void PushVariableName (Handle< String > name)
 
void AddFunction (FunctionLiteral *func_to_infer)
 
void RemoveLastFunction ()
 
void Infer ()
 
void Leave ()
 
- 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)
 

Detailed Description

Definition at line 50 of file func-name-inferrer.h.

Constructor & Destructor Documentation

FuncNameInferrer ( Isolate isolate,
Zone zone 
)

Definition at line 37 of file func-name-inferrer.cc.

Member Function Documentation

void AddFunction ( FunctionLiteral *  func_to_infer)
inline

Definition at line 71 of file func-name-inferrer.h.

References List< T, P >::Add(), and FuncNameInferrer::IsOpen().

void Enter ( )
inline

Definition at line 61 of file func-name-inferrer.h.

References List< T, P >::Add().

void Infer ( )
inline

Definition at line 84 of file func-name-inferrer.h.

References ASSERT, and FuncNameInferrer::IsOpen().

void Leave ( )
inline

Definition at line 92 of file func-name-inferrer.h.

References ASSERT, and FuncNameInferrer::IsOpen().

void PushEnclosingName ( Handle< String name)

Definition at line 46 of file func-name-inferrer.cc.

References List< T, P >::Add(), and Runtime::IsUpperCaseChar().

void PushVariableName ( Handle< String name)
void RemoveLastFunction ( )
inline

Definition at line 77 of file func-name-inferrer.h.

References FuncNameInferrer::IsOpen().


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