Home
last modified time | relevance | path

Searched refs:newArrayExpression (Results 1 – 2 of 2) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/test/unit/plugin_ut/
Dplugin_ut_new_array_instance_expression_api.cpp173 es2panda_AstNode *newArrayExpression = in ETSArrayExpressionHandle() local
175 if (!g_impl->IsETSNewArrayInstanceExpression(newArrayExpression)) { in ETSArrayExpressionHandle()
185 … es2panda_AstNode *exprStatement = g_impl->CreateExpressionStatement(context, newArrayExpression); in ETSArrayExpressionHandle()
/arkcompiler/ets_frontend/ets2panda/linter/arkanalyzer/src/core/common/
DArkValueTransformer.ts995 private newArrayExpressionToValueAndStmts(newArrayExpression: ts.NewExpression): ValueAndStmts {
997 if (newArrayExpression.typeArguments && newArrayExpression.typeArguments.length > 0) {
998 const argumentType = this.resolveTypeNode(newArrayExpression.typeArguments[0]);
1004 …entValues, argPositions: argPositions } = this.parseArguments(stmts, newArrayExpression.arguments);
1005 … let argumentsLength = newArrayExpression.arguments ? newArrayExpression.arguments.length : 0; variable
1023 … const newArrayExprPosition = FullPosition.buildFromNode(newArrayExpression, this.sourceFile);