/third_party/typescript/src/services/refactors/ |
D | convertArrowFunctionOrFunctionExpression.ts | 37 readonly variableDeclaration: VariableDeclaration; property 171 … const variableDeclaration = isVariableDeclaration(parent) ? parent : first(parent.declarations); constant 172 const initializer = variableDeclaration.initializer; 193 const variableDeclaration = func.parent; constant 194 …if (!isVariableDeclaration(variableDeclaration) || !isVariableDeclarationInVariableStatement(varia… 196 const variableDeclarationList = variableDeclaration.parent; 198 …clarationList) || !isVariableStatement(statement) || !isIdentifier(variableDeclaration.name)) retu… 200 …return { variableDeclaration, variableDeclarationList, statement, name: variableDeclaration.name }; 214 const { variableDeclaration, variableDeclarationList, statement, name } = variableInfo; constant 217 …const modifiersFlags = (getCombinedModifierFlags(variableDeclaration) & ModifierFlags.Export) | ge… [all …]
|
D | extractSymbol.ts | 1015 const variableDeclaration = exposedVariableDeclarations[0]; constant 1019 …SynthesizedDeepClone(variableDeclaration.name), /*exclamationToken*/ undefined, /*type*/ getSynthe… 1020 variableDeclaration.parent.flags))); 1029 for (const variableDeclaration of exposedVariableDeclarations) { constant 1033 /*name*/ getSynthesizedDeepClone(variableDeclaration.name))); 1037 … checker.getBaseTypeOfLiteralType(checker.getTypeAtLocation(variableDeclaration)), 1043 /*name*/ variableDeclaration.symbol.name, 1046 sawExplicitType = sawExplicitType || variableDeclaration.type !== undefined; 1047 commonNodeFlags = commonNodeFlags & variableDeclaration.parent.flags; 1069 for (const variableDeclaration of exposedVariableDeclarations) { constant [all …]
|
D | convertParamsToDestructuredObject.ts | 576 const variableDeclaration = constructorDeclaration.parent.parent; constant 578 if (className) return [className, variableDeclaration.name]; 579 return [variableDeclaration.name]; 600 const variableDeclaration = functionDeclaration.parent.parent; constant 601 return [variableDeclaration.name, ctrKeyword];
|
/third_party/typescript/src/services/ |
D | breakpoints.ts | 380 …function textSpanFromVariableDeclaration(variableDeclaration: VariableDeclaration | PropertyDeclar… 381 … (isVariableDeclarationList(variableDeclaration.parent) && variableDeclaration.parent.declarations… 383 …turn textSpan(findPrecedingToken(variableDeclaration.pos, sourceFile, variableDeclaration.parent)!… 387 return textSpan(variableDeclaration); 391 …function spanInVariableDeclaration(variableDeclaration: VariableDeclaration | PropertyDeclaration … 393 if (variableDeclaration.parent.parent.kind === SyntaxKind.ForInStatement) { 394 return spanInNode(variableDeclaration.parent.parent); 397 const parent = variableDeclaration.parent; 399 if (isBindingPattern(variableDeclaration.name)) { 400 return spanInBindingPattern(variableDeclaration.name); [all …]
|
D | completions.ts | 1418 const variableDeclaration = getVariableDeclaration(location); constant 1505 if (variableDeclaration && symbol.valueDeclaration === variableDeclaration) { 4529 const variableDeclaration = findAncestor(property, node => constant 4534 return variableDeclaration as VariableDeclaration | undefined;
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
D | RecordConstantPrecision.cpp | 104 TIntermDeclaration *variableDeclaration = nullptr; in visitConstantUnion() local 105 TVariable *variable = DeclareTempVariable(mSymbolTable, node, EvqConst, &variableDeclaration); in visitConstantUnion() 106 insertStatementInParentBlock(variableDeclaration); in visitConstantUnion()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/ |
D | RewriteAtomicFunctionExpressions.cpp | 106 TIntermDeclaration *variableDeclaration; in getTempVariable() local 108 DeclareTempVariable(mSymbolTable, type, EvqTemporary, &variableDeclaration); in getTempVariable() 109 mTempVariables.push_back(variableDeclaration); in getTempVariable()
|
D | RewriteExpressionsWithShaderStorageBlock.cpp | 142 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/ |
D | es2019.ts | 28 if (!node.variableDeclaration) {
|
D | es2018.ts | 510 if (node.variableDeclaration && 511 isBindingPattern(node.variableDeclaration.name) && 512 … node.variableDeclaration.name.transformFlags & TransformFlags.ContainsObjectRestOrSpread) { 513 const name = factory.getGeneratedNameForNode(node.variableDeclaration.name); 514 … updatedDecl = factory.updateVariableDeclaration(node.variableDeclaration, node.variableDeclaratio… 525 …factory.updateVariableDeclaration(node.variableDeclaration, name, /*exclamationToken*/ undefined, …
|
D | es2015.ts | 3587 …Debug.assert(!!node.variableDeclaration, "Catch clause variable should always be present when down… 3588 if (isBindingPattern(node.variableDeclaration.name)) { 3591 setTextRange(newVariableDeclaration, node.variableDeclaration); 3593 node.variableDeclaration, 3600 setTextRange(list, node.variableDeclaration);
|
D | es2017.ts | 191 recordDeclarationName(node.variableDeclaration!, catchClauseNames); // TODO: GH#18217
|
D | generators.ts | 1926 beginCatchBlock(node.catchClause.variableDeclaration!); // TODO: GH#18217
|
/third_party/typescript/src/compiler/factory/ |
D | nodeFactory.ts | 5269 …function createCatchClause(variableDeclaration: string | BindingName | VariableDeclaration | undef… 5271 …if (typeof variableDeclaration === "string" || variableDeclaration && !isVariableDeclaration(varia… 5272 variableDeclaration = createVariableDeclaration( 5273 variableDeclaration, 5279 node.variableDeclaration = variableDeclaration; 5282 propagateChildFlags(node.variableDeclaration) | 5284 if (!variableDeclaration) node.transformFlags |= TransformFlags.ContainsES2019; 5289 …function updateCatchClause(node: CatchClause, variableDeclaration: VariableDeclaration | undefined… 5290 return node.variableDeclaration !== variableDeclaration 5292 ? update(createCatchClause(variableDeclaration, block), node)
|
/third_party/typescript/src/linter/ArkTSLinter_1_0/ |
D | TypeScriptLinter.ts | 1133 if (tsCatch.variableDeclaration && tsCatch.variableDeclaration.type) {
|
/third_party/typescript/src/linter/ArkTSLinter_1_1/ |
D | TypeScriptLinter.ts | 1170 if (tsCatch.variableDeclaration && tsCatch.variableDeclaration.type) {
|
D | Utils.ts | 105 const catchClauseNode = (nodeOrComment as CatchClause).variableDeclaration;
|
/third_party/typescript/src/compiler/transformers/module/ |
D | system.ts | 1449 node.variableDeclaration,
|
/third_party/typescript/src/compiler/ |
D | emitter.ts | 3782 if (node.variableDeclaration) { 3784 emit(node.variableDeclaration); 3785 …emitTokenWithComment(SyntaxKind.CloseParenToken, node.variableDeclaration.end, writePunctuation, n… 5105 generateNames((node as CatchClause).variableDeclaration);
|
D | binder.ts | 2250 if (inStrictMode && node.variableDeclaration) { 2251 checkStrictModeEvalOrArguments(node, node.variableDeclaration.name);
|
D | parser.ts | 500 return visitNode(cbNode, node.variableDeclaration) || 6787 let variableDeclaration; 6789 variableDeclaration = parseVariableDeclaration(); 6794 variableDeclaration = undefined; 6798 return finishNode(factory.createCatchClause(variableDeclaration, block), pos);
|
D | visitorPublic.ts | 1294 nodeVisitor(node.variableDeclaration, visitor, isVariableDeclaration),
|
/third_party/typescript/lib/ |
D | typescript.d.ts | 1599 readonly variableDeclaration?: VariableDeclaration; property 3990 …createCatchClause(variableDeclaration: string | BindingName | VariableDeclaration | undefined, blo… 3991 …updateCatchClause(node: CatchClause, variableDeclaration: VariableDeclaration | undefined, block: … 8095 …const createCatchClause: (variableDeclaration: string | VariableDeclaration | BindingName | undefi… 8097 …const updateCatchClause: (node: CatchClause, variableDeclaration: VariableDeclaration | undefined,…
|
D | typescriptServices.d.ts | 1599 readonly variableDeclaration?: VariableDeclaration; property 3990 …createCatchClause(variableDeclaration: string | BindingName | VariableDeclaration | undefined, blo… 3991 …updateCatchClause(node: CatchClause, variableDeclaration: VariableDeclaration | undefined, block: … 8095 …const createCatchClause: (variableDeclaration: string | VariableDeclaration | BindingName | undefi… 8097 …const updateCatchClause: (node: CatchClause, variableDeclaration: VariableDeclaration | undefined,…
|
/third_party/typescript/tests/baselines/reference/api/ |
D | typescript.d.ts | 1599 readonly variableDeclaration?: VariableDeclaration; property 3990 …createCatchClause(variableDeclaration: string | BindingName | VariableDeclaration | undefined, blo… 3991 …updateCatchClause(node: CatchClause, variableDeclaration: VariableDeclaration | undefined, block: … 8095 …const createCatchClause: (variableDeclaration: string | VariableDeclaration | BindingName | undefi… 8097 …const updateCatchClause: (node: CatchClause, variableDeclaration: VariableDeclaration | undefined,…
|