Lines Matching refs:New

2815         empty_statement_(zone->New<class EmptyStatement>()),
2816 this_expression_(zone->New<class ThisExpression>(kNoSourcePosition)),
2817 failure_expression_(zone->New<class FailureExpression>()) {}
2823 return zone_->New<VariableDeclaration>(pos);
2828 return zone_->New<NestedVariableDeclaration>(scope, pos);
2832 return zone_->New<FunctionDeclaration>(fun, pos);
2836 return zone_->New<Block>(zone_, capacity, ignore_completion_value, false);
2840 return zone_->New<Block>(ignore_completion_value, is_breakable);
2851 NodeType* New##NodeType(int pos) { return zone_->New<NodeType>(pos); }
2858 return zone_->New<SwitchStatement>(zone_, tag, pos);
2865 return zone_->New<ForInStatement>(pos);
2868 return zone_->New<ForOfStatement>(pos, IteratorType::kNormal);
2875 return zone_->New<ForOfStatement>(pos, type);
2879 return zone_->New<ExpressionStatement>(expression, pos);
2883 return zone_->New<ContinueStatement>(target, pos);
2887 return zone_->New<BreakStatement>(target, pos);
2893 return zone_->New<ReturnStatement>(expression, ReturnStatement::kNormal,
2899 return zone_->New<ReturnStatement>(
2906 return zone_->New<ReturnStatement>(
2914 return zone_->New<WithStatement>(scope, expression, statement, pos);
2919 return zone_->New<IfStatement>(condition, then_statement, else_statement,
2925 return zone_->New<TryCatchStatement>(try_block, scope, catch_block,
2933 return zone_->New<TryCatchStatement>(try_block, scope, catch_block,
2941 return zone_->New<TryCatchStatement>(try_block, scope, catch_block,
2949 return zone_->New<TryCatchStatement>(
2955 return zone_->New<TryFinallyStatement>(try_block, finally_block, pos);
2959 return zone_->New<DebuggerStatement>(pos);
2979 return zone_->New<class ThisExpression>(pos);
2988 return zone_->New<SloppyBlockFunctionStatement>(pos, var, init,
2994 return zone_->New<CaseClause>(zone_, label, statements);
2999 return zone_->New<Literal>(string, pos);
3005 return zone_->New<Literal>(number, pos);
3009 return zone_->New<Literal>(bigint, pos);
3013 return zone_->New<Literal>(b, pos);
3017 return zone_->New<Literal>(Literal::kNull, pos);
3021 return zone_->New<Literal>(Literal::kUndefined, pos);
3025 return zone_->New<Literal>(Literal::kTheHole, kNoSourcePosition);
3032 return zone_->New<ObjectLiteral>(zone_, properties, boilerplate_properties,
3039 return zone_->New<ObjectLiteral::Property>(key, value, kind,
3046 return zone_->New<ObjectLiteral::Property>(ast_value_factory_, key, value,
3052 return zone_->New<RegExpLiteral>(pattern, flags, pos);
3057 return zone_->New<ArrayLiteral>(zone_, values, -1, pos);
3062 return zone_->New<ArrayLiteral>(zone_, values, first_spread_index, pos);
3067 return zone_->New<VariableProxy>(var, start_position);
3074 return zone_->New<VariableProxy>(name, variable_kind, start_position);
3079 return zone_->New<VariableProxy>(proxy);
3083 return zone_->New<Variable>(variable);
3087 return zone_->New<OptionalChain>(expression);
3092 return zone_->New<Property>(obj, key, pos, optional_chain);
3101 return zone_->New<Call>(zone_, expression, arguments, pos, has_spread,
3107 return zone_->New<Call>(zone_, expression, arguments, pos,
3114 return zone_->New<CallNew>(zone_, expression, arguments, pos, has_spread);
3120 return zone_->New<CallRuntime>(zone_, Runtime::FunctionForId(id), arguments,
3127 return zone_->New<CallRuntime>(zone_, function, arguments, pos);
3133 return zone_->New<CallRuntime>(zone_, context_index, arguments, pos);
3139 return zone_->New<UnaryOperation>(op, expression, pos);
3146 return zone_->New<BinaryOperation>(op, left, right, pos);
3151 return zone_->New<NaryOperation>(zone_, op, first, initial_subsequent_size);
3158 return zone_->New<CountOperation>(op, is_prefix, expr, pos);
3165 return zone_->New<CompareOperation>(op, left, right, pos);
3169 return zone_->New<Spread>(expression, pos, expr_pos);
3176 return zone_->New<Conditional>(condition, then_expression, else_expression,
3193 return zone_->New<Assignment>(AstNode::kAssignment, op, target, value,
3196 return zone_->New<CompoundAssignment>(
3206 return zone_->New<Yield>(expression, pos, on_abrupt_resume);
3210 return zone_->New<YieldStar>(expression, pos);
3215 return zone_->New<Await>(expression, pos);
3219 return zone_->New<Throw>(exception, pos);
3231 return zone_->New<FunctionLiteral>(
3245 return zone_->New<FunctionLiteral>(
3257 return zone_->New<ClassLiteral::Property>(key, value, kind, is_static,
3263 return zone_->New<ClassLiteral::StaticElement>(property);
3268 return zone_->New<ClassLiteral::StaticElement>(static_block);
3280 return zone_->New<ClassLiteral>(
3290 return zone_->New<NativeFunctionLiteral>(name, extension, pos);
3295 return zone_->New<SuperPropertyReference>(home_object_var, pos);
3301 return zone_->New<SuperCallReference>(new_target_var, this_function_var,
3306 return zone_->New<EmptyParentheses>(pos);
3312 return zone_->New<GetTemplateObject>(cooked_strings, raw_strings, pos);
3318 return zone_->New<TemplateLiteral>(string_parts, substitutions, pos);
3323 return zone_->New<ImportCallExpression>(specifier, pos);
3329 return zone_->New<ImportCallExpression>(specifier, import_assertions, pos);
3334 return zone_->New<InitializeClassMembersStatement>(args, pos);
3340 return zone_->New<InitializeClassStaticElementsStatement>(args, pos);