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
ParserBase< Traits >::BASE_EMBEDDED Class Reference

#include <preparser.h>

Public Member Functions

 BlockState (typename Traits::Type::Scope **scope_stack, typename Traits::Type::Scope *scope)
 
 ~BlockState ()
 
 FunctionState (FunctionState **function_state_stack, typename Traits::Type::Scope **scope_stack, typename Traits::Type::Scope *scope, typename Traits::Type::Zone *zone=NULL)
 
 ~FunctionState ()
 
int NextMaterializedLiteralIndex ()
 
int materialized_literal_count ()
 
int NextHandlerIndex ()
 
int handler_count ()
 
void AddProperty ()
 
int expected_property_count ()
 
void set_is_generator (bool is_generator)
 
bool is_generator () const
 
void set_generator_object_variable (typename Traits::Type::GeneratorVariable *variable)
 
Traits::Type::GeneratorVariable * generator_object_variable () const
 
Traits::Type::Factory * factory ()
 
 ParsingModeScope (ParserBase *parser, Mode mode)
 
 ~ParsingModeScope ()
 

Friends

class ParserTraits
 

Detailed Description

template<typename Traits>
class v8::internal::ParserBase< Traits >::BASE_EMBEDDED

Definition at line 152 of file preparser.h.

Constructor & Destructor Documentation

~BlockState ( )
inline

Definition at line 161 of file preparser.h.

~ParsingModeScope ( )
inline

Definition at line 245 of file preparser.h.

Member Function Documentation

void AddProperty ( )
inline

Definition at line 188 of file preparser.h.

BlockState ( typename Traits::Type::Scope **  scope_stack,
typename Traits::Type::Scope *  scope 
)
inline

Definition at line 154 of file preparser.h.

References ParserBase< Traits >::scope_.

int expected_property_count ( )
inline

Definition at line 189 of file preparser.h.

Traits::Type::Factory* factory ( )
inline

Definition at line 206 of file preparser.h.

FunctionState ( FunctionState **  function_state_stack,
typename Traits::Type::Scope **  scope_stack,
typename Traits::Type::Scope *  scope,
typename Traits::Type::Zone *  zone = NULL 
)
Traits::Type::GeneratorVariable* generator_object_variable ( ) const
inline

Definition at line 201 of file preparser.h.

int handler_count ( )
inline

Definition at line 186 of file preparser.h.

bool is_generator ( ) const
inline

Definition at line 192 of file preparser.h.

int materialized_literal_count ( )
inline

Definition at line 181 of file preparser.h.

References JSFunction::kLiteralsPrefixSize.

int NextHandlerIndex ( )
inline

Definition at line 185 of file preparser.h.

int NextMaterializedLiteralIndex ( )
inline

Definition at line 178 of file preparser.h.

ParsingModeScope ( ParserBase parser,
Mode  mode 
)
inline

Definition at line 240 of file preparser.h.

References ParserBase< Traits >::mode().

void set_generator_object_variable ( typename Traits::Type::GeneratorVariable *  variable)
inline

Definition at line 194 of file preparser.h.

References ASSERT, ParserBase< Traits >::is_generator(), and v8::internal::NULL.

void set_is_generator ( bool  is_generator)
inline

Definition at line 191 of file preparser.h.

References ParserBase< Traits >::is_generator().

Friends And Related Function Documentation

friend class ParserTraits
friend

Definition at line 235 of file preparser.h.


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