/third_party/typescript/tests/baselines/reference/ |
D | parserRealSource7.js | 501 var varDecl = <VarDecl>ast; variable 502 var isAmbient = hasFlag(varDecl.varFlags, VarFlags.Ambient); 503 var isExported = hasFlag(varDecl.varFlags, VarFlags.Exported); 505 var isProperty = hasFlag(varDecl.varFlags, VarFlags.Property); 506 var isStatic = hasFlag(varDecl.varFlags, VarFlags.Static); 507 var isPrivate = hasFlag(varDecl.varFlags, VarFlags.Private); 508 var isOptional = hasFlag(varDecl.id.flags, ASTFlags.OptionalName); 519 <FieldSymbol>scopeChain.scope.findLocal(varDecl.id.text, false, false); 521 varDecl.sym = existingSym; 527 if (varDecl.id == null) { [all …]
|
D | parserRealSource7.types | 2755 var varDecl = <VarDecl>ast; 2756 >varDecl : VarDecl 2760 var isAmbient = hasFlag(varDecl.varFlags, VarFlags.Ambient); 2762 >hasFlag(varDecl.varFlags, VarFlags.Ambient) : any 2764 >varDecl.varFlags : any 2765 >varDecl : VarDecl 2771 var isExported = hasFlag(varDecl.varFlags, VarFlags.Exported); 2773 >hasFlag(varDecl.varFlags, VarFlags.Exported) : any 2775 >varDecl.varFlags : any 2776 >varDecl : VarDecl [all …]
|
D | parserRealSource7.symbols | 1429 var varDecl = <VarDecl>ast; 1430 >varDecl : Symbol(varDecl, Decl(parserRealSource7.ts, 499, 11)) 1434 var isAmbient = hasFlag(varDecl.varFlags, VarFlags.Ambient); 1436 >varDecl : Symbol(varDecl, Decl(parserRealSource7.ts, 499, 11)) 1438 var isExported = hasFlag(varDecl.varFlags, VarFlags.Exported); 1440 >varDecl : Symbol(varDecl, Decl(parserRealSource7.ts, 499, 11)) 1447 var isProperty = hasFlag(varDecl.varFlags, VarFlags.Property); 1449 >varDecl : Symbol(varDecl, Decl(parserRealSource7.ts, 499, 11)) 1451 var isStatic = hasFlag(varDecl.varFlags, VarFlags.Static); 1453 >varDecl : Symbol(varDecl, Decl(parserRealSource7.ts, 499, 11)) [all …]
|
D | parserRealSource7.errors.txt | 1220 var varDecl = <VarDecl>ast; 1223 var isAmbient = hasFlag(varDecl.varFlags, VarFlags.Ambient); 1228 var isExported = hasFlag(varDecl.varFlags, VarFlags.Exported); 1234 var isProperty = hasFlag(varDecl.varFlags, VarFlags.Property); 1239 var isStatic = hasFlag(varDecl.varFlags, VarFlags.Static); 1244 var isPrivate = hasFlag(varDecl.varFlags, VarFlags.Private); 1249 var isOptional = hasFlag(varDecl.id.flags, ASTFlags.OptionalName); 1264 <FieldSymbol>scopeChain.scope.findLocal(varDecl.id.text, false, false); 1268 varDecl.sym = existingSym; 1274 if (varDecl.id == null) { [all …]
|
D | parserRealSource13.types | 372 VarDeclCallback? (pre, varDecl: VarDecl): boolean; 373 >VarDeclCallback : (pre: any, varDecl: VarDecl) => boolean 375 >varDecl : VarDecl
|
D | parserRealSource13.js | 81 VarDeclCallback? (pre, varDecl: VarDecl): boolean;
|
D | parserRealSource13.symbols | 446 VarDeclCallback? (pre, varDecl: VarDecl): boolean; 449 >varDecl : Symbol(varDecl, Decl(parserRealSource13.ts, 79, 30))
|
D | parserRealSource13.errors.txt | 345 VarDeclCallback? (pre, varDecl: VarDecl): boolean;
|
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/ |
D | parserRealSource7.ts | 500 var varDecl = <VarDecl>ast; 501 var isAmbient = hasFlag(varDecl.varFlags, VarFlags.Ambient); 502 var isExported = hasFlag(varDecl.varFlags, VarFlags.Exported); 504 var isProperty = hasFlag(varDecl.varFlags, VarFlags.Property); 505 var isStatic = hasFlag(varDecl.varFlags, VarFlags.Static); 506 var isPrivate = hasFlag(varDecl.varFlags, VarFlags.Private); 507 var isOptional = hasFlag(varDecl.id.flags, ASTFlags.OptionalName); 518 <FieldSymbol>scopeChain.scope.findLocal(varDecl.id.text, false, false); 520 varDecl.sym = existingSym; 526 if (varDecl.id == null) { [all …]
|
D | parserRealSource13.ts | 80 VarDeclCallback? (pre, varDecl: VarDecl): boolean;
|
/third_party/skia/src/sksl/transform/ |
D | SkSLEliminateDeadLocalVariables.cpp | 35 VarDeclaration& varDecl = stmt->as<VarDeclaration>(); in EliminateDeadLocalVariables() local 36 const Variable* var = &varDecl.var(); in EliminateDeadLocalVariables() 46 stmt = ExpressionStatement::Make(fContext, std::move(varDecl.value())); in EliminateDeadLocalVariables()
|
D | SkSLEliminateDeadGlobalVariables.cpp | 27 const VarDeclaration& varDecl = global.declaration()->as<VarDeclaration>(); in EliminateDeadGlobalVariables() local 28 if (!usage->isDead(varDecl.var())) { in EliminateDeadGlobalVariables()
|
/third_party/typescript/src/services/refactors/ |
D | moveToNewFile.ts | 400 …function deleteUnusedImportsInVariableDeclaration(sourceFile: SourceFile, varDecl: VariableDeclara… 401 const { name } = varDecl; 405 …if (varDecl.initializer && isRequireCall(varDecl.initializer, /*requireStringLiteralLikeArgument*/… 407 …isVariableDeclarationList(varDecl.parent) && length(varDecl.parent.declarations) === 1 ? varDecl.p… 419 …isVariableDeclarationList(varDecl.parent) && varDecl.parent.declarations.length === 1 ? varDecl.pa…
|
/third_party/skia/src/sksl/ir/ |
D | SkSLVarDeclarations.cpp | 168 std::unique_ptr<Statement> varDecl = VarDeclaration::Make(context, var.get(), baseType, in Convert() local 170 if (!varDecl) { in Convert() 201 return varDecl; in Convert()
|
/third_party/typescript/tests/cases/fourslash/ |
D | renameDeclarationKeywords.ts | 68 varDecl, constant
|
/third_party/skia/src/sksl/codegen/ |
D | SkSLMetalCodeGenerator.cpp | 2077 void MetalCodeGenerator::writeVarDeclaration(const VarDeclaration& varDecl) { in writeVarDeclaration() argument 2078 this->writeModifiers(varDecl.var().modifiers()); in writeVarDeclaration() 2079 this->writeType(varDecl.var().type()); in writeVarDeclaration() 2081 this->writeName(varDecl.var().name()); in writeVarDeclaration() 2082 if (varDecl.value()) { in writeVarDeclaration() 2084 this->writeVarInitializer(varDecl.var(), *varDecl.value()); in writeVarDeclaration()
|
D | SkSLSPIRVCodeGenerator.cpp | 3099 void SPIRVCodeGenerator::writeGlobalVar(ProgramKind kind, const VarDeclaration& varDecl) { in writeGlobalVar() argument 3100 const Variable& var = varDecl.var(); in writeGlobalVar() 3115 fTopLevelUniforms.push_back(&varDecl); in writeGlobalVar() 3128 if (varDecl.value()) { in writeGlobalVar() 3131 SpvId value = this->writeExpression(*varDecl.value(), fGlobalInitializersBuffer); in writeGlobalVar() 3145 void SPIRVCodeGenerator::writeVarDeclaration(const VarDeclaration& varDecl, OutputStream& out) { in writeVarDeclaration() argument 3146 const Variable& var = varDecl.var(); in writeVarDeclaration() 3152 if (varDecl.value()) { in writeVarDeclaration() 3153 SpvId value = this->writeExpression(*varDecl.value(), out); in writeVarDeclaration()
|
/third_party/typescript/src/compiler/transformers/ |
D | declarations.ts | 1174 …const varDecl = factory.createVariableDeclaration(newId, /*exclamationToken*/ undefined, resolver.… constant 1176 …SyntaxKind.DeclareKeyword)] : [], factory.createVariableDeclarationList([varDecl], NodeFlags.Const… 1293 …const varDecl = factory.createVariableDeclaration(name, /*exclamationToken*/ undefined, type, /*in… constant 1294 …[factory.createToken(SyntaxKind.ExportKeyword)], factory.createVariableDeclarationList([varDecl])); 1499 …const varDecl = factory.createVariableDeclaration(newId, /*exclamationToken*/ undefined, resolver.… constant 1500 …SyntaxKind.DeclareKeyword)] : [], factory.createVariableDeclarationList([varDecl], NodeFlags.Const…
|
/third_party/typescript/src/services/codefixes/ |
D | fixUnusedIdentifier.ts | 212 const varDecl = token.parent as VariableDeclaration; constant 213 switch (varDecl.parent.parent.kind) {
|
D | convertToAsyncFunction.ts | 375 …const varDecl = [factory.createVariableDeclaration(varDeclIdentifier, /*exclamationToken*/ undefin… constant 376 …eStatement(/*modifiers*/ undefined, factory.createVariableDeclarationList(varDecl, NodeFlags.Let));
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fProgramInterfaceQueryTestCase.cpp | 877 …const glu::VariableDeclaration* varDecl = (path[0].isInterfaceBlock()) ? (path[1].getDeclaration()… in getExplicitLocationFromPath() local 892 else if (varDecl->storage == glu::STORAGE_UNIFORM) in getExplicitLocationFromPath() 895 return varDecl->layout.location; in getExplicitLocationFromPath() 897 else if (varDecl->storage == glu::STORAGE_IN || in getExplicitLocationFromPath() 898 varDecl->storage == glu::STORAGE_OUT || in getExplicitLocationFromPath() 899 varDecl->storage == glu::STORAGE_PATCH_IN || in getExplicitLocationFromPath() 900 varDecl->storage == glu::STORAGE_PATCH_OUT) in getExplicitLocationFromPath() 903 return getIOSubVariableLocation(path, 1, varDecl->layout.location); in getExplicitLocationFromPath()
|
/third_party/skia/src/core/ |
D | SkRuntimeEffect.cpp | 318 const SkSL::VarDeclaration& varDecl = global.declaration()->as<SkSL::VarDeclaration>(); in MakeInternal() local 320 const SkSL::Variable& var = varDecl.var(); in MakeInternal()
|
/third_party/typescript/lib/ |
D | typingsInstaller.js | 113715 …var varDecl = factory.createVariableDeclaration(newId, /*exclamationToken*/ undefined, resolver.cr… 113717 …taxKind.DeclareKeyword */)] : [], factory.createVariableDeclarationList([varDecl], 2 /* NodeFlags.… 113809 …var varDecl = factory.createVariableDeclaration(name, /*exclamationToken*/ undefined, type, /*init… 113810 …createToken(94 /* SyntaxKind.ExportKeyword */)], factory.createVariableDeclarationList([varDecl])); 113965 …var varDecl = factory.createVariableDeclaration(newId_1, /*exclamationToken*/ undefined, resolver.… 113966 …taxKind.DeclareKeyword */)] : [], factory.createVariableDeclarationList([varDecl], 2 /* NodeFlags.…
|
D | tsc.js | 93781 …var varDecl = factory.createVariableDeclaration(newId, undefined, resolver.createTypeOfExpression(… 93783 …Declare ? [factory.createModifier(137)] : [], factory.createVariableDeclarationList([varDecl], 2)); 93867 … var varDecl = factory.createVariableDeclaration(name, undefined, type, undefined); 93868 …ordName ? undefined : [factory.createToken(94)], factory.createVariableDeclarationList([varDecl])); 94001 …var varDecl = factory.createVariableDeclaration(newId_1, undefined, resolver.createTypeOfExpressio… 94002 …Declare ? [factory.createModifier(137)] : [], factory.createVariableDeclarationList([varDecl], 2));
|