Lines Matching refs:factory
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(
211 createFunction(ts.factory.createIdentifier(COMPONENT_TRANSITION_NAME),
212 …ts.factory.createIdentifier(COMPONENT_CREATE_FUNCTION), null))], COMPONENT_TRANSITION_NAME, false,…
214 newStatements.push(ts.factory.createExpressionStatement(
215 createFunction(ts.factory.createIdentifier(COMPONENT_TRANSITION_NAME),
216 ts.factory.createIdentifier(COMPONENT_POP_FUNCTION), null)));
221 return ts.factory.updateBlock(node, newStatements);
418 return ts.factory.createExpressionStatement(ts.factory.createCallExpression(
419 ts.factory.createCallExpression(
420 ts.factory.createPropertyAccessExpression(
422 ts.factory.createIdentifier(BUILDER_ATTR_BIND)
425 [ts.factory.createThis()]
428 [ts.factory.createCallExpression(
429 ts.factory.createIdentifier(BUILDER_PARAM_PROXY),
432 ts.factory.createStringLiteral(name),
438 return ts.factory.createExpressionStatement(ts.factory.createCallExpression(
439 ts.factory.createCallExpression(
440 ts.factory.createPropertyAccessExpression(
442 ts.factory.createIdentifier(BUILDER_ATTR_BIND)
445 [ts.factory.createThis()]
467 properties.push(ts.factory.createPropertyAssignment(
469 ts.factory.createArrowFunction(
474 ts.factory.createToken(ts.SyntaxKind.EqualsGreaterThanToken),
480 properties.push(ts.factory.createPropertyAssignment(
482 ts.factory.createArrowFunction(
487 ts.factory.createToken(ts.SyntaxKind.EqualsGreaterThanToken),
494 return ts.factory.createObjectLiteralExpression(properties);
499 properties.push(ts.factory.createPropertyAssignment(
501 ts.factory.createArrowFunction(
506 ts.factory.createToken(ts.SyntaxKind.EqualsGreaterThanToken),
507 ts.factory.createParenthesizedExpression(ts.factory.createConditionalExpression(
508 ts.factory.createElementAccessExpression(
509 isBuilder ? ts.factory.createIdentifier($$) : ts.factory.createThis(),
510 ts.factory.createStringLiteral('__' + name)
512 ts.factory.createToken(ts.SyntaxKind.QuestionToken),
513 ts.factory.createElementAccessExpression(
514 isBuilder ? ts.factory.createIdentifier($$) : ts.factory.createThis(),
515 ts.factory.createStringLiteral('__' + name)
517 ts.factory.createToken(ts.SyntaxKind.ColonToken),
518 ts.factory.createElementAccessExpression(
519 isBuilder ? ts.factory.createIdentifier($$) : ts.factory.createThis(),
520 ts.factory.createStringLiteral(name)
530 …node.expression.arguments.push(isGlobalBuilder ? parentConditionalExpression() : ts.factory.create…
531 return ts.factory.createExpressionStatement(ts.factory.updateCallExpression(node.expression,
563 const arrowNode: ts.ArrowFunction = ts.factory.createArrowFunction(undefined, undefined,
564 [], undefined, ts.factory.createToken(ts.SyntaxKind.EqualsGreaterThanToken), newBlock);
565 const newPropertyAssignment:ts.PropertyAssignment = ts.factory.createPropertyAssignment(
566 ts.factory.createIdentifier(childParam), arrowNode);
570 argumentsArray = [ts.factory.createObjectLiteralExpression([newPropertyAssignment], true)];
572 argumentsArray = [ts.factory.createObjectLiteralExpression(
576 const callNode: ts.CallExpression = ts.factory.updateCallExpression(
584 node = ts.factory.updateExpressionStatement(node, callNode);
673 return ts.factory.createIfStatement(
674 ts.factory.createPrefixUnaryExpression(
676 ts.factory.createCallExpression(
677 ts.factory.createPropertyAccessExpression(
678 ts.factory.createIdentifier(COMPONENT_IF),
679 ts.factory.createIdentifier(CAN_RETAKE)
685 ts.factory.createBlock(
719 const debugNode: ts.ExpressionStatement = ts.factory.createExpressionStatement(
720 createFunction(ts.factory.createIdentifier(nameResult.name),
721 ts.factory.createIdentifier(COMPONENT_DEBUGLINE_FUNCTION),
722 ts.factory.createNodeArray([ts.factory.createStringLiteral(debugInfo)])));
756 ts.factory.createArrowFunction(undefined, undefined,
758 ts.factory.createParameterDeclaration(undefined, undefined, undefined,
759 ts.factory.createIdentifier(ELMTID), undefined, undefined, undefined),
760 ts.factory.createParameterDeclaration(undefined, undefined, undefined,
761 ts.factory.createIdentifier(ISINITIALRENDER), undefined, undefined, undefined)
763 ts.factory.createToken(ts.SyntaxKind.EqualsGreaterThanToken),
764 ts.factory.createBlock(blockArr, true)
768 creationArgs.push(isTransition ? ts.factory.createNull() :
769 ts.factory.createIdentifier(componentName));
771 return ts.factory.createExpressionStatement(
772 ts.factory.createCallExpression(
773 ts.factory.createPropertyAccessExpression(createConditionParent(isGlobalBuilder),
774 ts.factory.createIdentifier(partialUpdateConfig.optimizeComponent ?
781 return ts.factory.createExpressionStatement(
782 ts.factory.createCallExpression(
783 ts.factory.createPropertyAccessExpression(
784 ts.factory.createIdentifier(VIEWSTACKPROCESSOR),
785 ts.factory.createIdentifier(propertyAccessName)
788 elmtId ? [ts.factory.createIdentifier(ELMTID)] : []
797 blockArr.push(ts.factory.createIfStatement(
798 ts.factory.createIdentifier(ISINITIALRENDER),
799 ts.factory.createBlock(immutableStatements, true)
803 blockArr.push(ts.factory.createIfStatement(
804 ts.factory.createPrefixUnaryExpression(
806 ts.factory.createIdentifier(ISINITIALRENDER)
808 ts.factory.createBlock(
816 ts.factory.createBlock(immutableStatements, true) : undefined
856 itemCreateArgs.push(ts.factory.createIdentifier(DEEPRENDERFUNCTION), ts.factory.createTrue());
859 ts.factory.createArrowFunction(undefined, undefined, [], undefined,
860 ts.factory.createToken(ts.SyntaxKind.EqualsGreaterThanToken),
861 ts.factory.createBlock([], false)),
862 ts.factory.createFalse()
866 return ts.factory.createExpressionStatement(ts.factory.createCallExpression(
867 ts.factory.createPropertyAccessExpression(ts.factory.createIdentifier(nameResult.name),
868 ts.factory.createIdentifier(COMPONENT_CREATE_FUNCTION)), undefined, itemCreateArgs));
884 ts.factory.createExpressionStatement(ts.factory.createCallExpression(
885 ts.factory.createPropertyAccessExpression(
886 ts.factory.createThis(),
887 ts.factory.createIdentifier(OBSERVECOMPONENTCREATION)
890 [ts.factory.createIdentifier(ITEMCREATION)]
897 ts.factory.createExpressionStatement(ts.factory.createCallExpression(
898 ts.factory.createIdentifier(OBSERVEDDEEPRENDER), undefined, []))
901 return ts.factory.createBlock(blockNode, true);
924 return ts.factory.createVariableStatement(
926 ts.factory.createVariableDeclarationList(
927 [ts.factory.createVariableDeclaration(
928 ts.factory.createIdentifier(ITEMCREATION), undefined, undefined,
929 ts.factory.createArrowFunction(undefined, undefined,
931 ts.factory.createParameterDeclaration(undefined, undefined, undefined,
932 ts.factory.createIdentifier(ELMTID), undefined, undefined, undefined),
933 ts.factory.createParameterDeclaration(undefined, undefined, undefined,
934 ts.factory.createIdentifier(ISINITIALRENDER), undefined, undefined, undefined)
936 ts.factory.createToken(ts.SyntaxKind.EqualsGreaterThanToken),
937 ts.factory.createBlock(
942 ts.factory.createIfStatement(
943 ts.factory.createPrefixUnaryExpression(
945 ts.factory.createIdentifier(ISINITIALRENDER)
947 ts.factory.createBlock(
952 ts.factory.createBlock(immutableStatements, true) : undefined
969 return ts.factory.createVariableStatement(
971 ts.factory.createVariableDeclarationList(
972 [ts.factory.createVariableDeclaration(
973 ts.factory.createIdentifier(DEEPRENDERFUNCTION), undefined, undefined,
974 ts.factory.createArrowFunction(undefined, undefined,
976 ts.factory.createParameterDeclaration(undefined, undefined, undefined,
977 ts.factory.createIdentifier(ELMTID), undefined, undefined, undefined),
978 ts.factory.createParameterDeclaration(undefined, undefined, undefined,
979 ts.factory.createIdentifier(ISINITIALRENDER), undefined, undefined, undefined)
981 ts.factory.createToken(ts.SyntaxKind.EqualsGreaterThanToken),
982 ts.factory.createBlock(
984 ts.factory.createExpressionStatement(ts.factory.createCallExpression(
985 ts.factory.createIdentifier(ITEMCREATION), undefined,
987 ts.factory.createIdentifier(ELMTID),
988 ts.factory.createIdentifier(ISINITIALRENDER)
991 ts.factory.createExpressionStatement(ts.factory.createCallExpression(
992 ts.factory.createPropertyAccessExpression(
993 ts.factory.createPropertyAccessExpression(
994 ts.factory.createThis(),
995 ts.factory.createIdentifier(UPDATE_FUNC_BY_ELMT_ID)
997 ts.factory.createIdentifier(CREATE_SET_METHOD)
999 [ts.factory.createIdentifier(ELMTID), ts.factory.createIdentifier(ITEMCREATION)]
1017 return ts.factory.createVariableStatement(
1019 ts.factory.createVariableDeclarationList(
1020 [ts.factory.createVariableDeclaration(
1021 ts.factory.createIdentifier(OBSERVEDDEEPRENDER),
1024 ts.factory.createArrowFunction(
1029 ts.factory.createToken(ts.SyntaxKind.EqualsGreaterThanToken),
1030 ts.factory.createBlock(
1032 ts.factory.createExpressionStatement(ts.factory.createCallExpression(
1033 ts.factory.createPropertyAccessExpression(
1034 ts.factory.createThis(),
1035 ts.factory.createIdentifier(OBSERVECOMPONENTCREATION)
1038 [ts.factory.createIdentifier(ITEMCREATION)]
1058 …const tabContentPop: ts.Statement = ts.factory.createExpressionStatement(ts.factory.createCallExpr…
1059 ts.factory.createPropertyAccessExpression(ts.factory.createIdentifier(name),
1060 ts.factory.createIdentifier(COMPONENT_POP_FUNCTION)), undefined, []));
1070 tabContentCreation = ts.factory.createExpressionStatement(
1071 ts.factory.createCallExpression(ts.factory.createPropertyAccessExpression(
1072 ts.factory.createIdentifier(name), ts.factory.createIdentifier(COMPONENT_CREATE_FUNCTION)),
1073 undefined, [ts.factory.createArrowFunction(undefined, undefined, [], undefined,
1074 ts.factory.createToken(ts.SyntaxKind.EqualsGreaterThanToken),
1075 ts.factory.createBlock([...newTabContentChildren], true))]));
1076 …bindComponentAttr(node, ts.factory.createIdentifier(name), tabAttrs, log, true, false, immutableSt…
1081 tabContentCreation = ts.factory.createExpressionStatement(ts.factory.createCallExpression(
1082 ts.factory.createPropertyAccessExpression(ts.factory.createIdentifier(name),
1083 ts.factory.createIdentifier(COMPONENT_CREATE_FUNCTION)), undefined, []));
1084 …bindComponentAttr(node, ts.factory.createIdentifier(name), tabAttrs, log, true, false, immutableSt…
1108 const popNode: ts.ExpressionStatement = ts.factory.createExpressionStatement(createFunction(
1111 ts.factory.createIdentifier(COMPONENT_POP_FUNCTION), null));
1113 const propertyNode: ts.PropertyAccessExpression = ts.factory.createPropertyAccessExpression(
1115 ts.factory.createIdentifier(COMPONENT_CREATE_FUNCTION)
1120 arrayObserveredObject = ts.factory.createCallExpression(
1121 … ts.factory.createPropertyAccessExpression(ts.factory.createIdentifier(FOREACH_OBSERVED_OBJECT),
1122 ts.factory.createIdentifier(FOREACH_GET_RAW_OBJECT)), undefined, [argumentsArray[0]]);
1130 node = addForEachId(ts.factory.updateExpressionStatement(node, ts.factory.updateCallExpression(
1139 const popNode: ts.ExpressionStatement = ts.factory.createExpressionStatement(createFunction(
1141 ts.factory.createIdentifier(COMPONENT_POP_FUNCTION), null));
1144 const propertyNode: ts.ExpressionStatement = ts.factory.createExpressionStatement(
1145 ts.factory.createCallExpression(ts.factory.createPropertyAccessExpression(
1147 ts.factory.createIdentifier(COMPONENT_CREATE_FUNCTION)), undefined, []));
1160 …newStatements.push(ts.factory.createBlock([itemGenFunctionStatement, itemIdFuncStatement, lazyForE…
1163 …newStatements.push(ts.factory.createBlock([itemGenFunctionStatement, lazyForEachStatement, popNode…
1175 return ts.factory.createVariableStatement(
1177 ts.factory.createVariableDeclarationList(
1178 [ts.factory.createVariableDeclaration(
1179 ts.factory.createIdentifier(node.expression.getText() === COMPONENT_FOREACH ?
1182 ts.factory.createArrowFunction(
1186 undefined, ts.factory.createToken(ts.SyntaxKind.EqualsGreaterThanToken),
1187 ts.factory.createBlock(
1204 ts.factory.createVariableStatement(
1206 ts.factory.createVariableDeclarationList(
1207 [ts.factory.createVariableDeclaration(
1208 ts.factory.createIdentifier(
1212 ts.factory.createIdentifier(_ITEM)
1223 ts.factory.createParameterDeclaration(
1224 undefined, undefined, undefined, ts.factory.createIdentifier(_ITEM))
1237 return ts.factory.createVariableStatement(
1239 ts.factory.createVariableDeclarationList(
1240 [ts.factory.createVariableDeclaration(
1241 ts.factory.createIdentifier(node.expression.getText() === COMPONENT_FOREACH ?
1253 return ts.factory.createExpressionStatement(
1254 ts.factory.createCallExpression(
1255 ts.factory.createPropertyAccessExpression(
1256 isGlobalBuilder ? parentConditionalExpression() : ts.factory.createThis(),
1257 ts.factory.createIdentifier(FOREACHUPDATEFUNCTION)
1268 ts.factory.createIdentifier(ELMTID),
1270 ts.factory.createIdentifier(FOREACHITEMGENFUNCTION)
1275 …addForEachIdFuncParameterArr.push(...addForEachParameter(ts.factory.createIdentifier(COMPONENT_IF_…
1294 return [forEachItemIdContent, ts.factory.createIdentifier(forEachItemGen),
1295 ts.factory.createIdentifier(forEachItemId)];
1300 ts.factory.createStringLiteral(componentInfo.id.toString()),
1301 ts.factory.createThis(),
1303 ts.factory.createIdentifier(__LAZYFOREACHITEMGENFUNCTION)
1306 parameterList.push(ts.factory.createIdentifier(__LAZYFOREACHITEMIDFUNC));
1308 return ts.factory.createExpressionStatement(
1309 ts.factory.createCallExpression(
1310 ts.factory.createPropertyAccessExpression(
1311 ts.factory.createIdentifier(COMPONENT_LAZYFOREACH),
1312 ts.factory.createIdentifier(COMPONENT_CREATE_FUNCTION)
1322 return ts.factory.updateExpressionStatement(node, ts.factory.updateCallExpression(
1324 [ts.factory.createStringLiteral((++componentInfo.id).toString()),
1325 isGlobalBuilder ? parentConditionalExpression() : ts.factory.createThis(),
1330 return ts.factory.createConditionalExpression(
1331 ts.factory.createIdentifier(COMPONENT_CONSTRUCTOR_PARENT),
1332 ts.factory.createToken(ts.SyntaxKind.QuestionToken),
1333 ts.factory.createIdentifier(COMPONENT_CONSTRUCTOR_PARENT),
1334 ts.factory.createToken(ts.SyntaxKind.ColonToken),
1335 ts.factory.createThis());
1351 const statement: ts.Statement = ts.factory.createExpressionStatement(body);
1352 const blockNode: ts.Block = ts.factory.createBlock([statement], true);
1356 return ts.factory.updateArrowFunction(
1366 return ts.factory.updateArrowFunction(
1379 return ts.factory.createExpressionStatement(ts.factory.createBinaryExpression(
1380 ts.factory.createPropertyAccessExpression(
1381 ts.factory.createThis(),
1382 ts.factory.createIdentifier(IS_RENDERING_IN_PROGRESS)
1384 ts.factory.createToken(ts.SyntaxKind.EqualsToken),
1385 isTrue ? ts.factory.createTrue() : ts.factory.createFalse()
1410 node = ts.factory.updateIfStatement(node, ts.factory.createIdentifier(COMPONENT_IF_UNDEFINED),
1415 const newIfNode: ts.IfStatement = ts.factory.updateIfStatement(
1436 thenStatement = ts.factory.createBlock(
1443 thenStatement = ts.factory.createBlock([thenStatement], true);
1458 elseStatement = ts.factory.createBlock([elseStatement], true);
1462 elseStatement = ts.factory.createBlock([
1463 ts.factory.createExpressionStatement(ts.factory.createCallExpression(
1464 ts.factory.createPropertyAccessExpression(
1465 ts.factory.createThis(),
1466 ts.factory.createIdentifier(IFELSEBRANCHUPDATEFUNCTION)
1470 ts.factory.createNumericLiteral(++id),
1471 ts.factory.createArrowFunction(
1476 ts.factory.createToken(ts.SyntaxKind.EqualsGreaterThanToken),
1477 ts.factory.createBlock(
1502 return ts.factory.updateBlock(container, containerStatements);
1506 return ts.factory.createIdentifier(COMPONENT_IF);
1510 return ts.factory.createExpressionStatement(createFunction(createIf(),
1511 ts.factory.createIdentifier(COMPONENT_CREATE_FUNCTION), ts.factory.createNodeArray([])));
1515 return ts.factory.createExpressionStatement(createFunction(createIf(),
1516 ts.factory.createIdentifier(COMPONENT_POP_FUNCTION), null));
1520 return ts.factory.createExpressionStatement(createFunction(createIf(),
1521 ts.factory.createIdentifier(COMPONENT_IF_BRANCH_ID_FUNCTION),
1522 ts.factory.createNodeArray([ts.factory.createNumericLiteral(id)])));
1527 …return ts.factory.createExpressionStatement(ts.factory.createCallExpression(ts.factory.createPrope…
1528 isGlobalBuilder ? parentConditionalExpression() : ts.factory.createThis(),
1529 ts.factory.createIdentifier(IFELSEBRANCHUPDATEFUNCTION)), undefined,
1530 …[ts.factory.createNumericLiteral(id), ts.factory.createArrowFunction(undefined, undefined, [], und…
1531 …ts.factory.createToken(ts.SyntaxKind.EqualsGreaterThanToken), ts.factory.createBlock(innerStatemen…
1550 let identifierNode: ts.Identifier = ts.factory.createIdentifier(type);
1560 ? ts.factory.createIdentifier(COMPONENT_CREATE_CHILD_FUNCTION)
1561 : ts.factory.createIdentifier(COMPONENT_CREATE_LABEL_FUNCTION);
1570 ? ts.factory.createExpressionStatement(createFunction(temp, identifierNode, null))
1571 …: ts.factory.createExpressionStatement(createFunction(temp, identifierNode, checkArguments(temp, t…
1595 ts.factory.createStringLiteral(`${projectConfig.bundleName}/${projectConfig.moduleName}`)
1744 node = ts.factory.updateCallExpression(node, node.expression, node.typeArguments, newArguments);
1794 newProperties.push(ts.factory.updatePropertyAssignment(property, property.name,
1795 ts.factory.createCallExpression(
1796 ts.factory.createPropertyAccessExpression(
1798 ts.factory.createIdentifier(BUILDER_ATTR_BIND)
1801 [ts.factory.createThis()]
1807 newProperties.push(ts.factory.updatePropertyAssignment(property, property.name,
1816 return ts.factory.updateObjectLiteralExpression(node, newProperties);
1820 return ts.factory.updatePropertyAssignment(property, property.name,
1821 ts.factory.createCallExpression(
1822 ts.factory.createPropertyAccessExpression(
1824 ts.factory.createIdentifier(BUILDER_ATTR_BIND)
1827 [ts.factory.createThis(), ...(property.initializer.arguments || [])]
1856 node = ts.factory.updateCallExpression(node, node.expression, node.typeArguments, newArguments);
1869 …node = ts.factory.updateCallExpression(node, node.expression, node.typeArguments, [ts.factory.upda…
1873 …node.arguments[0].equalsGreaterThanToken, ts.factory.updateBlock(node.arguments[0].body, newStatem…
1892 … return ts.factory.createReturnStatement(ts.factory.createObjectLiteralExpression(newProperties));
1896 return ts.factory.updateReturnStatement(statement, initializer);
1907 property = ts.factory.createPropertyAssignment(property.name, initializer);
1914 …return processConditionalBuilder(initializer, ts.factory.createIdentifier(CUSTOM_COMPONENT_DEFAULT…
1916 } else if (isBuilderChangeNode(initializer, ts.factory.createIdentifier(CUSTOM_COMPONENT_DEFAULT),
1935 newProperties.push(ts.factory.updatePropertyAssignment(property, property.name, initializer));
1940 return ts.factory.updateObjectLiteralExpression(node, newProperties);
1953 return ts.factory.createConditionalExpression(
1963 return ts.factory.createObjectLiteralExpression([
1964 ts.factory.createPropertyAssignment(
1965 ts.factory.createIdentifier(BUILDER_ATTR_NAME),
1966 ts.factory.createCallExpression(
1967 ts.factory.createPropertyAccessExpression(
1969 ts.factory.createIdentifier(BUILDER_ATTR_BIND)
1972 [ts.factory.createThis()]
1979 return ts.factory.createCallExpression(
1980 ts.factory.createPropertyAccessExpression(
1982 ts.factory.createIdentifier(BUILDER_ATTR_BIND)
1985 [ts.factory.createThis()]
1990 return ts.factory.createObjectLiteralExpression([
1991 ts.factory.createPropertyAssignment(
1992 ts.factory.createIdentifier(BUILDER_ATTR_NAME),
1993 ts.factory.createCallExpression(
1994 … ts.factory.createPropertyAccessExpression(node, ts.factory.createIdentifier(BUILDER_ATTR_BIND)),
1995 undefined, [ts.factory.createThis()]
2002 return ts.factory.createCallExpression(
2003 ts.factory.createPropertyAccessExpression(node, ts.factory.createIdentifier(BUILDER_ATTR_BIND)),
2004 undefined, [ts.factory.createThis()]
2010 return ts.factory.createObjectLiteralExpression([
2011 ts.factory.createPropertyAssignment(
2012 ts.factory.createIdentifier(BUILDER_ATTR_NAME),
2013 ts.factory.createArrowFunction(
2018 ts.factory.createToken(ts.SyntaxKind.EqualsGreaterThanToken),
2019 ts.factory.createBlock(
2020 [ts.factory.createExpressionStatement(ts.factory.createCallExpression(
2021 … ts.factory.createPropertyAccessExpression(node.expression, ts.factory.createIdentifier(CALL)
2022 ), undefined, [ts.factory.createThis(), ...node.arguments]))],
2032 return ts.factory.createArrowFunction(
2037 ts.factory.createToken(ts.SyntaxKind.EqualsGreaterThanToken),
2038 ts.factory.createBlock(
2039 [ts.factory.createExpressionStatement(ts.factory.createCallExpression(
2040 ts.factory.createPropertyAccessExpression(node.expression, ts.factory.createIdentifier(CALL)
2041 ), undefined, [ts.factory.createThis(), ...node.arguments]))],
2057 return ts.factory.createArrowFunction(
2059 [ts.factory.createParameterDeclaration(
2061 ts.factory.createIdentifier($$_NEW_VALUE),
2065 ts.factory.createToken(ts.SyntaxKind.EqualsGreaterThanToken),
2066 ts.factory.createBlock(
2067 [ts.factory.createExpressionStatement(ts.factory.createBinaryExpression(
2069 ts.factory.createToken(ts.SyntaxKind.EqualsToken),
2070 ts.factory.createIdentifier($$_NEW_VALUE)
2079 return ts.factory.updateElementAccessExpression(
2084 return ts.factory.createThis();
2086 return ts.factory.createIdentifier(argument.getText().replace(/\$\$/, ''));
2089 return ts.factory.updatePropertyAccessExpression(
2136 const animationNullNode: ts.ExpressionStatement = ts.factory.createExpressionStatement(
2137 createFunction(ts.factory.createIdentifier(GLOBAL_CONTEXT), node,
2139 [ts.factory.createNull()]));
2148 lastStatement.statement = ts.factory.createExpressionStatement(createFunction(
2149 ts.factory.createIdentifier(GLOBAL_CONTEXT), node, temp.arguments));
2169 const extendNode: ts.Statement = ts.factory.createExpressionStatement(
2170 ts.factory.createCallExpression(ts.factory.createIdentifier(functionName), undefined,
2174 ...temp.arguments, ts.factory.createIdentifier(ELMTID),
2175 ts.factory.createIdentifier(ISINITIALRENDER),
2176 ts.factory.createThis()
2209 const doubleDollarNode: ts.Statement = ts.factory.createExpressionStatement(
2222 const attrStatement: ts.Statement = ts.factory.createExpressionStatement(
2323 node.arguments[index] = ts.factory.createCallExpression(
2356 return ts.factory.createObjectLiteralExpression(
2358 ts.factory.createPropertyAssignment(
2359 ts.factory.createIdentifier($$_VALUE),
2362 ts.factory.createPropertyAssignment(
2363 ts.factory.createIdentifier($$_CHANGE_EVENT),
2374 argument.push(ts.factory.createStringLiteral(item.name.getText()));
2376 return ts.factory.createExpressionStatement(ts.factory.createCallExpression(
2377 ts.factory.createPropertyAccessExpression(
2378 ts.factory.createIdentifier(VIEW_STACK_PROCESSOR),
2379 ts.factory.createIdentifier(VISUAL_STATE)
2412 bindComponentAttr(ts.factory.createExpressionStatement(
2416 bindComponentAttr(ts.factory.createExpressionStatement(
2464 const popNode: ts.Statement = ts.factory.createExpressionStatement(
2465 createFunction(ts.factory.createIdentifier(COMPONENT_GESTURE),
2466 ts.factory.createIdentifier(COMPONENT_POP_FUNCTION), null));
2470 const argumentArr: ts.NodeArray<ts.PropertyAccessExpression> = ts.factory.createNodeArray(
2471 [ts.factory.createPropertyAccessExpression(
2472 ts.factory.createIdentifier(GESTURE_ENUM_KEY),
2473 ts.factory.createIdentifier(gestureMap.get(propName)))
2481 const createNode: ts.Statement = ts.factory.createExpressionStatement(
2482 createFunction(ts.factory.createIdentifier(COMPONENT_GESTURE),
2483 ts.factory.createIdentifier(COMPONENT_CREATE_FUNCTION), argumentArr));
2491 const newNode: ts.ExpressionStatement = ts.factory.createExpressionStatement(node);
2498 newStatements.push(ts.factory.createExpressionStatement(
2499 createFunction(temp, ts.factory.createIdentifier(COMPONENT_POP_FUNCTION), null)));
2508 argumentArr = ts.factory.createNodeArray([temp.parent.arguments[0]]);
2510 newStatements.push(ts.factory.createExpressionStatement(
2511 createFunction(temp, ts.factory.createIdentifier(COMPONENT_CREATE_FUNCTION), argumentArr)));
2514 newStatements.push(ts.factory.createExpressionStatement(
2515 …createFunction(temp, ts.factory.createIdentifier(COMPONENT_CREATE_FUNCTION), temp.parent.arguments…
2764 …properties.push(ts.factory.updatePropertyAssignment(param, param.name, generateObjectFor$$(varExp)…
2769 arr.push(ts.factory.updateObjectLiteralExpression(item, properties));
2793 return ts.factory.createCallExpression(
2794 ts.factory.createPropertyAccessExpression(