• Home
  • Raw
  • Download

Lines Matching refs:factory

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(
254 ts.factory.createThis(),
255 ts.factory.createIdentifier(COMPONENT_PARAMS_FUNCTION)
257 ts.factory.createToken(ts.SyntaxKind.EqualsToken),
258 ts.factory.createIdentifier(COMPONENT_PARAMS_LAMBDA_FUNCTION)
367 ts.factory.createModifier(ts.SyntaxKind.PrivateKeyword);
368 return ts.factory.updatePropertyDeclaration(propertyItem, undefined,
381 ts.factory.createStringLiteral(localStorageLink && !localStorageProp ?
384 …node.initializer ? node.initializer : ts.factory.createNumericLiteral(COMPONENT_CONSTRUCTOR_UNDEFI…
385 ts.factory.createThis(), ts.factory.createStringLiteral(name || COMPONENT_CONSTRUCTOR_UNDEFINED)
395 return ts.factory.createCallExpression(
396 ts.factory.createPropertyAccessExpression(
398 ts.factory.createPropertyAccessExpression(
399 ts.factory.createThis(),
400 ts.factory.createIdentifier(`${COMPONENT_CONSTRUCTOR_LOCALSTORAGE}_`)
401 ) : ts.factory.createThis(),
402 ts.factory.createIdentifier(localFuncName)
427 updateItem = ts.factory.updateMethodDeclaration(node, node.decorators, node.modifiers,
434 …let parameters: ts.NodeArray<ts.ParameterDeclaration> = ts.factory.createNodeArray(Array.from(node…
436 … const builderNode: ts.MethodDeclaration = ts.factory.updateMethodDeclaration(node, customBuilder,
463 return ts.factory.createParameterDeclaration(undefined, undefined, undefined,
464 ts.factory.createIdentifier(COMPONENT_CONSTRUCTOR_PARENT), undefined, undefined,
465 ts.factory.createIdentifier(NULL));
482 return ts.factory.createCallExpression(ts.factory.createPropertyAccessExpression(
483 ts.factory.createIdentifier(FOREACH_OBSERVED_OBJECT),
484 ts.factory.createIdentifier(FOREACH_GET_RAW_OBJECT)), undefined, [node]);
516 return ts.factory.updateExpressionStatement(node, ts.factory.updateCallExpression(exp,
517 exp.expression, undefined, [ts.factory.createArrowFunction(undefined, undefined, arg.parameters,
518 undefined, ts.factory.createToken(ts.SyntaxKind.EqualsGreaterThanToken),
528 blockNode = ts.factory.createBlock([ts.factory.createExpressionStatement(node.body)]);
545 return ts.factory.createNodeArray(result);
626 return ts.factory.updatePropertyAssignment(node, propertyName,
627 ts.factory.createPropertyAccessExpression(
628 …is$$ && partialUpdateConfig.partialUpdateMode ? ts.factory.createIdentifier($$) : ts.factory.creat…
629 …isParamsLambda || isRecycleComponent ? ts.factory.createIdentifier(initText) : ts.factory.createId…
667 return ts.factory.createMethodDeclaration(
669 ts.factory.createIdentifier(COMPONENT_CONSTRUCTOR_PURGE_VARIABLE_DEP),
670 undefined, undefined, [ts.factory.createParameterDeclaration(undefined, undefined, undefined,
671 ts.factory.createIdentifier(RMELMTID), undefined, undefined, undefined)], undefined,
672 ts.factory.createBlock(statements, true));
694 ts.factory.createExpressionStatement(ts.factory.createCallExpression(
695 ts.factory.createPropertyAccessExpression(
696 ts.factory.createCallExpression(ts.factory.createPropertyAccessExpression(
697 ts.factory.createIdentifier(CREATE_CONSTRUCTOR_SUBSCRIBER_MANAGER),
698 ts.factory.createIdentifier(CREATE_CONSTRUCTOR_GET_FUNCTION)), undefined, []),
699 ts.factory.createIdentifier(CREATE_CONSTRUCTOR_DELETE_FUNCTION)),
700 undefined, [ts.factory.createCallExpression(ts.factory.createPropertyAccessExpression(
701 ts.factory.createThis(), ts.factory.createIdentifier(
716 return ts.factory.createMethodDeclaration(undefined, undefined, undefined,
717 ts.factory.createIdentifier(UPDATE_RECYCLE_ELMT_ID), undefined, undefined, [
718 ts.factory.createParameterDeclaration(undefined, undefined, undefined,
719 ts.factory.createIdentifier(OLD_ELMT_ID)),
720 ts.factory.createParameterDeclaration(undefined, undefined, undefined,
721 ts.factory.createIdentifier(NEW_ELMT_ID))
722 ], undefined, ts.factory.createBlock(statements, true));
726 return ts.factory.createExpressionStatement(
727 ts.factory.createCallExpression(ts.factory.createPropertyAccessExpression(
728 ts.factory.createPropertyAccessExpression(ts.factory.createThis(),
729 ts.factory.createIdentifier(`__${name.escapedText.toString()}`)),
730 ts.factory.createIdentifier(COMPONENT_CONSTRUCTOR_DELETE_PARAMS)), undefined, []));
734 return ts.factory.createExpressionStatement(
735 ts.factory.createCallExpression(ts.factory.createPropertyAccessExpression(
736 ts.factory.createPropertyAccessExpression(ts.factory.createThis(),
737 ts.factory.createIdentifier(`__${name.escapedText.toString()}`)),
738 ts.factory.createIdentifier(COMPONENT_UPDATE_ELMT_ID)), undefined, [
739 ts.factory.createIdentifier(OLD_ELMT_ID), ts.factory.createIdentifier(NEW_ELMT_ID)
744 return ts.factory.createExpressionStatement(ts.factory.createCallExpression(
745 ts.factory.createPropertyAccessExpression(ts.factory.createThis(),
746 ts.factory.createIdentifier(ABOUTTOBEDELETEDINTERNAL)), undefined, []));
750 let updateDirtyElementStatement: ts.Statement = ts.factory.createExpressionStatement(
751 ts.factory.createCallExpression(ts.factory.createPropertyAccessExpression(
752 ts.factory.createThis(), ts.factory.createIdentifier(UPDATEDIRTYELEMENTS)), undefined, []));
754 return ts.factory.createMethodDeclaration(undefined, undefined, undefined,
755 ts.factory.createIdentifier(COMPONENT_RERENDER_FUNCTION), undefined, undefined, [], undefined,
756 ts.factory.createBlock(statements, true));
761 const methodDeclaration: ts.MethodDeclaration = ts.factory.createMethodDeclaration(undefined,
762 undefined, undefined, ts.factory.createIdentifier(express), undefined, undefined,
763 [ts.factory.createParameterDeclaration(undefined, undefined, undefined,
765 ts.factory.createIdentifier(CREATE_CONSTRUCTOR_PARAMS), undefined,
767 ts.factory.createTypeReferenceNode(
768 … ts.factory.createIdentifier(parentComponentName.getText() + INTERFACE_NAME_SUFFIX), undefined),
769 undefined)], undefined, ts.factory.createBlock(statements, true));
797 return ts.factory.createHeritageClause(
799 …[ts.factory.createExpressionWithTypeArguments(ts.factory.createIdentifier(BASE_COMPONENT_NAME_PU),…
802 return ts.factory.createHeritageClause(
804 …[ts.factory.createExpressionWithTypeArguments(ts.factory.createIdentifier(BASE_COMPONENT_NAME), []…
814 newType = ts.factory.createTypeReferenceNode(
818 [type || ts.factory.createKeywordTypeNode(ts.SyntaxKind.AnyKeyword)]
823 newType = ts.factory.createTypeReferenceNode(
827 [type || ts.factory.createKeywordTypeNode(ts.SyntaxKind.AnyKeyword)]
831 newType = ts.factory.createTypeReferenceNode(
833 [type || ts.factory.createKeywordTypeNode(ts.SyntaxKind.AnyKeyword)]
837 newType = ts.factory.createTypeReferenceNode(
839 [type || ts.factory.createKeywordTypeNode(ts.SyntaxKind.AnyKeyword)]
844 newType = ts.factory.createTypeReferenceNode(OBSERVED_PROPERTY_ABSTRACT, [
845 type || ts.factory.createKeywordTypeNode(ts.SyntaxKind.AnyKeyword),
850 newType = ts.factory.createTypeReferenceNode(OBSERVED_PROPERTY_ABSTRACT, [
851 type || ts.factory.createKeywordTypeNode(ts.SyntaxKind.AnyKeyword),
864 newType = ts.factory.createTypeReferenceNode(
868 [type || ts.factory.createKeywordTypeNode(ts.SyntaxKind.AnyKeyword)]
872 newType = ts.factory.createTypeReferenceNode(
876 [type || ts.factory.createKeywordTypeNode(ts.SyntaxKind.AnyKeyword)]
880 newType = ts.factory.createTypeReferenceNode(
882 [type || ts.factory.createKeywordTypeNode(ts.SyntaxKind.AnyKeyword)]
886 newType = ts.factory.createTypeReferenceNode(
888 [type || ts.factory.createKeywordTypeNode(ts.SyntaxKind.AnyKeyword)]
894 newType = ts.factory.createTypeReferenceNode(OBSERVED_PROPERTY_ABSTRACT_PU, [
895 type || ts.factory.createKeywordTypeNode(ts.SyntaxKind.AnyKeyword),
900 newType = ts.factory.createTypeReferenceNode(OBSERVED_PROPERTY_ABSTRACT_PU, [
901 type || ts.factory.createKeywordTypeNode(ts.SyntaxKind.AnyKeyword),