#include <ast.h>
|
| FunctionLiteral (Zone *zone, const AstConsString *name, AstValueFactory *ast_value_factory, DeclarationScope *scope, const ScopedPtrList< Statement > &body, int expected_property_count, int parameter_count, int function_length, FunctionSyntaxKind function_syntax_kind, ParameterFlag has_duplicate_parameters, EagerCompileHint eager_compile_hint, int position, bool has_braces, int function_literal_id, ProducedPreparseData *produced_preparse_data=nullptr) |
|
Definition at line 2298 of file ast.h.
◆ FunctionSyntaxKindBits
Initial value:
IsParenthesizedField::Next< T, size > NextBitField
Definition at line 2472 of file ast.h.
◆ HasBracesField
◆ HasDuplicateParameters
◆ HasStaticPrivateMethodsOrAccessorsField
Initial value:
BitField< T2, kShift+kSize, size2, U > Next
Definition at line 2478 of file ast.h.
◆ Pretenure
◆ RequiresInstanceMembersInitializer
Initial value:
Definition at line 2476 of file ast.h.
◆ ShouldParallelCompileField
◆ EagerCompileHint
Enumerator |
---|
kShouldEagerCompile | |
kShouldLazyCompile | |
Definition at line 2304 of file ast.h.
◆ ParameterFlag
Enumerator |
---|
kNoDuplicateParameters | |
kHasDuplicateParameters | |
Definition at line 2300 of file ast.h.
◆ FunctionLiteral()
v8::internal::FunctionLiteral::FunctionLiteral |
( |
Zone * | zone, |
|
|
const AstConsString * | name, |
|
|
AstValueFactory * | ast_value_factory, |
|
|
DeclarationScope * | scope, |
|
|
const ScopedPtrList< Statement > & | body, |
|
|
int | expected_property_count, |
|
|
int | parameter_count, |
|
|
int | function_length, |
|
|
FunctionSyntaxKind | function_syntax_kind, |
|
|
ParameterFlag | has_duplicate_parameters, |
|
|
EagerCompileHint | eager_compile_hint, |
|
|
int | position, |
|
|
bool | has_braces, |
|
|
int | function_literal_id, |
|
|
ProducedPreparseData * | produced_preparse_data = nullptr ) |
|
inlineprivate |
◆ add_expected_properties()
void v8::internal::FunctionLiteral::add_expected_properties |
( |
int | number_properties | ) |
|
|
inline |
◆ AllowsLazyCompilation()
bool v8::internal::FunctionLiteral::AllowsLazyCompilation |
( |
| ) |
|
◆ body()
◆ CanSuspend()
bool v8::internal::FunctionLiteral::CanSuspend |
( |
| ) |
|
|
inline |
◆ class_scope_has_private_brand()
bool v8::internal::FunctionLiteral::class_scope_has_private_brand |
( |
| ) |
const |
◆ end_position()
int v8::internal::FunctionLiteral::end_position |
( |
| ) |
const |
◆ expected_property_count()
int v8::internal::FunctionLiteral::expected_property_count |
( |
| ) |
|
|
inline |
◆ function_length()
int v8::internal::FunctionLiteral::function_length |
( |
| ) |
|
|
inline |
◆ function_literal_id()
int v8::internal::FunctionLiteral::function_literal_id |
( |
| ) |
const |
|
inline |
◆ function_token_position()
int v8::internal::FunctionLiteral::function_token_position |
( |
| ) |
const |
|
inline |
◆ GetDebugName()
std::unique_ptr< char[]> v8::internal::FunctionLiteral::GetDebugName |
( |
| ) |
const |
◆ GetInferredName() [1/2]
◆ GetInferredName() [2/2]
◆ GetName()
template<typename IsolateT >
MaybeHandle< String > v8::internal::FunctionLiteral::GetName |
( |
IsolateT * | isolate | ) |
const |
|
inline |
◆ has_duplicate_parameters()
bool v8::internal::FunctionLiteral::has_duplicate_parameters |
( |
| ) |
const |
|
inline |
◆ has_shared_name()
bool v8::internal::FunctionLiteral::has_shared_name |
( |
| ) |
const |
|
inline |
◆ has_static_private_methods_or_accessors()
bool v8::internal::FunctionLiteral::has_static_private_methods_or_accessors |
( |
| ) |
const |
|
inline |
◆ is_anonymous_expression()
bool v8::internal::FunctionLiteral::is_anonymous_expression |
( |
| ) |
const |
|
inline |
◆ is_toplevel()
bool v8::internal::FunctionLiteral::is_toplevel |
( |
| ) |
const |
|
inline |
◆ IsAnonymousFunctionDefinition()
bool v8::internal::FunctionLiteral::IsAnonymousFunctionDefinition |
( |
| ) |
const |
|
inline |
◆ kind()
◆ language_mode()
LanguageMode v8::internal::FunctionLiteral::language_mode |
( |
| ) |
const |
◆ parameter_count()
int v8::internal::FunctionLiteral::parameter_count |
( |
| ) |
|
|
inline |
◆ pretenure()
bool v8::internal::FunctionLiteral::pretenure |
( |
| ) |
const |
|
inline |
◆ private_name_lookup_skips_outer_class()
bool v8::internal::FunctionLiteral::private_name_lookup_skips_outer_class |
( |
| ) |
const |
◆ produced_preparse_data()
◆ raw_inferred_name()
const AstConsString * v8::internal::FunctionLiteral::raw_inferred_name |
( |
| ) |
|
|
inline |
◆ raw_name()
const AstConsString * v8::internal::FunctionLiteral::raw_name |
( |
| ) |
const |
|
inline |
◆ requires_instance_members_initializer()
bool v8::internal::FunctionLiteral::requires_instance_members_initializer |
( |
| ) |
const |
|
inline |
◆ return_position()
int v8::internal::FunctionLiteral::return_position |
( |
| ) |
|
|
inline |
◆ scope()
◆ set_class_scope_has_private_brand()
void v8::internal::FunctionLiteral::set_class_scope_has_private_brand |
( |
bool | value | ) |
|
◆ set_function_literal_id()
void v8::internal::FunctionLiteral::set_function_literal_id |
( |
int | function_literal_id | ) |
|
|
inline |
◆ set_function_token_position()
void v8::internal::FunctionLiteral::set_function_token_position |
( |
int | pos | ) |
|
|
inline |
◆ set_has_static_private_methods_or_accessors()
void v8::internal::FunctionLiteral::set_has_static_private_methods_or_accessors |
( |
bool | value | ) |
|
|
inline |
◆ set_pretenure()
void v8::internal::FunctionLiteral::set_pretenure |
( |
| ) |
|
|
inline |
◆ set_raw_inferred_name()
void v8::internal::FunctionLiteral::set_raw_inferred_name |
( |
AstConsString * | raw_inferred_name | ) |
|
◆ set_raw_name()
void v8::internal::FunctionLiteral::set_raw_name |
( |
const AstConsString * | name | ) |
|
|
inline |
◆ set_requires_instance_members_initializer()
void v8::internal::FunctionLiteral::set_requires_instance_members_initializer |
( |
bool | value | ) |
|
|
inline |
◆ set_shared_function_info()
◆ set_should_parallel_compile()
void v8::internal::FunctionLiteral::set_should_parallel_compile |
( |
| ) |
|
|
inline |
◆ set_suspend_count()
void v8::internal::FunctionLiteral::set_suspend_count |
( |
int | suspend_count | ) |
|
|
inline |
◆ SetShouldEagerCompile()
void v8::internal::FunctionLiteral::SetShouldEagerCompile |
( |
| ) |
|
◆ shared_function_info()
◆ should_parallel_compile()
bool v8::internal::FunctionLiteral::should_parallel_compile |
( |
| ) |
const |
|
inline |
◆ ShouldEagerCompile()
bool v8::internal::FunctionLiteral::ShouldEagerCompile |
( |
| ) |
const |
◆ start_position()
int v8::internal::FunctionLiteral::start_position |
( |
| ) |
const |
◆ suspend_count()
int v8::internal::FunctionLiteral::suspend_count |
( |
| ) |
|
|
inline |
◆ syntax_kind()
◆ AstNodeFactory
◆ body_
◆ expected_property_count_
int v8::internal::FunctionLiteral::expected_property_count_ |
|
private |
◆ function_length_
int v8::internal::FunctionLiteral::function_length_ |
|
private |
◆ function_literal_id_
int v8::internal::FunctionLiteral::function_literal_id_ |
|
private |
◆ function_token_position_
int v8::internal::FunctionLiteral::function_token_position_ |
|
private |
◆ parameter_count_
int v8::internal::FunctionLiteral::parameter_count_ |
|
private |
◆ produced_preparse_data_
◆ raw_inferred_name_
◆ raw_name_
◆ scope_
◆ shared_function_info_
◆ suspend_count_
int v8::internal::FunctionLiteral::suspend_count_ |
|
private |
◆ Zone
friend v8::internal::FunctionLiteral::Zone |
|
private |
The documentation for this class was generated from the following files: