V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::AstNodeFactory Class Referencefinal

Public Member Functions

 AstNodeFactory (AstValueFactory *ast_value_factory, Zone *zone)
 
AstValueFactoryast_value_factory () const
 
VariableDeclarationNewVariableDeclaration (VariableProxy *proxy, int pos)
 
NestedVariableDeclarationNewNestedVariableDeclaration (VariableProxy *proxy, Scope *scope, int pos)
 
FunctionDeclarationNewFunctionDeclaration (VariableProxy *proxy, FunctionLiteral *fun, bool is_sloppy_block_function, int pos)
 
BlockNewBlock (int capacity, bool ignore_completion_value)
 
BlockNewBlock (bool ignore_completion_value, ZonePtrList< const AstRawString > *labels)
 
BlockNewBlock (bool ignore_completion_value, const ScopedPtrList< Statement > &statements)
 
SwitchStatementNewSwitchStatement (ZonePtrList< const AstRawString > *labels, Expression *tag, int pos)
 
ForEachStatementNewForEachStatement (ForEachStatement::VisitMode visit_mode, ZonePtrList< const AstRawString > *labels, ZonePtrList< const AstRawString > *own_labels, int pos)
 
ForOfStatementNewForOfStatement (ZonePtrList< const AstRawString > *labels, ZonePtrList< const AstRawString > *own_labels, int pos)
 
ExpressionStatementNewExpressionStatement (Expression *expression, int pos)
 
ContinueStatementNewContinueStatement (IterationStatement *target, int pos)
 
BreakStatementNewBreakStatement (BreakableStatement *target, int pos)
 
ReturnStatementNewReturnStatement (Expression *expression, int pos, int end_position=kNoSourcePosition)
 
ReturnStatementNewAsyncReturnStatement (Expression *expression, int pos, int end_position=kNoSourcePosition)
 
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)
 
TryCatchStatementNewTryCatchStatementForDesugaring (Block *try_block, Scope *scope, Block *catch_block, int pos)
 
TryCatchStatementNewTryCatchStatementForAsyncAwait (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 FailureExpressionFailureExpression ()
 
SloppyBlockFunctionStatementNewSloppyBlockFunctionStatement ()
 
CaseClauseNewCaseClause (Expression *label, const ScopedPtrList< Statement > &statements)
 
LiteralNewStringLiteral (const AstRawString *string, int pos)
 
LiteralNewSymbolLiteral (AstSymbol symbol, 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)
 
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)
 
PropertyNewProperty (Expression *obj, Expression *key, int pos)
 
ResolvedPropertyNewResolvedProperty (VariableProxy *obj, VariableProxy *property, int pos=kNoSourcePosition)
 
CallNewCall (Expression *expression, const ScopedPtrList< Expression > &arguments, int pos, Call::PossiblyEval possibly_eval=Call::NOT_EVAL)
 
CallNewTaggedTemplate (Expression *expression, const ScopedPtrList< Expression > &arguments, int pos)
 
CallNewNewCallNew (Expression *expression, const ScopedPtrList< Expression > &arguments, int pos)
 
CallRuntimeNewCallRuntime (Runtime::FunctionId id, const ScopedPtrList< Expression > &arguments, int pos)
 
CallRuntimeNewCallRuntime (const Runtime::Function *function, const ScopedPtrList< Expression > &arguments, int pos)
 
CallRuntimeNewCallRuntime (int context_index, 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)
 
StoreInArrayLiteralNewStoreInArrayLiteral (Expression *array, Expression *index, Expression *value, int pos)
 
ConditionalNewConditional (Expression *condition, Expression *then_expression, Expression *else_expression, int position)
 
RewritableExpressionNewRewritableExpression (Expression *expression, Scope *scope)
 
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, FunctionLiteral::FunctionType function_type, FunctionLiteral::EagerCompileHint eager_compile_hint, int position, bool has_braces, int function_literal_id, ProducedPreParsedScopeData *produced_preparsed_scope_data=nullptr)
 
FunctionLiteralNewScriptOrEvalFunctionLiteral (DeclarationScope *scope, const ScopedPtrList< Statement > &body, int expected_property_count, int parameter_count)
 
ClassLiteral::PropertyNewClassLiteralProperty (Expression *key, Expression *value, ClassLiteralProperty::Kind kind, bool is_static, bool is_computed_name, bool is_private)
 
ClassLiteralNewClassLiteral (Scope *scope, Variable *variable, Expression *extends, FunctionLiteral *constructor, ZonePtrList< ClassLiteral::Property > *properties, FunctionLiteral *static_fields_initializer, FunctionLiteral *instance_members_initializer_function, int start_position, int end_position, bool has_name_static_property, bool has_static_computed_names, bool is_anonymous)
 
NativeFunctionLiteralNewNativeFunctionLiteral (const AstRawString *name, v8::Extension *extension, int pos)
 
DoExpressionNewDoExpression (Block *block, Variable *result_var, int pos)
 
ThisFunctionNewThisFunction (int pos)
 
SuperPropertyReferenceNewSuperPropertyReference (VariableProxy *this_var, Expression *home_object, int pos)
 
SuperCallReferenceNewSuperCallReference (VariableProxy *this_var, VariableProxy *new_target_var, VariableProxy *this_function_var, int pos)
 
EmptyParenthesesNewEmptyParentheses (int pos)
 
GetIteratorNewGetIterator (Expression *iterable, Expression *destructured_iterable, IteratorType hint, int pos)
 
GetIteratorNewGetIterator (Expression *iterable, IteratorType hint, 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 *args, int pos)
 
InitializeClassMembersStatementNewInitializeClassMembersStatement (ZonePtrList< ClassLiteral::Property > *args, int pos)
 
Zonezone () const
 

Detailed Description

Definition at line 2963 of file ast.h.


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