Searched refs:factory (Results 1 – 12 of 12) sorted by relevance
141 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 …]
76 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 …]
185 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 …]
143 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 …]
176 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 …]
293 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 …]
124 … 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 …]
197 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);
71 $app_define$ = function(componentName, deps, factory) { argument80 factory($app_require$, $app_exports$, $app_module$);
78 CertificateFactory factory = CertificateFactory.getInstance("X.509"); in getCertPath() local79 return factory.generateCertPath(certificates); in getCertPath()
223 CertificateFactory factory = CertificateFactory.getInstance("X.509"); in generateCertificates() local225 … (List<X509Certificate>) factory.generateCertificates(new ByteArrayInputStream(cert)); in generateCertificates()
175 const newSource = ts.factory.updateSourceFile(sourceNode, previewStatements);