Home
last modified time | relevance | path

Searched refs:factory (Results 1 – 12 of 12) sorted by relevance

/developtools/ace_ets2bundle/compiler/src/
Dprocess_custom_component.ts141 const propertyAssignmentNode: ts.PropertyAssignment = ts.factory.updatePropertyAssignment(
147 const newNode: ts.ExpressionStatement = ts.factory.updateExpressionStatement(node,
148 ts.factory.createNewExpression(componentNode.expression, componentNode.typeArguments,
149 [ts.factory.createObjectLiteralExpression(argumentsArray, true)]));
160 const commomComponentNode: ts.Statement[] = [ts.factory.createExpressionStatement(
161 createFunction(ts.factory.createIdentifier(COMPONENT_COMMON),
162 ts.factory.createIdentifier(COMPONENT_CREATE_FUNCTION), null))];
164 bindComponentAttr(node, ts.factory.createIdentifier(COMPONENT_COMMON), commomComponentNode,
169 newStatements.push(ts.factory.createExpressionStatement(
170 createFunction(ts.factory.createIdentifier(COMPONENT_COMMON),
[all …]
Dprocess_component_constructor.ts76 ctorNode = ts.factory.updateConstructorDeclaration(ctorNode, ctorNode.decorators,
78 ts.factory.createBlock(modifyBody || ctorNode.body.statements, true));
106 newParameters.push(ts.factory.createParameterDeclaration(undefined, undefined, undefined,
107 ts.factory.createIdentifier(paramName), undefined, undefined,
109 …ts.factory.createPrefixUnaryExpression(ts.SyntaxKind.MinusToken, ts.factory.createNumericLiteral('…
110 ts.factory.createIdentifier(COMPONENT_IF_UNDEFINED) : undefined));
113 return ts.factory.updateConstructorDeclaration(node, undefined, node.modifiers, newParameters,
126 parameter = ts.factory.updateParameterDeclaration(item, item.decorators, item.modifiers,
128 ts.factory.createKeywordTypeNode(ts.SyntaxKind.StringKeyword), item.initializer);
131 parameter = ts.factory.createParameterDeclaration(item.decorators, item.modifiers,
[all …]
Dprocess_ui_syntax.ts185 node = ts.factory.updateSourceFile(node, statements);
251 ts.factory.createNodeArray(Array.from(node.parameters));
253 node = ts.factory.updateFunctionDeclaration(node, undefined, node.modifiers,
284 node = ts.factory.createKeywordTypeNode(ts.SyntaxKind.AnyKeyword);
299 ts.factory.createVariableStatement(
301 ts.factory.createVariableDeclarationList(
302 [ts.factory.createVariableDeclaration(
303 ts.factory.createIdentifier(_GENERATE_ID),
305 ts.factory.createKeywordTypeNode(ts.SyntaxKind.NumberKeyword),
306 ts.factory.createNumericLiteral('0')
[all …]
Dprocess_component_class.ts143 return ts.factory.createClassDeclaration(undefined, node.modifiers, node.name,
178 const interfaceNode = ts.factory.createInterfaceDeclaration(undefined, undefined,
245 return [ts.factory.createIfStatement(
246 ts.factory.createBinaryExpression(
247 … ts.factory.createTypeOfExpression(ts.factory.createIdentifier(COMPONENT_PARAMS_LAMBDA_FUNCTION)),
248 ts.factory.createToken(ts.SyntaxKind.EqualsEqualsEqualsToken),
249 ts.factory.createStringLiteral(FUNCTION)
251 ts.factory.createBlock(
252 [ts.factory.createExpressionStatement(ts.factory.createBinaryExpression(
253 ts.factory.createPropertyAccessExpression(
[all …]
Dprocess_component_build.ts176 renderNode = ts.factory.createIdentifier(COMPONENT_RENDER_FUNCTION);
178 renderNode = ts.factory.createIdentifier(COMPONENT_INITIAl_RENDER_FUNCTION);
182 newNode = ts.factory.updateMethodDeclaration(node, node.decorators, node.modifiers,
186 newNode = ts.factory.updateMethodDeclaration(node, node.decorators, node.modifiers,
204 newStatements.unshift(ts.factory.createExpressionStatement(
205 createFunction(ts.factory.createIdentifier(COMPONENT_TRANSITION_NAME),
206 ts.factory.createIdentifier(COMPONENT_CREATE_FUNCTION), null)));
208 newStatements.unshift(createComponentCreationStatement(ts.factory.createExpressionStatement(
209 createFunction(ts.factory.createIdentifier(COMPONENT_TRANSITION_NAME),
210 …ts.factory.createIdentifier(COMPONENT_POP_FUNCTION), null)), [ts.factory.createExpressionStatement(
[all …]
Dprocess_component_member.ts293 return ts.factory.createExpressionStatement(ts.factory.createCallExpression(
294 ts.factory.createPropertyAccessExpression(
295 ts.factory.createPropertyAccessExpression(
296 ts.factory.createThis(),
297 ts.factory.createIdentifier("__"+name.escapedText.toString())
299 ts.factory.createIdentifier(RESERT)
302 [ts.factory.createPropertyAccessExpression(
303 ts.factory.createIdentifier(COMPONENT_CONSTRUCTOR_PARAMS),
314 return ts.factory.createMethodDeclaration(undefined, undefined, undefined,
315 ts.factory.createIdentifier(SET_CONTROLLER_METHOD), undefined, undefined,
[all …]
/developtools/ace_ets2bundle/compiler/
Dbuild_declarations_file.js124 … const declarationNode = ts.factory.updateVariableDeclaration(node.declarationList.declarations[0],
125 … ts.factory.createIdentifier(type), node.declarationList.declarations[0].exclamationToken,
127 …node.declarationList = ts.factory.updateVariableDeclarationList(node.declarationList, [declaration…
139 sourceFile = ts.factory.updateSourceFile(sourceFile, newStatements);
151 const heritageClause = ts.factory.createHeritageClause(ts.SyntaxKind.ExtendsKeyword,
152 [ts.factory.createExpressionWithTypeArguments(result.extendNode, undefined)]);
154 node = ts.factory.updateInterfaceDeclaration(node, node.decorators, node.modifiers,
158 node = ts.factory.updateInterfaceDeclaration(node, node.decorators, node.modifiers, node.name,
159 node.typeParameters, [ts.factory.createHeritageClause(ts.SyntaxKind.ExtendsKeyword,
160 …[ts.factory.createExpressionWithTypeArguments(ts.factory.createIdentifier('TS' + componentName + '…
[all …]
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/module/
Dmodule_source_file.ts197 return ts.factory.createImportDeclaration(node.decorators, node.modifiers,
198 node.importClause, ts.factory.createStringLiteral(ohmUrl));
200 return ts.factory.createExportDeclaration(node.decorators, node.modifiers,
201 node.isTypeOnly, node.exportClause, ts.factory.createStringLiteral(ohmUrl));
219 args[0] = ts.factory.createStringLiteral(ohmUrl);
220 return ts.factory.createCallExpression(node.expression, node.typeArguments, args);
/developtools/ace_js2bundle/ace-loader/test/rich/
Dtest.js71 $app_define$ = function(componentName, deps, factory) { argument
80 factory($app_require$, $app_exports$, $app_module$);
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/
DCertChainUtils.java78 CertificateFactory factory = CertificateFactory.getInstance("X.509"); in getCertPath() local
79 return factory.generateCertPath(certificates); in getCertPath()
DCertUtils.java223 CertificateFactory factory = CertificateFactory.getInstance("X.509"); in generateCertificates() local
225 … (List<X509Certificate>) factory.generateCertificates(new ByteArrayInputStream(cert)); in generateCertificates()
/developtools/ace_ets2bundle/compiler/server/
Dbuild_pipe_server.js175 const newSource = ts.factory.updateSourceFile(sourceNode, previewStatements);