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

#include <parser-base.h>

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

Public Member Functions

 ClassInfo (ParserBase *parser)
 
bool has_static_elements () const
 
bool has_instance_members () const
 
DeclarationScopeEnsureStaticElementsScope (ParserBase *parser, int beg_pos, int info_id)
 
DeclarationScopeEnsureInstanceMembersScope (ParserBase *parser, int beg_pos, int info_id)
 

Public Attributes

ExpressionT extends
 
ClassPropertyListT public_members
 
ClassPropertyListT private_members
 
ClassStaticElementListT static_elements
 
ClassPropertyListT instance_fields
 
FunctionLiteralT constructor
 
DeclarationScopestatic_elements_scope = nullptr
 
DeclarationScopeinstance_members_scope = nullptr
 
Variablehome_object_variable = nullptr
 
Variablestatic_home_object_variable = nullptr
 
int autoaccessor_count = 0
 
int static_elements_function_id = -1
 
int instance_members_function_id = -1
 
int computed_field_count = 0
 
bool has_seen_constructor = false
 
bool has_static_computed_names: 1 = false
 
bool has_static_private_methods_or_accessors: 1 = false
 
bool has_static_blocks: 1 = false
 
bool requires_brand: 1 = false
 
bool is_anonymous: 1 = false
 

Detailed Description

template<typename Impl>
struct v8::internal::ParserBase< Impl >::ClassInfo

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

Constructor & Destructor Documentation

◆ ClassInfo()

template<typename Impl >
v8::internal::ParserBase< Impl >::ClassInfo::ClassInfo ( ParserBase * parser)
inlineexplicit

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

Member Function Documentation

◆ EnsureInstanceMembersScope()

template<typename Impl >
DeclarationScope * v8::internal::ParserBase< Impl >::ClassInfo::EnsureInstanceMembersScope ( ParserBase * parser,
int beg_pos,
int info_id )
inline

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ EnsureStaticElementsScope()

template<typename Impl >
DeclarationScope * v8::internal::ParserBase< Impl >::ClassInfo::EnsureStaticElementsScope ( ParserBase * parser,
int beg_pos,
int info_id )
inline

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ has_instance_members()

template<typename Impl >
bool v8::internal::ParserBase< Impl >::ClassInfo::has_instance_members ( ) const
inline

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

Here is the caller graph for this function:

◆ has_static_elements()

template<typename Impl >
bool v8::internal::ParserBase< Impl >::ClassInfo::has_static_elements ( ) const
inline

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

Here is the caller graph for this function:

Member Data Documentation

◆ autoaccessor_count

template<typename Impl >
int v8::internal::ParserBase< Impl >::ClassInfo::autoaccessor_count = 0

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

◆ computed_field_count

template<typename Impl >
int v8::internal::ParserBase< Impl >::ClassInfo::computed_field_count = 0

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

◆ constructor

template<typename Impl >
FunctionLiteralT v8::internal::ParserBase< Impl >::ClassInfo::constructor

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

◆ extends

template<typename Impl >
ExpressionT v8::internal::ParserBase< Impl >::ClassInfo::extends

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

◆ has_seen_constructor

template<typename Impl >
bool v8::internal::ParserBase< Impl >::ClassInfo::has_seen_constructor = false

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

◆ has_static_blocks

template<typename Impl >
bool v8::internal::ParserBase< Impl >::ClassInfo::has_static_blocks

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

◆ has_static_computed_names

template<typename Impl >
bool v8::internal::ParserBase< Impl >::ClassInfo::has_static_computed_names

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

◆ has_static_private_methods_or_accessors

template<typename Impl >
bool v8::internal::ParserBase< Impl >::ClassInfo::has_static_private_methods_or_accessors

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

◆ home_object_variable

template<typename Impl >
Variable* v8::internal::ParserBase< Impl >::ClassInfo::home_object_variable = nullptr

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

◆ instance_fields

template<typename Impl >
ClassPropertyListT v8::internal::ParserBase< Impl >::ClassInfo::instance_fields

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

◆ instance_members_function_id

template<typename Impl >
int v8::internal::ParserBase< Impl >::ClassInfo::instance_members_function_id = -1

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

◆ instance_members_scope

template<typename Impl >
DeclarationScope* v8::internal::ParserBase< Impl >::ClassInfo::instance_members_scope = nullptr

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

◆ is_anonymous

template<typename Impl >
bool v8::internal::ParserBase< Impl >::ClassInfo::is_anonymous

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

◆ private_members

template<typename Impl >
ClassPropertyListT v8::internal::ParserBase< Impl >::ClassInfo::private_members

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

◆ public_members

template<typename Impl >
ClassPropertyListT v8::internal::ParserBase< Impl >::ClassInfo::public_members

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

◆ requires_brand

template<typename Impl >
bool v8::internal::ParserBase< Impl >::ClassInfo::requires_brand

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

◆ static_elements

template<typename Impl >
ClassStaticElementListT v8::internal::ParserBase< Impl >::ClassInfo::static_elements

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

◆ static_elements_function_id

template<typename Impl >
int v8::internal::ParserBase< Impl >::ClassInfo::static_elements_function_id = -1

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

◆ static_elements_scope

template<typename Impl >
DeclarationScope* v8::internal::ParserBase< Impl >::ClassInfo::static_elements_scope = nullptr

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

◆ static_home_object_variable

template<typename Impl >
Variable* v8::internal::ParserBase< Impl >::ClassInfo::static_home_object_variable = nullptr

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


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