Home
last modified time | relevance | path

Searched refs:variableDeclaration (Results 1 – 25 of 38) sorted by relevance

12

/third_party/typescript/src/services/
Dbreakpoints.ts369 …function textSpanFromVariableDeclaration(variableDeclaration: VariableDeclaration | PropertyDeclar…
370 … (isVariableDeclarationList(variableDeclaration.parent) && variableDeclaration.parent.declarations…
372 …turn textSpan(findPrecedingToken(variableDeclaration.pos, sourceFile, variableDeclaration.parent)!…
376 return textSpan(variableDeclaration);
380 …function spanInVariableDeclaration(variableDeclaration: VariableDeclaration | PropertyDeclaration …
382 if (variableDeclaration.parent.parent.kind === SyntaxKind.ForInStatement) {
383 return spanInNode(variableDeclaration.parent.parent);
386 const parent = variableDeclaration.parent;
388 if (isBindingPattern(variableDeclaration.name)) {
389 return spanInBindingPattern(variableDeclaration.name);
[all …]
Dcompletions.ts1617 const variableDeclaration = getVariableDeclaration(location); constant
1628 if (variableDeclaration && symbol.valueDeclaration === variableDeclaration) {
1666 const variableDeclaration = findAncestor(property, node => constant
1671 return variableDeclaration as VariableDeclaration | undefined;
/third_party/typescript/src/services/refactors/
DconvertArrowFunctionOrFunctionExpression.ts37 readonly variableDeclaration: VariableDeclaration; property
170 … const variableDeclaration = isVariableDeclaration(parent) ? parent : first(parent.declarations); constant
171 const initializer = variableDeclaration.initializer;
188 const variableDeclaration = func.parent; constant
189 …if (!isVariableDeclaration(variableDeclaration) || !isVariableDeclarationInVariableStatement(varia…
191 const variableDeclarationList = variableDeclaration.parent;
193 …clarationList) || !isVariableStatement(statement) || !isIdentifier(variableDeclaration.name)) retu…
195 …return { variableDeclaration, variableDeclarationList, statement, name: variableDeclaration.name };
209 const { variableDeclaration, variableDeclarationList, statement, name } = variableInfo; constant
218 t.delete(file, variableDeclaration);
DextractSymbol.ts959 const variableDeclaration = exposedVariableDeclarations[0]; constant
963 …SynthesizedDeepClone(variableDeclaration.name), /*exclamationToken*/ undefined, /*type*/ getSynthe…
964 variableDeclaration.parent.flags)));
973 for (const variableDeclaration of exposedVariableDeclarations) { constant
977 /*name*/ getSynthesizedDeepClone(variableDeclaration.name)));
981 … checker.getBaseTypeOfLiteralType(checker.getTypeAtLocation(variableDeclaration)),
987 /*name*/ variableDeclaration.symbol.name,
990 sawExplicitType = sawExplicitType || variableDeclaration.type !== undefined;
991 commonNodeFlags = commonNodeFlags & variableDeclaration.parent.flags;
1013 for (const variableDeclaration of exposedVariableDeclarations) { constant
[all …]
DconvertParamsToDestructuredObject.ts578 const variableDeclaration = constructorDeclaration.parent.parent; constant
580 if (className) return [className, variableDeclaration.name];
581 return [variableDeclaration.name];
602 const variableDeclaration = functionDeclaration.parent.parent; constant
603 return [variableDeclaration.name, ctrKeyword];
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DRecordConstantPrecision.cpp104 TIntermDeclaration *variableDeclaration = nullptr; in visitConstantUnion() local
105 TVariable *variable = DeclareTempVariable(mSymbolTable, node, EvqConst, &variableDeclaration); in visitConstantUnion()
106 insertStatementInParentBlock(variableDeclaration); in visitConstantUnion()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DRecordConstantPrecision.cpp140 TIntermDeclaration *variableDeclaration = nullptr; in visitConstantUnion() local
141 TVariable *variable = DeclareTempVariable(mSymbolTable, node, EvqConst, &variableDeclaration); in visitConstantUnion()
142 insertStatementInParentBlock(variableDeclaration); in visitConstantUnion()
DRewriteAtomicFunctionExpressions.cpp106 TIntermDeclaration *variableDeclaration; in getTempVariable() local
108 DeclareTempVariable(mSymbolTable, type, EvqTemporary, &variableDeclaration); in getTempVariable()
109 mTempVariables.push_back(variableDeclaration); in getTempVariable()
DRewriteExpressionsWithShaderStorageBlock.cpp142 TIntermDeclaration *variableDeclaration; in insertInitStatementAndReturnTempSymbol() local
144 DeclareTempVariable(mSymbolTable, node, EvqTemporary, &variableDeclaration); in insertInitStatementAndReturnTempSymbol()
146 insertions->push_back(variableDeclaration); in insertInitStatementAndReturnTempSymbol()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/
DRewriteAtomicFunctionExpressions.cpp106 TIntermDeclaration *variableDeclaration; in getTempVariable() local
108 DeclareTempVariable(mSymbolTable, type, EvqTemporary, &variableDeclaration); in getTempVariable()
109 mTempVariables.push_back(variableDeclaration); in getTempVariable()
DRewriteExpressionsWithShaderStorageBlock.cpp142 TIntermDeclaration *variableDeclaration; in insertInitStatementAndReturnTempSymbol() local
144 DeclareTempVariable(mSymbolTable, node, EvqTemporary, &variableDeclaration); in insertInitStatementAndReturnTempSymbol()
146 insertions->push_back(variableDeclaration); in insertInitStatementAndReturnTempSymbol()
/third_party/typescript/src/compiler/transformers/
Des2018.ts509 if (node.variableDeclaration &&
510 isBindingPattern(node.variableDeclaration.name) &&
511 … node.variableDeclaration.name.transformFlags & TransformFlags.ContainsObjectRestOrSpread) {
512 const name = factory.getGeneratedNameForNode(node.variableDeclaration.name);
513 … updatedDecl = factory.updateVariableDeclaration(node.variableDeclaration, node.variableDeclaratio…
524 …factory.updateVariableDeclaration(node.variableDeclaration, name, /*exclamationToken*/ undefined, …
Des2019.ts28 if (!node.variableDeclaration) {
Des2015.ts3489 …Debug.assert(!!node.variableDeclaration, "Catch clause variable should always be present when down…
3490 if (isBindingPattern(node.variableDeclaration.name)) {
3493 setTextRange(newVariableDeclaration, node.variableDeclaration);
3495 node.variableDeclaration,
3502 setTextRange(list, node.variableDeclaration);
Des2017.ts188 recordDeclarationName(node.variableDeclaration!, catchClauseNames); // TODO: GH#18217
/third_party/typescript/src/compiler/factory/
DnodeFactory.ts4857 …function createCatchClause(variableDeclaration: string | VariableDeclaration | undefined, block: B…
4859variableDeclaration = !isString(variableDeclaration) ? variableDeclaration : createVariableDeclara…
4860 variableDeclaration,
4865 node.variableDeclaration = variableDeclaration;
4868 propagateChildFlags(node.variableDeclaration) |
4870 if (!variableDeclaration) node.transformFlags |= TransformFlags.ContainsES2019;
4875 …function updateCatchClause(node: CatchClause, variableDeclaration: VariableDeclaration | undefined…
4876 return node.variableDeclaration !== variableDeclaration
4878 ? update(createCatchClause(variableDeclaration, block), node)
/third_party/typescript/src/linter/
DTypeScriptLinter.ts1097 if (tsCatch.variableDeclaration && tsCatch.variableDeclaration.type) {
/third_party/typescript/src/compiler/transformers/module/
Dsystem.ts1440 node.variableDeclaration,
/third_party/typescript/src/compiler/
Demitter.ts3525 if (node.variableDeclaration) {
3527 emit(node.variableDeclaration);
3528 …emitTokenWithComment(SyntaxKind.CloseParenToken, node.variableDeclaration.end, writePunctuation, n…
4755 generateNames((<CatchClause>node).variableDeclaration);
/third_party/typescript/lib/
Dtypescript.js24556 function createCatchClause(variableDeclaration, block) { argument
24558variableDeclaration = !ts.isString(variableDeclaration) ? variableDeclaration : createVariableDecl…
24562 node.variableDeclaration = variableDeclaration;
24565 propagateChildFlags(node.variableDeclaration) |
24567 if (!variableDeclaration)
24572 function updateCatchClause(node, variableDeclaration, block) { argument
24573 return node.variableDeclaration !== variableDeclaration
24575 ? update(createCatchClause(variableDeclaration, block), node)
28651 return visitNode(cbNode, node.variableDeclaration) ||
33468 var variableDeclaration;
[all …]
DtypescriptServices.js24556 function createCatchClause(variableDeclaration, block) { argument
24558variableDeclaration = !ts.isString(variableDeclaration) ? variableDeclaration : createVariableDecl…
24562 node.variableDeclaration = variableDeclaration;
24565 propagateChildFlags(node.variableDeclaration) |
24567 if (!variableDeclaration)
24572 function updateCatchClause(node, variableDeclaration, block) { argument
24573 return node.variableDeclaration !== variableDeclaration
24575 ? update(createCatchClause(variableDeclaration, block), node)
28651 return visitNode(cbNode, node.variableDeclaration) ||
33468 var variableDeclaration;
[all …]
Dtsserverlibrary.js24556 function createCatchClause(variableDeclaration, block) { argument
24558variableDeclaration = !ts.isString(variableDeclaration) ? variableDeclaration : createVariableDecl…
24562 node.variableDeclaration = variableDeclaration;
24565 propagateChildFlags(node.variableDeclaration) |
24567 if (!variableDeclaration)
24572 function updateCatchClause(node, variableDeclaration, block) { argument
24573 return node.variableDeclaration !== variableDeclaration
24575 ? update(createCatchClause(variableDeclaration, block), node)
28651 return visitNode(cbNode, node.variableDeclaration) ||
33468 var variableDeclaration;
[all …]
Dtsserver.js24362 function createCatchClause(variableDeclaration, block) { argument
24364variableDeclaration = !ts.isString(variableDeclaration) ? variableDeclaration : createVariableDecl…
24368 node.variableDeclaration = variableDeclaration;
24371 propagateChildFlags(node.variableDeclaration) |
24373 if (!variableDeclaration)
24378 function updateCatchClause(node, variableDeclaration, block) { argument
24379 return node.variableDeclaration !== variableDeclaration
24381 ? update(createCatchClause(variableDeclaration, block), node)
28457 return visitNode(cbNode, node.variableDeclaration) ||
33274 var variableDeclaration;
[all …]
Dtypescript.d.ts1520 readonly variableDeclaration?: VariableDeclaration; property
3572 …createCatchClause(variableDeclaration: string | VariableDeclaration | undefined, block: Block): Ca…
3573 …updateCatchClause(node: CatchClause, variableDeclaration: VariableDeclaration | undefined, block: …
7066 …const createCatchClause: (variableDeclaration: string | VariableDeclaration | undefined, block: Bl…
7068 …const updateCatchClause: (node: CatchClause, variableDeclaration: VariableDeclaration | undefined,…
DtypescriptServices.d.ts1520 readonly variableDeclaration?: VariableDeclaration; property
3572 …createCatchClause(variableDeclaration: string | VariableDeclaration | undefined, block: Block): Ca…
3573 …updateCatchClause(node: CatchClause, variableDeclaration: VariableDeclaration | undefined, block: …
7066 …const createCatchClause: (variableDeclaration: string | VariableDeclaration | undefined, block: Bl…
7068 …const updateCatchClause: (node: CatchClause, variableDeclaration: VariableDeclaration | undefined,…

12