|
enum | FunctionType {
kAnonymousExpression,
kNamedExpression,
kDeclaration,
kAccessorOrMethod,
kWrapped
} |
|
enum | IdType { kIdTypeInvalid = -1,
kIdTypeTopLevel = 0
} |
|
enum | ParameterFlag : uint8_t { kNoDuplicateParameters,
kHasDuplicateParameters
} |
|
enum | EagerCompileHint : uint8_t { kShouldEagerCompile,
kShouldLazyCompile
} |
|
enum | Context { kUninitialized,
kEffect,
kValue,
kTest
} |
|
enum | NodeType : uint8_t { AST_NODE_LIST =(DECLARE_TYPE_ENUM)
} |
|
|
MaybeHandle< String > | name () const |
|
Handle< String > | name (Isolate *isolate) const |
|
bool | has_shared_name () const |
|
const AstConsString * | raw_name () const |
|
void | set_raw_name (const AstConsString *name) |
|
DeclarationScope * | scope () const |
|
ZonePtrList< Statement > * | body () |
|
void | set_function_token_position (int pos) |
|
int | function_token_position () const |
|
int | start_position () const |
|
int | end_position () const |
|
bool | is_declaration () const |
|
bool | is_named_expression () const |
|
bool | is_anonymous_expression () const |
|
void | mark_as_iife () |
|
bool | is_iife () const |
|
bool | is_toplevel () const |
|
bool | is_wrapped () const |
|
LanguageMode | language_mode () const |
|
int | expected_property_count () |
|
int | parameter_count () |
|
int | function_length () |
|
bool | AllowsLazyCompilation () |
|
bool | CanSuspend () |
|
std::unique_ptr< char[]> | GetDebugName () const |
|
Handle< String > | inferred_name () const |
|
const AstConsString * | raw_inferred_name () |
|
void | set_inferred_name (Handle< String > inferred_name) |
|
void | set_raw_inferred_name (const AstConsString *raw_inferred_name) |
|
bool | pretenure () const |
|
void | set_pretenure () |
|
bool | has_duplicate_parameters () const |
|
bool | ShouldEagerCompile () const |
|
V8_EXPORT_PRIVATE void | SetShouldEagerCompile () |
|
FunctionType | function_type () const |
|
FunctionKind | kind () const |
|
bool | dont_optimize () |
|
BailoutReason | dont_optimize_reason () |
|
void | set_dont_optimize_reason (BailoutReason reason) |
|
bool | IsAnonymousFunctionDefinition () const |
|
int | suspend_count () |
|
void | set_suspend_count (int suspend_count) |
|
int | return_position () |
|
int | function_literal_id () const |
|
void | set_function_literal_id (int function_literal_id) |
|
void | set_requires_instance_members_initializer (bool value) |
|
bool | requires_instance_members_initializer () const |
|
ProducedPreParsedScopeData * | produced_preparsed_scope_data () const |
|
bool | IsValidReferenceExpression () const |
|
bool | ToBooleanIsTrue () const |
|
bool | ToBooleanIsFalse () const |
|
bool | IsPropertyName () const |
|
bool | IsAnonymousFunctionDefinition () const |
|
bool | IsConciseMethodDefinition () const |
|
bool | IsAccessorFunctionDefinition () const |
|
bool | IsSmiLiteral () const |
|
bool | IsNumberLiteral () const |
|
bool | IsStringLiteral () const |
|
bool | IsNullLiteral () const |
|
bool | IsTheHoleLiteral () const |
|
bool | IsUndefinedLiteral () const |
|
bool | IsCompileTimeValue () |
|
bool | IsPattern () |
|
bool | is_parenthesized () const |
|
void | mark_parenthesized () |
|
void * | operator new (size_t size, Zone *zone) |
|
NodeType | node_type () const |
|
int | position () const |
|
BreakableStatement * | AsBreakableStatement () |
|
IterationStatement * | AsIterationStatement () |
|
MaterializedLiteral * | AsMaterializedLiteral () |
|
void * | operator new (size_t size, Zone *zone) |
|
void | operator delete (void *, size_t) |
|
void | operator delete (void *pointer, Zone *zone) |
|
Definition at line 2330 of file ast.h.