v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::AstNodeFactory Class Referencefinal

#include <ast.h>

Collaboration diagram for v8::internal::AstNodeFactory:

Public Member Functions

 AstNodeFactory (AstValueFactory *ast_value_factory, Zone *zone)
 
AstNodeFactoryast_node_factory ()
 
AstValueFactoryast_value_factory () const
 
VariableDeclarationNewVariableDeclaration (int pos)
 
NestedVariableDeclarationNewNestedVariableDeclaration (Scope *scope, int pos)
 
FunctionDeclarationNewFunctionDeclaration (FunctionLiteral *fun, int pos)
 
BlockNewBlock (int capacity, bool ignore_completion_value)
 
BlockNewBlock (bool ignore_completion_value, bool is_breakable)
 
BlockNewBlock (bool ignore_completion_value, const ScopedPtrList< Statement > &statements)
 
BlockNewParameterInitializationBlock (const ScopedPtrList< Statement > &statements)
 
SwitchStatementNewSwitchStatement (Expression *tag, int pos)
 
ForEachStatementNewForEachStatement (ForEachStatement::VisitMode visit_mode, int pos)
 
ForOfStatementNewForOfStatement (int pos, IteratorType type)
 
ExpressionStatementNewExpressionStatement (Expression *expression, int pos)
 
ContinueStatementNewContinueStatement (IterationStatement *target, int pos)
 
BreakStatementNewBreakStatement (BreakableStatement *target, int pos)
 
ReturnStatementNewReturnStatement (Expression *expression, int pos, int end_position=ReturnStatement::kFunctionLiteralReturnPosition)
 
ReturnStatementNewAsyncReturnStatement (Expression *expression, int pos, int end_position=ReturnStatement::kFunctionLiteralReturnPosition)
 
ReturnStatementNewSyntheticAsyncReturnStatement (Expression *expression, int pos, int end_position=ReturnStatement::kFunctionLiteralReturnPosition)
 
WithStatementNewWithStatement (Scope *scope, Expression *expression, Statement *statement, int pos)
 
IfStatementNewIfStatement (Expression *condition, Statement *then_statement, Statement *else_statement, int pos)
 
TryCatchStatementNewTryCatchStatement (Block *try_block, Scope *scope, Block *catch_block, int pos)
 
TryCatchStatementNewTryCatchStatementForReThrow (Block *try_block, Scope *scope, Block *catch_block, int pos)
 
TryCatchStatementNewTryCatchStatementForAsyncAwait (Block *try_block, Scope *scope, Block *catch_block, int pos)
 
TryCatchStatementNewTryCatchStatementForReplAsyncAwait (Block *try_block, Scope *scope, Block *catch_block, int pos)
 
TryFinallyStatementNewTryFinallyStatement (Block *try_block, Block *finally_block, int pos)
 
DebuggerStatementNewDebuggerStatement (int pos)
 
class EmptyStatementEmptyStatement ()
 
class ThisExpressionThisExpression ()
 
class ThisExpressionNewThisExpression (int pos)
 
class FailureExpressionFailureExpression ()
 
SloppyBlockFunctionStatementNewSloppyBlockFunctionStatement (int pos, Variable *var, Token::Value init)
 
CaseClauseNewCaseClause (Expression *label, const ScopedPtrList< Statement > &statements)
 
LiteralNewStringLiteral (const AstRawString *string, int pos)
 
LiteralNewConsStringLiteral (AstConsString *string, int pos)
 
LiteralNewNumberLiteral (double number, int pos)
 
LiteralNewSmiLiteral (int number, int pos)
 
LiteralNewBigIntLiteral (AstBigInt bigint, int pos)
 
LiteralNewBooleanLiteral (bool b, int pos)
 
LiteralNewNullLiteral (int pos)
 
LiteralNewUndefinedLiteral (int pos)
 
LiteralNewTheHoleLiteral ()
 
ObjectLiteralNewObjectLiteral (const ScopedPtrList< ObjectLiteral::Property > &properties, uint32_t boilerplate_properties, int pos, bool has_rest_property, Variable *home_object=nullptr)
 
ObjectLiteral::PropertyNewObjectLiteralProperty (Expression *key, Expression *value, ObjectLiteralProperty::Kind kind, bool is_computed_name)
 
ObjectLiteral::PropertyNewObjectLiteralProperty (Expression *key, Expression *value, bool is_computed_name)
 
RegExpLiteralNewRegExpLiteral (const AstRawString *pattern, int flags, int pos)
 
ArrayLiteralNewArrayLiteral (const ScopedPtrList< Expression > &values, int pos)
 
ArrayLiteralNewArrayLiteral (const ScopedPtrList< Expression > &values, int first_spread_index, int pos)
 
VariableProxyNewVariableProxy (Variable *var, int start_position=kNoSourcePosition)
 
VariableProxyNewVariableProxy (const AstRawString *name, VariableKind variable_kind, int start_position=kNoSourcePosition)
 
VariableProxyCopyVariableProxy (VariableProxy *proxy)
 
VariableCopyVariable (Variable *variable)
 
OptionalChainNewOptionalChain (Expression *expression)
 
PropertyNewProperty (Expression *obj, Expression *key, int pos, bool optional_chain=false)
 
CallNewCall (Expression *expression, const ScopedPtrList< Expression > &arguments, int pos, bool has_spread, int eval_scope_info_index=0, bool optional_chain=false)
 
SuperCallForwardArgsNewSuperCallForwardArgs (SuperCallReference *expression, int pos)
 
CallNewTaggedTemplate (Expression *expression, const ScopedPtrList< Expression > &arguments, int pos)
 
CallNewNewCallNew (Expression *expression, const ScopedPtrList< Expression > &arguments, int pos, bool has_spread)
 
CallRuntimeNewCallRuntime (Runtime::FunctionId id, const ScopedPtrList< Expression > &arguments, int pos)
 
CallRuntimeNewCallRuntime (const Runtime::Function *function, const ScopedPtrList< Expression > &arguments, int pos)
 
UnaryOperationNewUnaryOperation (Token::Value op, Expression *expression, int pos)
 
BinaryOperationNewBinaryOperation (Token::Value op, Expression *left, Expression *right, int pos)
 
NaryOperationNewNaryOperation (Token::Value op, Expression *first, size_t initial_subsequent_size)
 
CountOperationNewCountOperation (Token::Value op, bool is_prefix, Expression *expr, int pos)
 
CompareOperationNewCompareOperation (Token::Value op, Expression *left, Expression *right, int pos)
 
SpreadNewSpread (Expression *expression, int pos, int expr_pos)
 
ConditionalChainNewConditionalChain (size_t initial_size, int pos)
 
ConditionalNewConditional (Expression *condition, Expression *then_expression, Expression *else_expression, int position)
 
AssignmentNewAssignment (Token::Value op, Expression *target, Expression *value, int pos)
 
SuspendNewYield (Expression *expression, int pos, Suspend::OnAbruptResume on_abrupt_resume)
 
YieldStarNewYieldStar (Expression *expression, int pos)
 
AwaitNewAwait (Expression *expression, int pos)
 
ThrowNewThrow (Expression *exception, int pos)
 
FunctionLiteralNewFunctionLiteral (const AstRawString *name, DeclarationScope *scope, const ScopedPtrList< Statement > &body, int expected_property_count, int parameter_count, int function_length, FunctionLiteral::ParameterFlag has_duplicate_parameters, FunctionSyntaxKind function_syntax_kind, FunctionLiteral::EagerCompileHint eager_compile_hint, int position, bool has_braces, int function_literal_id, ProducedPreparseData *produced_preparse_data=nullptr)
 
FunctionLiteralNewScriptOrEvalFunctionLiteral (DeclarationScope *scope, const ScopedPtrList< Statement > &body, int expected_property_count, int parameter_count)
 
AutoAccessorInfoNewAutoAccessorInfo (FunctionLiteral *generated_getter, FunctionLiteral *generated_setter, VariableProxy *accessor_storage_name_proxy)
 
ClassLiteral::PropertyNewClassLiteralProperty (Expression *key, Expression *value, ClassLiteralProperty::Kind kind, bool is_static, bool is_computed_name, bool is_private)
 
ClassLiteral::PropertyNewClassLiteralProperty (Expression *key, Expression *value, AutoAccessorInfo *auto_accessor_info, bool is_static, bool is_computed_name, bool is_private)
 
ClassLiteral::StaticElementNewClassLiteralStaticElement (ClassLiteral::Property *property)
 
ClassLiteral::StaticElementNewClassLiteralStaticElement (Block *static_block)
 
ClassLiteralNewClassLiteral (ClassScope *scope, Expression *extends, FunctionLiteral *constructor, ZonePtrList< ClassLiteral::Property > *public_members, ZonePtrList< ClassLiteral::Property > *private_members, FunctionLiteral *static_initializer, FunctionLiteral *instance_members_initializer_function, int start_position, int end_position, bool has_static_computed_names, bool is_anonymous, Variable *home_object, Variable *static_home_object)
 
NativeFunctionLiteralNewNativeFunctionLiteral (const AstRawString *name, v8::Extension *extension, int pos)
 
SuperPropertyReferenceNewSuperPropertyReference (VariableProxy *home_object_var, int pos)
 
SuperCallReferenceNewSuperCallReference (VariableProxy *new_target_var, VariableProxy *this_function_var, int pos)
 
EmptyParenthesesNewEmptyParentheses (int pos)
 
GetTemplateObjectNewGetTemplateObject (const ZonePtrList< const AstRawString > *cooked_strings, const ZonePtrList< const AstRawString > *raw_strings, int pos)
 
TemplateLiteralNewTemplateLiteral (const ZonePtrList< const AstRawString > *string_parts, const ZonePtrList< Expression > *substitutions, int pos)
 
ImportCallExpressionNewImportCallExpression (Expression *specifier, ModuleImportPhase phase, int pos)
 
ImportCallExpressionNewImportCallExpression (Expression *specifier, ModuleImportPhase phase, Expression *import_options, int pos)
 
InitializeClassMembersStatementNewInitializeClassMembersStatement (ZonePtrList< ClassLiteral::Property > *args, int pos)
 
InitializeClassStaticElementsStatementNewInitializeClassStaticElementsStatement (ZonePtrList< ClassLiteral::StaticElement > *args, int pos)
 
AutoAccessorGetterBodyNewAutoAccessorGetterBody (VariableProxy *name_proxy, int pos)
 
AutoAccessorSetterBodyNewAutoAccessorSetterBody (VariableProxy *name_proxy, int pos)
 
Zonezone () const
 

Private Attributes

Zonezone_
 
AstValueFactoryast_value_factory_
 
class EmptyStatementempty_statement_
 
class ThisExpressionthis_expression_
 
class FailureExpressionfailure_expression_
 

Detailed Description

Definition at line 3028 of file ast.h.

Constructor & Destructor Documentation

◆ AstNodeFactory()

v8::internal::AstNodeFactory::AstNodeFactory ( AstValueFactory * ast_value_factory,
Zone * zone )
inline

Definition at line 3030 of file ast.h.

Member Function Documentation

◆ ast_node_factory()

AstNodeFactory * v8::internal::AstNodeFactory::ast_node_factory ( )
inline

Definition at line 3037 of file ast.h.

◆ ast_value_factory()

AstValueFactory * v8::internal::AstNodeFactory::ast_value_factory ( ) const
inline

Definition at line 3038 of file ast.h.

Here is the caller graph for this function:

◆ CopyVariable()

Variable * v8::internal::AstNodeFactory::CopyVariable ( Variable * variable)
inline

Definition at line 3316 of file ast.h.

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

◆ CopyVariableProxy()

VariableProxy * v8::internal::AstNodeFactory::CopyVariableProxy ( VariableProxy * proxy)
inline

Definition at line 3312 of file ast.h.

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

◆ EmptyStatement()

class EmptyStatement * v8::internal::AstNodeFactory::EmptyStatement ( )
inline

Definition at line 3191 of file ast.h.

Here is the caller graph for this function:

◆ FailureExpression()

class FailureExpression * v8::internal::AstNodeFactory::FailureExpression ( )
inline

Definition at line 3211 of file ast.h.

◆ NewArrayLiteral() [1/2]

ArrayLiteral * v8::internal::AstNodeFactory::NewArrayLiteral ( const ScopedPtrList< Expression > & values,
int first_spread_index,
int pos )
inline

Definition at line 3294 of file ast.h.

Here is the call graph for this function:

◆ NewArrayLiteral() [2/2]

ArrayLiteral * v8::internal::AstNodeFactory::NewArrayLiteral ( const ScopedPtrList< Expression > & values,
int pos )
inline

Definition at line 3289 of file ast.h.

Here is the call graph for this function:

◆ NewAssignment()

Assignment * v8::internal::AstNodeFactory::NewAssignment ( Token::Value op,
Expression * target,
Expression * value,
int pos )
inline

Definition at line 3416 of file ast.h.

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

◆ NewAsyncReturnStatement()

ReturnStatement * v8::internal::AstNodeFactory::NewAsyncReturnStatement ( Expression * expression,
int pos,
int end_position = ReturnStatement::kFunctionLiteralReturnPosition )
inline

Definition at line 3125 of file ast.h.

Here is the call graph for this function:

◆ NewAutoAccessorGetterBody()

AutoAccessorGetterBody * v8::internal::AstNodeFactory::NewAutoAccessorGetterBody ( VariableProxy * name_proxy,
int pos )
inline

Definition at line 3595 of file ast.h.

Here is the call graph for this function:

◆ NewAutoAccessorInfo()

AutoAccessorInfo * v8::internal::AstNodeFactory::NewAutoAccessorInfo ( FunctionLiteral * generated_getter,
FunctionLiteral * generated_setter,
VariableProxy * accessor_storage_name_proxy )
inline

Definition at line 3490 of file ast.h.

Here is the call graph for this function:

◆ NewAutoAccessorSetterBody()

AutoAccessorSetterBody * v8::internal::AstNodeFactory::NewAutoAccessorSetterBody ( VariableProxy * name_proxy,
int pos )
inline

Definition at line 3600 of file ast.h.

Here is the call graph for this function:

◆ NewAwait()

Await * v8::internal::AstNodeFactory::NewAwait ( Expression * expression,
int pos )
inline

Definition at line 3449 of file ast.h.

Here is the call graph for this function:

◆ NewBigIntLiteral()

Literal * v8::internal::AstNodeFactory::NewBigIntLiteral ( AstBigInt bigint,
int pos )
inline

Definition at line 3242 of file ast.h.

Here is the call graph for this function:

◆ NewBinaryOperation()

BinaryOperation * v8::internal::AstNodeFactory::NewBinaryOperation ( Token::Value op,
Expression * left,
Expression * right,
int pos )
inline

Definition at line 3374 of file ast.h.

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

◆ NewBlock() [1/3]

Block * v8::internal::AstNodeFactory::NewBlock ( bool ignore_completion_value,
bool is_breakable )
inline

Definition at line 3058 of file ast.h.

Here is the call graph for this function:

◆ NewBlock() [2/3]

Block * v8::internal::AstNodeFactory::NewBlock ( bool ignore_completion_value,
const ScopedPtrList< Statement > & statements )
inline

Definition at line 3062 of file ast.h.

Here is the call graph for this function:

◆ NewBlock() [3/3]

Block * v8::internal::AstNodeFactory::NewBlock ( int capacity,
bool ignore_completion_value )
inline

Definition at line 3053 of file ast.h.

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

◆ NewBooleanLiteral()

Literal * v8::internal::AstNodeFactory::NewBooleanLiteral ( bool b,
int pos )
inline

Definition at line 3246 of file ast.h.

Here is the call graph for this function:

◆ NewBreakStatement()

BreakStatement * v8::internal::AstNodeFactory::NewBreakStatement ( BreakableStatement * target,
int pos )
inline

Definition at line 3114 of file ast.h.

Here is the call graph for this function:

◆ NewCall()

Call * v8::internal::AstNodeFactory::NewCall ( Expression * expression,
const ScopedPtrList< Expression > & arguments,
int pos,
bool has_spread,
int eval_scope_info_index = 0,
bool optional_chain = false )
inline

Definition at line 3329 of file ast.h.

Here is the call graph for this function:

◆ NewCallNew()

CallNew * v8::internal::AstNodeFactory::NewCallNew ( Expression * expression,
const ScopedPtrList< Expression > & arguments,
int pos,
bool has_spread )
inline

Definition at line 3349 of file ast.h.

Here is the call graph for this function:

◆ NewCallRuntime() [1/2]

CallRuntime * v8::internal::AstNodeFactory::NewCallRuntime ( const Runtime::Function * function,
const ScopedPtrList< Expression > & arguments,
int pos )
inline

Definition at line 3362 of file ast.h.

Here is the call graph for this function:

◆ NewCallRuntime() [2/2]

CallRuntime * v8::internal::AstNodeFactory::NewCallRuntime ( Runtime::FunctionId id,
const ScopedPtrList< Expression > & arguments,
int pos )
inline

Definition at line 3355 of file ast.h.

Here is the call graph for this function:

◆ NewCaseClause()

CaseClause * v8::internal::AstNodeFactory::NewCaseClause ( Expression * label,
const ScopedPtrList< Statement > & statements )
inline

Definition at line 3221 of file ast.h.

Here is the call graph for this function:

◆ NewClassLiteral()

ClassLiteral * v8::internal::AstNodeFactory::NewClassLiteral ( ClassScope * scope,
Expression * extends,
FunctionLiteral * constructor,
ZonePtrList< ClassLiteral::Property > * public_members,
ZonePtrList< ClassLiteral::Property > * private_members,
FunctionLiteral * static_initializer,
FunctionLiteral * instance_members_initializer_function,
int start_position,
int end_position,
bool has_static_computed_names,
bool is_anonymous,
Variable * home_object,
Variable * static_home_object )
inline

Definition at line 3521 of file ast.h.

Here is the call graph for this function:

◆ NewClassLiteralProperty() [1/2]

ClassLiteral::Property * v8::internal::AstNodeFactory::NewClassLiteralProperty ( Expression * key,
Expression * value,
AutoAccessorInfo * auto_accessor_info,
bool is_static,
bool is_computed_name,
bool is_private )
inline

Definition at line 3503 of file ast.h.

Here is the call graph for this function:

◆ NewClassLiteralProperty() [2/2]

ClassLiteral::Property * v8::internal::AstNodeFactory::NewClassLiteralProperty ( Expression * key,
Expression * value,
ClassLiteralProperty::Kind kind,
bool is_static,
bool is_computed_name,
bool is_private )
inline

Definition at line 3497 of file ast.h.

Here is the call graph for this function:

◆ NewClassLiteralStaticElement() [1/2]

ClassLiteral::StaticElement * v8::internal::AstNodeFactory::NewClassLiteralStaticElement ( Block * static_block)
inline

Definition at line 3516 of file ast.h.

Here is the call graph for this function:

◆ NewClassLiteralStaticElement() [2/2]

ClassLiteral::StaticElement * v8::internal::AstNodeFactory::NewClassLiteralStaticElement ( ClassLiteral::Property * property)
inline

Definition at line 3511 of file ast.h.

Here is the call graph for this function:

◆ NewCompareOperation()

CompareOperation * v8::internal::AstNodeFactory::NewCompareOperation ( Token::Value op,
Expression * left,
Expression * right,
int pos )
inline

Definition at line 3393 of file ast.h.

Here is the call graph for this function:

◆ NewConditional()

Conditional * v8::internal::AstNodeFactory::NewConditional ( Expression * condition,
Expression * then_expression,
Expression * else_expression,
int position )
inline

Definition at line 3408 of file ast.h.

Here is the call graph for this function:

◆ NewConditionalChain()

ConditionalChain * v8::internal::AstNodeFactory::NewConditionalChain ( size_t initial_size,
int pos )
inline

Definition at line 3404 of file ast.h.

Here is the call graph for this function:

◆ NewConsStringLiteral()

Literal * v8::internal::AstNodeFactory::NewConsStringLiteral ( AstConsString * string,
int pos )
inline

Definition at line 3231 of file ast.h.

Here is the call graph for this function:

◆ NewContinueStatement()

ContinueStatement * v8::internal::AstNodeFactory::NewContinueStatement ( IterationStatement * target,
int pos )
inline

Definition at line 3110 of file ast.h.

Here is the call graph for this function:

◆ NewCountOperation()

CountOperation * v8::internal::AstNodeFactory::NewCountOperation ( Token::Value op,
bool is_prefix,
Expression * expr,
int pos )
inline

Definition at line 3386 of file ast.h.

Here is the call graph for this function:

◆ NewDebuggerStatement()

DebuggerStatement * v8::internal::AstNodeFactory::NewDebuggerStatement ( int pos)
inline

Definition at line 3187 of file ast.h.

Here is the call graph for this function:

◆ NewEmptyParentheses()

EmptyParentheses * v8::internal::AstNodeFactory::NewEmptyParentheses ( int pos)
inline

Definition at line 3554 of file ast.h.

Here is the call graph for this function:

◆ NewExpressionStatement()

ExpressionStatement * v8::internal::AstNodeFactory::NewExpressionStatement ( Expression * expression,
int pos )
inline

Definition at line 3106 of file ast.h.

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

◆ NewForEachStatement()

ForEachStatement * v8::internal::AstNodeFactory::NewForEachStatement ( ForEachStatement::VisitMode visit_mode,
int pos )
inline

Definition at line 3089 of file ast.h.

Here is the call graph for this function:

◆ NewForOfStatement()

ForOfStatement * v8::internal::AstNodeFactory::NewForOfStatement ( int pos,
IteratorType type )
inline

Definition at line 3102 of file ast.h.

Here is the call graph for this function:

◆ NewFunctionDeclaration()

FunctionDeclaration * v8::internal::AstNodeFactory::NewFunctionDeclaration ( FunctionLiteral * fun,
int pos )
inline

Definition at line 3049 of file ast.h.

Here is the call graph for this function:

◆ NewFunctionLiteral()

FunctionLiteral * v8::internal::AstNodeFactory::NewFunctionLiteral ( const AstRawString * name,
DeclarationScope * scope,
const ScopedPtrList< Statement > & body,
int expected_property_count,
int parameter_count,
int function_length,
FunctionLiteral::ParameterFlag has_duplicate_parameters,
FunctionSyntaxKind function_syntax_kind,
FunctionLiteral::EagerCompileHint eager_compile_hint,
int position,
bool has_braces,
int function_literal_id,
ProducedPreparseData * produced_preparse_data = nullptr )
inline

Definition at line 3458 of file ast.h.

Here is the call graph for this function:

◆ NewGetTemplateObject()

GetTemplateObject * v8::internal::AstNodeFactory::NewGetTemplateObject ( const ZonePtrList< const AstRawString > * cooked_strings,
const ZonePtrList< const AstRawString > * raw_strings,
int pos )
inline

Definition at line 3558 of file ast.h.

Here is the call graph for this function:

◆ NewIfStatement()

IfStatement * v8::internal::AstNodeFactory::NewIfStatement ( Expression * condition,
Statement * then_statement,
Statement * else_statement,
int pos )
inline

Definition at line 3146 of file ast.h.

Here is the call graph for this function:

◆ NewImportCallExpression() [1/2]

ImportCallExpression * v8::internal::AstNodeFactory::NewImportCallExpression ( Expression * specifier,
ModuleImportPhase phase,
Expression * import_options,
int pos )
inline

Definition at line 3576 of file ast.h.

Here is the call graph for this function:

◆ NewImportCallExpression() [2/2]

ImportCallExpression * v8::internal::AstNodeFactory::NewImportCallExpression ( Expression * specifier,
ModuleImportPhase phase,
int pos )
inline

Definition at line 3570 of file ast.h.

Here is the call graph for this function:

◆ NewInitializeClassMembersStatement()

InitializeClassMembersStatement * v8::internal::AstNodeFactory::NewInitializeClassMembersStatement ( ZonePtrList< ClassLiteral::Property > * args,
int pos )
inline

Definition at line 3584 of file ast.h.

Here is the call graph for this function:

◆ NewInitializeClassStaticElementsStatement()

InitializeClassStaticElementsStatement * v8::internal::AstNodeFactory::NewInitializeClassStaticElementsStatement ( ZonePtrList< ClassLiteral::StaticElement > * args,
int pos )
inline

Definition at line 3590 of file ast.h.

Here is the call graph for this function:

◆ NewNaryOperation()

NaryOperation * v8::internal::AstNodeFactory::NewNaryOperation ( Token::Value op,
Expression * first,
size_t initial_subsequent_size )
inline

Definition at line 3381 of file ast.h.

Here is the call graph for this function:

◆ NewNativeFunctionLiteral()

NativeFunctionLiteral * v8::internal::AstNodeFactory::NewNativeFunctionLiteral ( const AstRawString * name,
v8::Extension * extension,
int pos )
inline

Definition at line 3536 of file ast.h.

Here is the call graph for this function:

◆ NewNestedVariableDeclaration()

NestedVariableDeclaration * v8::internal::AstNodeFactory::NewNestedVariableDeclaration ( Scope * scope,
int pos )
inline

Definition at line 3044 of file ast.h.

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

◆ NewNullLiteral()

Literal * v8::internal::AstNodeFactory::NewNullLiteral ( int pos)
inline

Definition at line 3250 of file ast.h.

Here is the call graph for this function:

◆ NewNumberLiteral()

Literal * v8::internal::AstNodeFactory::NewNumberLiteral ( double number,
int pos )

Definition at line 1141 of file ast.cc.

Here is the call graph for this function:

◆ NewObjectLiteral()

ObjectLiteral * v8::internal::AstNodeFactory::NewObjectLiteral ( const ScopedPtrList< ObjectLiteral::Property > & properties,
uint32_t boilerplate_properties,
int pos,
bool has_rest_property,
Variable * home_object = nullptr )
inline

Definition at line 3262 of file ast.h.

Here is the call graph for this function:

◆ NewObjectLiteralProperty() [1/2]

ObjectLiteral::Property * v8::internal::AstNodeFactory::NewObjectLiteralProperty ( Expression * key,
Expression * value,
bool is_computed_name )
inline

Definition at line 3277 of file ast.h.

Here is the call graph for this function:

◆ NewObjectLiteralProperty() [2/2]

ObjectLiteral::Property * v8::internal::AstNodeFactory::NewObjectLiteralProperty ( Expression * key,
Expression * value,
ObjectLiteralProperty::Kind kind,
bool is_computed_name )
inline

Definition at line 3270 of file ast.h.

Here is the call graph for this function:

◆ NewOptionalChain()

OptionalChain * v8::internal::AstNodeFactory::NewOptionalChain ( Expression * expression)
inline

Definition at line 3320 of file ast.h.

Here is the call graph for this function:

◆ NewParameterInitializationBlock()

Block * v8::internal::AstNodeFactory::NewParameterInitializationBlock ( const ScopedPtrList< Statement > & statements)
inline

Definition at line 3069 of file ast.h.

Here is the call graph for this function:

◆ NewProperty()

Property * v8::internal::AstNodeFactory::NewProperty ( Expression * obj,
Expression * key,
int pos,
bool optional_chain = false )
inline

Definition at line 3324 of file ast.h.

Here is the call graph for this function:

◆ NewRegExpLiteral()

RegExpLiteral * v8::internal::AstNodeFactory::NewRegExpLiteral ( const AstRawString * pattern,
int flags,
int pos )
inline

Definition at line 3284 of file ast.h.

Here is the call graph for this function:

◆ NewReturnStatement()

ReturnStatement * v8::internal::AstNodeFactory::NewReturnStatement ( Expression * expression,
int pos,
int end_position = ReturnStatement::kFunctionLiteralReturnPosition )
inline

Definition at line 3118 of file ast.h.

Here is the call graph for this function:

◆ NewScriptOrEvalFunctionLiteral()

FunctionLiteral * v8::internal::AstNodeFactory::NewScriptOrEvalFunctionLiteral ( DeclarationScope * scope,
const ScopedPtrList< Statement > & body,
int expected_property_count,
int parameter_count )
inline

Definition at line 3478 of file ast.h.

Here is the call graph for this function:

◆ NewSloppyBlockFunctionStatement()

SloppyBlockFunctionStatement * v8::internal::AstNodeFactory::NewSloppyBlockFunctionStatement ( int pos,
Variable * var,
Token::Value init )
inline

Definition at line 3215 of file ast.h.

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

◆ NewSmiLiteral()

Literal * v8::internal::AstNodeFactory::NewSmiLiteral ( int number,
int pos )
inline

Definition at line 3238 of file ast.h.

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

◆ NewSpread()

Spread * v8::internal::AstNodeFactory::NewSpread ( Expression * expression,
int pos,
int expr_pos )
inline

Definition at line 3400 of file ast.h.

Here is the call graph for this function:

◆ NewStringLiteral()

Literal * v8::internal::AstNodeFactory::NewStringLiteral ( const AstRawString * string,
int pos )
inline

Definition at line 3226 of file ast.h.

Here is the call graph for this function:

◆ NewSuperCallForwardArgs()

SuperCallForwardArgs * v8::internal::AstNodeFactory::NewSuperCallForwardArgs ( SuperCallReference * expression,
int pos )
inline

Definition at line 3338 of file ast.h.

Here is the call graph for this function:

◆ NewSuperCallReference()

SuperCallReference * v8::internal::AstNodeFactory::NewSuperCallReference ( VariableProxy * new_target_var,
VariableProxy * this_function_var,
int pos )
inline

Definition at line 3547 of file ast.h.

Here is the call graph for this function:

◆ NewSuperPropertyReference()

SuperPropertyReference * v8::internal::AstNodeFactory::NewSuperPropertyReference ( VariableProxy * home_object_var,
int pos )
inline

Definition at line 3542 of file ast.h.

Here is the call graph for this function:

◆ NewSwitchStatement()

SwitchStatement * v8::internal::AstNodeFactory::NewSwitchStatement ( Expression * tag,
int pos )
inline

Definition at line 3085 of file ast.h.

Here is the call graph for this function:

◆ NewSyntheticAsyncReturnStatement()

ReturnStatement * v8::internal::AstNodeFactory::NewSyntheticAsyncReturnStatement ( Expression * expression,
int pos,
int end_position = ReturnStatement::kFunctionLiteralReturnPosition )
inline

Definition at line 3132 of file ast.h.

Here is the call graph for this function:

◆ NewTaggedTemplate()

Call * v8::internal::AstNodeFactory::NewTaggedTemplate ( Expression * expression,
const ScopedPtrList< Expression > & arguments,
int pos )
inline

Definition at line 3343 of file ast.h.

Here is the call graph for this function:

◆ NewTemplateLiteral()

TemplateLiteral * v8::internal::AstNodeFactory::NewTemplateLiteral ( const ZonePtrList< const AstRawString > * string_parts,
const ZonePtrList< Expression > * substitutions,
int pos )
inline

Definition at line 3564 of file ast.h.

Here is the call graph for this function:

◆ NewTheHoleLiteral()

Literal * v8::internal::AstNodeFactory::NewTheHoleLiteral ( )
inline

Definition at line 3258 of file ast.h.

Here is the call graph for this function:

◆ NewThisExpression()

class ThisExpression * v8::internal::AstNodeFactory::NewThisExpression ( int pos)
inline

Definition at line 3206 of file ast.h.

Here is the call graph for this function:

◆ NewThrow()

Throw * v8::internal::AstNodeFactory::NewThrow ( Expression * exception,
int pos )
inline

Definition at line 3454 of file ast.h.

Here is the call graph for this function:

◆ NewTryCatchStatement()

TryCatchStatement * v8::internal::AstNodeFactory::NewTryCatchStatement ( Block * try_block,
Scope * scope,
Block * catch_block,
int pos )
inline

Definition at line 3152 of file ast.h.

Here is the call graph for this function:

◆ NewTryCatchStatementForAsyncAwait()

TryCatchStatement * v8::internal::AstNodeFactory::NewTryCatchStatementForAsyncAwait ( Block * try_block,
Scope * scope,
Block * catch_block,
int pos )
inline

Definition at line 3166 of file ast.h.

Here is the call graph for this function:

◆ NewTryCatchStatementForReplAsyncAwait()

TryCatchStatement * v8::internal::AstNodeFactory::NewTryCatchStatementForReplAsyncAwait ( Block * try_block,
Scope * scope,
Block * catch_block,
int pos )
inline

Definition at line 3174 of file ast.h.

Here is the call graph for this function:

◆ NewTryCatchStatementForReThrow()

TryCatchStatement * v8::internal::AstNodeFactory::NewTryCatchStatementForReThrow ( Block * try_block,
Scope * scope,
Block * catch_block,
int pos )
inline

Definition at line 3158 of file ast.h.

Here is the call graph for this function:

◆ NewTryFinallyStatement()

TryFinallyStatement * v8::internal::AstNodeFactory::NewTryFinallyStatement ( Block * try_block,
Block * finally_block,
int pos )
inline

Definition at line 3182 of file ast.h.

Here is the call graph for this function:

◆ NewUnaryOperation()

UnaryOperation * v8::internal::AstNodeFactory::NewUnaryOperation ( Token::Value op,
Expression * expression,
int pos )
inline

Definition at line 3368 of file ast.h.

Here is the call graph for this function:

◆ NewUndefinedLiteral()

Literal * v8::internal::AstNodeFactory::NewUndefinedLiteral ( int pos)
inline

Definition at line 3254 of file ast.h.

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

◆ NewVariableDeclaration()

VariableDeclaration * v8::internal::AstNodeFactory::NewVariableDeclaration ( int pos)
inline

Definition at line 3040 of file ast.h.

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

◆ NewVariableProxy() [1/2]

VariableProxy * v8::internal::AstNodeFactory::NewVariableProxy ( const AstRawString * name,
VariableKind variable_kind,
int start_position = kNoSourcePosition )
inline

Definition at line 3304 of file ast.h.

Here is the call graph for this function:

◆ NewVariableProxy() [2/2]

VariableProxy * v8::internal::AstNodeFactory::NewVariableProxy ( Variable * var,
int start_position = kNoSourcePosition )
inline

Definition at line 3299 of file ast.h.

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

◆ NewWithStatement()

WithStatement * v8::internal::AstNodeFactory::NewWithStatement ( Scope * scope,
Expression * expression,
Statement * statement,
int pos )
inline

Definition at line 3139 of file ast.h.

Here is the call graph for this function:

◆ NewYield()

Suspend * v8::internal::AstNodeFactory::NewYield ( Expression * expression,
int pos,
Suspend::OnAbruptResume on_abrupt_resume )
inline

Definition at line 3439 of file ast.h.

Here is the call graph for this function:

◆ NewYieldStar()

YieldStar * v8::internal::AstNodeFactory::NewYieldStar ( Expression * expression,
int pos )
inline

Definition at line 3445 of file ast.h.

Here is the call graph for this function:

◆ ThisExpression()

class ThisExpression * v8::internal::AstNodeFactory::ThisExpression ( )
inline

Definition at line 3195 of file ast.h.

Here is the call graph for this function:

◆ zone()

Zone * v8::internal::AstNodeFactory::zone ( ) const
inline

Definition at line 3605 of file ast.h.

Here is the caller graph for this function:

Member Data Documentation

◆ ast_value_factory_

AstValueFactory* v8::internal::AstNodeFactory::ast_value_factory_
private

Definition at line 3613 of file ast.h.

◆ empty_statement_

class EmptyStatement* v8::internal::AstNodeFactory::empty_statement_
private

Definition at line 3614 of file ast.h.

◆ failure_expression_

class FailureExpression* v8::internal::AstNodeFactory::failure_expression_
private

Definition at line 3616 of file ast.h.

◆ this_expression_

class ThisExpression* v8::internal::AstNodeFactory::this_expression_
private

Definition at line 3615 of file ast.h.

◆ zone_

Zone* v8::internal::AstNodeFactory::zone_
private

Definition at line 3612 of file ast.h.


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