Lines Matching refs:newStatements
115 export function processCustomComponent(node: ts.ExpressionStatement, newStatements: ts.Statement[],
156 judgeIdStart = newStatements.length;
166 newStatements.push(createComponentCreationStatement(componentAttributes(COMPONENT_COMMON),
169 newStatements.push(ts.factory.createExpressionStatement(
172 bindComponentAttr(node, ts.factory.createIdentifier(COMPONENT_COMMON), newStatements, log);
176 newStatements.push(createRecycleComponent(isGlobalBuilder));
178 addCustomComponent(node, newStatements, customComponentNewExpression, log, name, componentNode,
181 newStatements.push(ts.factory.createExpressionStatement(
186 newStatements.push(componentAttributes(COMPONENT_RECYCLE));
189 newStatements.splice(judgeIdStart, newStatements.length - judgeIdStart,
190 ifRetakeId(newStatements.slice(judgeIdStart), idName));
243 function addCustomComponent(node: ts.ExpressionStatement, newStatements: ts.Statement[],
250 addCustomComponentStatements(node, newStatements, newNode, name, propertyArray, componentNode,
255 function addCustomComponentStatements(node: ts.ExpressionStatement, newStatements: ts.Statement[],
261 … newStatements.push(createFindChildById(id, name, isBuilder), createCustomComponentIfStatement(id,
265 … newStatements.push(createCustomComponent(newNode, name, componentNode, isGlobalBuilder, isBuilder,