v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::ParserBase< Impl >::Target Class Reference

#include <parser-base.h>

Collaboration diagram for v8::internal::ParserBase< Impl >::Target:

Public Types

enum  TargetType { TARGET_FOR_ANONYMOUS , TARGET_FOR_NAMED_ONLY }
 

Public Member Functions

 Target (ParserBase *parser, BreakableStatementT statement, ZonePtrList< const AstRawString > *labels, ZonePtrList< const AstRawString > *own_labels, TargetType target_type)
 
 ~Target ()
 
const Targetprevious () const
 
const BreakableStatementT statement () const
 
const ZonePtrList< const AstRawString > * labels () const
 
const ZonePtrList< const AstRawString > * own_labels () const
 
bool is_iteration () const
 
bool is_target_for_anonymous () const
 

Private Attributes

Target **const stack_
 
const BreakableStatementT statement_
 
const ZonePtrList< const AstRawString > *const labels_
 
const ZonePtrList< const AstRawString > *const own_labels_
 
const TargetType target_type_
 
Target *const previous_
 

Detailed Description

template<typename Impl>
class v8::internal::ParserBase< Impl >::Target

Definition at line 375 of file parser-base.h.

Member Enumeration Documentation

◆ TargetType

template<typename Impl >
enum v8::internal::ParserBase::Target::TargetType
Enumerator
TARGET_FOR_ANONYMOUS 
TARGET_FOR_NAMED_ONLY 

Definition at line 377 of file parser-base.h.

Constructor & Destructor Documentation

◆ Target()

template<typename Impl >
v8::internal::ParserBase< Impl >::Target::Target ( ParserBase * parser,
BreakableStatementT statement,
ZonePtrList< const AstRawString > * labels,
ZonePtrList< const AstRawString > * own_labels,
TargetType target_type )
inline

Definition at line 379 of file parser-base.h.

Here is the call graph for this function:

◆ ~Target()

template<typename Impl >
v8::internal::ParserBase< Impl >::Target::~Target ( )
inline

Definition at line 395 of file parser-base.h.

Member Function Documentation

◆ is_iteration()

template<typename Impl >
bool v8::internal::ParserBase< Impl >::Target::is_iteration ( ) const
inline

Definition at line 403 of file parser-base.h.

◆ is_target_for_anonymous()

template<typename Impl >
bool v8::internal::ParserBase< Impl >::Target::is_target_for_anonymous ( ) const
inline

Definition at line 404 of file parser-base.h.

◆ labels()

template<typename Impl >
const ZonePtrList< const AstRawString > * v8::internal::ParserBase< Impl >::Target::labels ( ) const
inline

Definition at line 399 of file parser-base.h.

◆ own_labels()

template<typename Impl >
const ZonePtrList< const AstRawString > * v8::internal::ParserBase< Impl >::Target::own_labels ( ) const
inline

Definition at line 400 of file parser-base.h.

Here is the caller graph for this function:

◆ previous()

template<typename Impl >
const Target * v8::internal::ParserBase< Impl >::Target::previous ( ) const
inline

Definition at line 397 of file parser-base.h.

Here is the caller graph for this function:

◆ statement()

template<typename Impl >
const BreakableStatementT v8::internal::ParserBase< Impl >::Target::statement ( ) const
inline

Definition at line 398 of file parser-base.h.

Member Data Documentation

◆ labels_

template<typename Impl >
const ZonePtrList<const AstRawString>* const v8::internal::ParserBase< Impl >::Target::labels_
private

Definition at line 411 of file parser-base.h.

◆ own_labels_

template<typename Impl >
const ZonePtrList<const AstRawString>* const v8::internal::ParserBase< Impl >::Target::own_labels_
private

Definition at line 412 of file parser-base.h.

◆ previous_

template<typename Impl >
Target* const v8::internal::ParserBase< Impl >::Target::previous_
private

Definition at line 414 of file parser-base.h.

◆ stack_

template<typename Impl >
Target** const v8::internal::ParserBase< Impl >::Target::stack_
private

Definition at line 409 of file parser-base.h.

◆ statement_

template<typename Impl >
const BreakableStatementT v8::internal::ParserBase< Impl >::Target::statement_
private

Definition at line 410 of file parser-base.h.

◆ target_type_

template<typename Impl >
const TargetType v8::internal::ParserBase< Impl >::Target::target_type_
private

Definition at line 413 of file parser-base.h.


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