Home
last modified time | relevance | path

Searched refs:newStatements (Results 1 – 3 of 3) sorted by relevance

/developtools/ace_ets2bundle/compiler/src/
Dprocess_component_build.ts196 const newStatements: ts.Statement[] = []; constant
197 …processComponentChild(node, newStatements, log, {isAcceleratePreview: false, line: 0, column: 0, f…
200 newStatements.unshift(createRenderingInProgress(true));
204 newStatements.unshift(ts.factory.createExpressionStatement(
208 newStatements.unshift(createComponentCreationStatement(ts.factory.createExpressionStatement(
214 newStatements.push(ts.factory.createExpressionStatement(
219 newStatements.push(createRenderingInProgress(false));
221 return ts.factory.updateBlock(node, newStatements);
306 export function processComponentChild(node: ts.Block | ts.SourceFile, newStatements: ts.Statement[],
337 …processInnerComponent(item, newStatements, log, parent, isBuilder, isGlobalBuilder, isTransition, …
[all …]
Dprocess_custom_component.ts115 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,
[all …]
/developtools/ace_ets2bundle/compiler/
Dbuild_declarations_file.js112 const newStatements = [];
130 newStatements.push(node);
135 processComponent(node, newStatements);
139 sourceFile = ts.factory.updateSourceFile(sourceFile, newStatements);
145 function processComponent(node, newStatements) { argument
170 newStatements.push(node);