Home
last modified time | relevance | path

Searched refs:firstDeclaration (Results 1 – 13 of 13) sorted by relevance

/third_party/typescript/src/compiler/
Dtracing.ts194 const firstDeclaration = symbol?.declarations?.[0]; constant
195 const firstFile = firstDeclaration && getSourceFileOfNode(firstDeclaration);
261 firstDeclaration: firstDeclaration && {
263 … start: indexFromOne(getLineAndCharacterOfPosition(firstFile, firstDeclaration.pos)),
264 …xFromOne(getLineAndCharacterOfPosition(getSourceFileOfNode(firstDeclaration), firstDeclaration.end…
Dchecker.ts32807 const firstDeclaration = getDeclarationOfKind(symbol, node.kind);
32810 if (node === firstDeclaration) {
34252 const firstDeclaration = find(localSymbol.declarations,
34257 if (node === firstDeclaration) {
34966 …function errorNextVariableOrPropertyDeclarationMustHaveSameType(firstDeclaration: Declaration | un…
34979 if (firstDeclaration) {
34981 … createDiagnosticForNode(firstDeclaration, Diagnostics._0_was_also_declared_here, declName)
37176 const firstDeclaration = getDeclarationOfKind(enumSymbol, node.kind);
37177 if (node === firstDeclaration) {
40836 const firstDeclaration = declarations[0];
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DSymbolTable.cpp112 TFunction *firstDeclaration = findUserDefinedFunction(function->getMangledName()); in setFunctionParameterNamesFromDefinition() local
113 ASSERT(firstDeclaration); in setFunctionParameterNamesFromDefinition()
117 if (function != firstDeclaration) in setFunctionParameterNamesFromDefinition()
121 firstDeclaration->shareParameters(*function); in setFunctionParameterNamesFromDefinition()
124 *wasDefinedOut = firstDeclaration->isDefined(); in setFunctionParameterNamesFromDefinition()
125 firstDeclaration->setDefined(); in setFunctionParameterNamesFromDefinition()
126 return firstDeclaration; in setFunctionParameterNamesFromDefinition()
/third_party/typescript/src/services/codefixes/
DconvertFunctionToEs6Class.ts65 const firstDeclaration = member.declarations[0]; constant
68 isPropertyAccessExpression(firstDeclaration) &&
69 isBinaryExpression(firstDeclaration.parent) &&
70 firstDeclaration.parent.operatorToken.kind === SyntaxKind.EqualsToken &&
71 isObjectLiteralExpression(firstDeclaration.parent.right)
73 const prototypes = firstDeclaration.parent.right;
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DSymbolTable.cpp149 TFunction *firstDeclaration = findUserDefinedFunction(function->getMangledName()); in setFunctionParameterNamesFromDefinition() local
150 ASSERT(firstDeclaration); in setFunctionParameterNamesFromDefinition()
154 if (function != firstDeclaration) in setFunctionParameterNamesFromDefinition()
158 firstDeclaration->shareParameters(*function); in setFunctionParameterNamesFromDefinition()
161 *wasDefinedOut = firstDeclaration->isDefined(); in setFunctionParameterNamesFromDefinition()
162 firstDeclaration->setDefined(); in setFunctionParameterNamesFromDefinition()
163 return firstDeclaration; in setFunctionParameterNamesFromDefinition()
/third_party/typescript/src/compiler/factory/
Dutilities.ts129 const firstDeclaration = first(node.declarations); constant
131 firstDeclaration,
132 firstDeclaration.name,
/third_party/typescript/src/services/refactors/
DextractSymbol.ts1317 let firstDeclaration;
1322 if (firstDeclaration === undefined || declaration.pos < firstDeclaration.pos) {
1323 firstDeclaration = declaration;
1328 return firstDeclaration;
/third_party/typescript/lib/
DtypescriptServices.js3828 …var firstDeclaration = (_b = symbol === null || symbol === void 0 ? void 0 : symbol.declarations) …
3829 var firstFile = firstDeclaration && ts.getSourceFileOfNode(firstDeclaration);
3877 …roperties), referenceProperties), conditionalProperties), { firstDeclaration: firstDeclaration && { property
3879 … start: indexFromOne(ts.getLineAndCharacterOfPosition(firstFile, firstDeclaration.pos)),
3880 …ne(ts.getLineAndCharacterOfPosition(ts.getSourceFileOfNode(firstDeclaration), firstDeclaration.end…
27688 var firstDeclaration = ts.first(node.declarations);
27689 …var updatedDeclaration = factory.updateVariableDeclaration(firstDeclaration, firstDeclaration.name…
73782 var firstDeclaration = ts.getDeclarationOfKind(symbol, node.kind);
73784 if (node === firstDeclaration) {
75054 var firstDeclaration = ts.find(localSymbol.declarations,
[all …]
Dtsserverlibrary.js3828 …var firstDeclaration = (_b = symbol === null || symbol === void 0 ? void 0 : symbol.declarations) …
3829 var firstFile = firstDeclaration && ts.getSourceFileOfNode(firstDeclaration);
3877 …roperties), referenceProperties), conditionalProperties), { firstDeclaration: firstDeclaration && { property
3879 … start: indexFromOne(ts.getLineAndCharacterOfPosition(firstFile, firstDeclaration.pos)),
3880 …ne(ts.getLineAndCharacterOfPosition(ts.getSourceFileOfNode(firstDeclaration), firstDeclaration.end…
27688 var firstDeclaration = ts.first(node.declarations);
27689 …var updatedDeclaration = factory.updateVariableDeclaration(firstDeclaration, firstDeclaration.name…
73782 var firstDeclaration = ts.getDeclarationOfKind(symbol, node.kind);
73784 if (node === firstDeclaration) {
75054 var firstDeclaration = ts.find(localSymbol.declarations,
[all …]
Dtsserver.js3634 …var firstDeclaration = (_b = symbol === null || symbol === void 0 ? void 0 : symbol.declarations) …
3635 var firstFile = firstDeclaration && ts.getSourceFileOfNode(firstDeclaration);
3683 …roperties), referenceProperties), conditionalProperties), { firstDeclaration: firstDeclaration && { property
3685 … start: indexFromOne(ts.getLineAndCharacterOfPosition(firstFile, firstDeclaration.pos)),
3686 …ne(ts.getLineAndCharacterOfPosition(ts.getSourceFileOfNode(firstDeclaration), firstDeclaration.end…
27494 var firstDeclaration = ts.first(node.declarations);
27495 …var updatedDeclaration = factory.updateVariableDeclaration(firstDeclaration, firstDeclaration.name…
73588 var firstDeclaration = ts.getDeclarationOfKind(symbol, node.kind);
73590 if (node === firstDeclaration) {
74860 var firstDeclaration = ts.find(localSymbol.declarations,
[all …]
Dtypescript.js3828 …var firstDeclaration = (_b = symbol === null || symbol === void 0 ? void 0 : symbol.declarations) …
3829 var firstFile = firstDeclaration && ts.getSourceFileOfNode(firstDeclaration);
3877 …roperties), referenceProperties), conditionalProperties), { firstDeclaration: firstDeclaration && { property
3879 … start: indexFromOne(ts.getLineAndCharacterOfPosition(firstFile, firstDeclaration.pos)),
3880 …ne(ts.getLineAndCharacterOfPosition(ts.getSourceFileOfNode(firstDeclaration), firstDeclaration.end…
27688 var firstDeclaration = ts.first(node.declarations);
27689 …var updatedDeclaration = factory.updateVariableDeclaration(firstDeclaration, firstDeclaration.name…
73782 var firstDeclaration = ts.getDeclarationOfKind(symbol, node.kind);
73784 if (node === firstDeclaration) {
75054 var firstDeclaration = ts.find(localSymbol.declarations,
[all …]
Dtsc.js3034 …var firstDeclaration = (_b = symbol === null || symbol === void 0 ? void 0 : symbol.declarations) …
3035 var firstFile = firstDeclaration && ts.getSourceFileOfNode(firstDeclaration);
3080 …roperties), referenceProperties), conditionalProperties), { firstDeclaration: firstDeclaration && { property
3082 … start: indexFromOne(ts.getLineAndCharacterOfPosition(firstFile, firstDeclaration.pos)),
3083 …ne(ts.getLineAndCharacterOfPosition(ts.getSourceFileOfNode(firstDeclaration), firstDeclaration.end…
22186 var firstDeclaration = ts.first(node.declarations);
22187 …var updatedDeclaration = factory.updateVariableDeclaration(firstDeclaration, firstDeclaration.name…
61621 var firstDeclaration = ts.getDeclarationOfKind(symbol, node.kind);
61622 if (node === firstDeclaration) {
62648 …var firstDeclaration = ts.find(localSymbol.declarations, function (declaration) { return declarati…
[all …]
DtypingsInstaller.js3623 …var firstDeclaration = (_b = symbol === null || symbol === void 0 ? void 0 : symbol.declarations) …
3624 var firstFile = firstDeclaration && ts.getSourceFileOfNode(firstDeclaration);
3672 …roperties), referenceProperties), conditionalProperties), { firstDeclaration: firstDeclaration && { property
3674 … start: indexFromOne(ts.getLineAndCharacterOfPosition(firstFile, firstDeclaration.pos)),
3675 …ne(ts.getLineAndCharacterOfPosition(ts.getSourceFileOfNode(firstDeclaration), firstDeclaration.end…
27483 var firstDeclaration = ts.first(node.declarations);
27484 …var updatedDeclaration = factory.updateVariableDeclaration(firstDeclaration, firstDeclaration.name…
73577 var firstDeclaration = ts.getDeclarationOfKind(symbol, node.kind);
73579 if (node === firstDeclaration) {
74849 var firstDeclaration = ts.find(localSymbol.declarations,
[all …]