Home
last modified time | relevance | path

Searched refs:ModuleFlags (Results 1 – 25 of 26) sorted by relevance

12

/third_party/typescript/tests/baselines/reference/
DparserRealSource2.js110 export enum ModuleFlags {
207 export function ToDeclFlags(moduleFlags: ModuleFlags): DeclFlags;
379 var ModuleFlags;
380 (function (ModuleFlags) { argument
381 ModuleFlags[ModuleFlags["None"] = 0] = "None";
382 ModuleFlags[ModuleFlags["Exported"] = 1] = "Exported";
383 ModuleFlags[ModuleFlags["Private"] = 2] = "Private";
384 ModuleFlags[ModuleFlags["Public"] = 4] = "Public";
385 ModuleFlags[ModuleFlags["Ambient"] = 8] = "Ambient";
386 ModuleFlags[ModuleFlags["Static"] = 16] = "Static";
[all …]
DparserRealSource2.types510 export enum ModuleFlags {
511 >ModuleFlags : ModuleFlags
514 >None : ModuleFlags
518 >Exported : ModuleFlags
522 >Private : ModuleFlags
528 >Public : ModuleFlags
534 >Ambient : ModuleFlags
540 >Static : ModuleFlags
546 >LocalStatic : ModuleFlags
552 >GetAccessor : ModuleFlags
[all …]
DparserRealSource2.symbols295 export enum ModuleFlags {
296 >ModuleFlags : Symbol(ModuleFlags, Decl(parserRealSource2.ts, 106, 5))
299 >None : Symbol(ModuleFlags.None, Decl(parserRealSource2.ts, 108, 29))
302 >Exported : Symbol(ModuleFlags.Exported, Decl(parserRealSource2.ts, 109, 17))
305 >Private : Symbol(ModuleFlags.Private, Decl(parserRealSource2.ts, 110, 21))
308 >Public : Symbol(ModuleFlags.Public, Decl(parserRealSource2.ts, 111, 25))
311 >Ambient : Symbol(ModuleFlags.Ambient, Decl(parserRealSource2.ts, 112, 24))
314 >Static : Symbol(ModuleFlags.Static, Decl(parserRealSource2.ts, 113, 25))
317 >LocalStatic : Symbol(ModuleFlags.LocalStatic, Decl(parserRealSource2.ts, 114, 24))
320 >GetAccessor : Symbol(ModuleFlags.GetAccessor, Decl(parserRealSource2.ts, 115, 29))
[all …]
DparserRealSource2.errors.txt115 export enum ModuleFlags {
212 export function ToDeclFlags(moduleFlags: ModuleFlags): DeclFlags;
DparserRealSource11.js1146 …if (!hasFlag((<ModuleDeclaration>stmt).modFlags, ModuleFlags.ShouldEmitModuleDecl | ModuleFlags.Am…
1196 public modFlags = ModuleFlags.ShouldEmitModuleDecl;
1214 public isExported() { return hasFlag(this.modFlags, ModuleFlags.Exported); }
1215 public isAmbient() { return hasFlag(this.modFlags, ModuleFlags.Ambient); }
1216 public isEnum() { return hasFlag(this.modFlags, ModuleFlags.IsEnum); }
1219 this.modFlags &= ~ModuleFlags.ShouldEmitModuleDecl;
1227 if (!hasFlag(this.modFlags, ModuleFlags.ShouldEmitModuleDecl)) {
3479 … if (!hasFlag(stmt.modFlags, ModuleFlags.ShouldEmitModuleDecl | ModuleFlags.Ambient)) {
3535 _this.modFlags = ModuleFlags.ShouldEmitModuleDecl;
3545 …ration.prototype.isExported = function () { return hasFlag(this.modFlags, ModuleFlags.Exported); };
[all …]
DparserRealSource11.errors.txt295 …ce/parser/ecmascript5/parserRealSource11.ts(1145,74): error TS2304: Cannot find name 'ModuleFlags'.
296 …e/parser/ecmascript5/parserRealSource11.ts(1145,109): error TS2304: Cannot find name 'ModuleFlags'.
310 …ce/parser/ecmascript5/parserRealSource11.ts(1195,27): error TS2304: Cannot find name 'ModuleFlags'.
314 …ce/parser/ecmascript5/parserRealSource11.ts(1213,61): error TS2304: Cannot find name 'ModuleFlags'.
316 …ce/parser/ecmascript5/parserRealSource11.ts(1214,60): error TS2304: Cannot find name 'ModuleFlags'.
318 …ce/parser/ecmascript5/parserRealSource11.ts(1215,57): error TS2304: Cannot find name 'ModuleFlags'.
319 …ce/parser/ecmascript5/parserRealSource11.ts(1218,31): error TS2304: Cannot find name 'ModuleFlags'.
324 …ce/parser/ecmascript5/parserRealSource11.ts(1226,41): error TS2304: Cannot find name 'ModuleFlags'.
2245 …if (!hasFlag((<ModuleDeclaration>stmt).modFlags, ModuleFlags.ShouldEmitModuleDecl | ModuleFlags.Am…
2249 !!! error TS2304: Cannot find name 'ModuleFlags'.
[all …]
DparserRealSource7.js192 var isAmbient = hasFlag(moduleDecl.modFlags, ModuleFlags.Ambient);
193 var isEnum = hasFlag(moduleDecl.modFlags, ModuleFlags.IsEnum);
195 var isExported = hasFlag(moduleDecl.modFlags, ModuleFlags.Exported);
988 var isAmbient = hasFlag(moduleDecl.modFlags, ModuleFlags.Ambient);
989 var isEnum = hasFlag(moduleDecl.modFlags, ModuleFlags.IsEnum);
991 var isExported = hasFlag(moduleDecl.modFlags, ModuleFlags.Exported);
DparserRealSource14.js193 …((<TypeScript.ModuleDeclaration>this.asts[this.top]).modFlags, TypeScript.ModuleFlags.IsWholeFile);
201 …ypeScript.ModuleDeclaration>this.asts[this.top - 1]).modFlags, TypeScript.ModuleFlags.IsWholeFile);
741 … TypeScript.hasFlag(this.asts[this.top].modFlags, TypeScript.ModuleFlags.IsWholeFile);
748 … TypeScript.hasFlag(this.asts[this.top - 1].modFlags, TypeScript.ModuleFlags.IsWholeFile);
DparserRealSource11.types5208 …if (!hasFlag((<ModuleDeclaration>stmt).modFlags, ModuleFlags.ShouldEmitModuleDecl | ModuleFlags.Am…
5209 >!hasFlag((<ModuleDeclaration>stmt).modFlags, ModuleFlags.ShouldEmitModuleDecl | ModuleFlags.Ambien…
5210 >hasFlag((<ModuleDeclaration>stmt).modFlags, ModuleFlags.ShouldEmitModuleDecl | ModuleFlags.Ambient…
5217 >ModuleFlags.ShouldEmitModuleDecl | ModuleFlags.Ambient : number
5218 >ModuleFlags.ShouldEmitModuleDecl : any
5219 >ModuleFlags : any
5221 >ModuleFlags.Ambient : any
5222 >ModuleFlags : any
5426 public modFlags = ModuleFlags.ShouldEmitModuleDecl;
5428 >ModuleFlags.ShouldEmitModuleDecl : any
[all …]
DparserRealSource7.errors.txt56 …ance/parser/ecmascript5/parserRealSource7.ts(191,54): error TS2304: Cannot find name 'ModuleFlags'.
58 …ance/parser/ecmascript5/parserRealSource7.ts(192,51): error TS2304: Cannot find name 'ModuleFlags'.
60 …ance/parser/ecmascript5/parserRealSource7.ts(194,55): error TS2304: Cannot find name 'ModuleFlags'.
609 var isAmbient = hasFlag(moduleDecl.modFlags, ModuleFlags.Ambient);
613 !!! error TS2304: Cannot find name 'ModuleFlags'.
614 var isEnum = hasFlag(moduleDecl.modFlags, ModuleFlags.IsEnum);
618 !!! error TS2304: Cannot find name 'ModuleFlags'.
620 var isExported = hasFlag(moduleDecl.modFlags, ModuleFlags.Exported);
624 !!! error TS2304: Cannot find name 'ModuleFlags'.
DparserRealSource7.types887 var isAmbient = hasFlag(moduleDecl.modFlags, ModuleFlags.Ambient);
889 >hasFlag(moduleDecl.modFlags, ModuleFlags.Ambient) : any
894 >ModuleFlags.Ambient : any
895 >ModuleFlags : any
898 var isEnum = hasFlag(moduleDecl.modFlags, ModuleFlags.IsEnum);
900 >hasFlag(moduleDecl.modFlags, ModuleFlags.IsEnum) : any
905 >ModuleFlags.IsEnum : any
906 >ModuleFlags : any
923 var isExported = hasFlag(moduleDecl.modFlags, ModuleFlags.Exported);
925 >hasFlag(moduleDecl.modFlags, ModuleFlags.Exported) : any
[all …]
DparserRealSource14.errors.txt46 …er/ecmascript5/parserRealSource14.ts(192,109): error TS2339: Property 'ModuleFlags' does not exist…
52 …er/ecmascript5/parserRealSource14.ts(200,113): error TS2339: Property 'ModuleFlags' does not exist…
441 …((<TypeScript.ModuleDeclaration>this.asts[this.top]).modFlags, TypeScript.ModuleFlags.IsWholeFile);
447 !!! error TS2339: Property 'ModuleFlags' does not exist on type 'typeof TypeScript'.
461 …ypeScript.ModuleDeclaration>this.asts[this.top - 1]).modFlags, TypeScript.ModuleFlags.IsWholeFile);
467 !!! error TS2339: Property 'ModuleFlags' does not exist on type 'typeof TypeScript'.
DparserRealSource14.types1291 …TypeScript.ModuleDeclaration>this.asts[this.top]).modFlags, TypeScript.ModuleFlags.IsWholeFile) : …
1317 …((<TypeScript.ModuleDeclaration>this.asts[this.top]).modFlags, TypeScript.ModuleFlags.IsWholeFile);
1318 …TypeScript.ModuleDeclaration>this.asts[this.top]).modFlags, TypeScript.ModuleFlags.IsWholeFile) : …
1334 >TypeScript.ModuleFlags.IsWholeFile : any
1335 >TypeScript.ModuleFlags : any
1337 >ModuleFlags : any
1345 …Script.ModuleDeclaration>this.asts[this.top - 1]).modFlags, TypeScript.ModuleFlags.IsWholeFile) : …
1420 …ypeScript.ModuleDeclaration>this.asts[this.top - 1]).modFlags, TypeScript.ModuleFlags.IsWholeFile);
1421 …Script.ModuleDeclaration>this.asts[this.top - 1]).modFlags, TypeScript.ModuleFlags.IsWholeFile) : …
1439 >TypeScript.ModuleFlags.IsWholeFile : any
[all …]
DparserRealSource7.symbols547 var isAmbient = hasFlag(moduleDecl.modFlags, ModuleFlags.Ambient);
551 var isEnum = hasFlag(moduleDecl.modFlags, ModuleFlags.IsEnum);
560 var isExported = hasFlag(moduleDecl.modFlags, ModuleFlags.Exported);
DparserRealSource11.symbols3409 …if (!hasFlag((<ModuleDeclaration>stmt).modFlags, ModuleFlags.ShouldEmitModuleDecl | ModuleFlags.Am…
3548 public modFlags = ModuleFlags.ShouldEmitModuleDecl;
3616 public isExported() { return hasFlag(this.modFlags, ModuleFlags.Exported); }
3622 public isAmbient() { return hasFlag(this.modFlags, ModuleFlags.Ambient); }
3628 public isEnum() { return hasFlag(this.modFlags, ModuleFlags.IsEnum); }
3637 this.modFlags &= ~ModuleFlags.ShouldEmitModuleDecl;
3661 if (!hasFlag(this.modFlags, ModuleFlags.ShouldEmitModuleDecl)) {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVTargetObjectFile.cpp88 SmallVector<Module::ModuleFlagEntry, 8> ModuleFlags; in getModuleMetadata() local
89 M.getModuleFlagsMetadata(ModuleFlags); in getModuleMetadata()
91 for (const auto &MFE : ModuleFlags) { in getModuleMetadata()
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/
DparserRealSource2.ts109 export enum ModuleFlags { enumerator
206 export function ToDeclFlags(moduleFlags: ModuleFlags): DeclFlags;
DparserRealSource11.ts1145 …if (!hasFlag((<ModuleDeclaration>stmt).modFlags, ModuleFlags.ShouldEmitModuleDecl | ModuleFlags.Am…
1195 public modFlags = ModuleFlags.ShouldEmitModuleDecl;
1213 public isExported() { return hasFlag(this.modFlags, ModuleFlags.Exported); }
1214 public isAmbient() { return hasFlag(this.modFlags, ModuleFlags.Ambient); }
1215 public isEnum() { return hasFlag(this.modFlags, ModuleFlags.IsEnum); }
1218 this.modFlags &= ~ModuleFlags.ShouldEmitModuleDecl;
1226 if (!hasFlag(this.modFlags, ModuleFlags.ShouldEmitModuleDecl)) {
DparserRealSource7.ts191 var isAmbient = hasFlag(moduleDecl.modFlags, ModuleFlags.Ambient);
192 var isEnum = hasFlag(moduleDecl.modFlags, ModuleFlags.IsEnum);
194 var isExported = hasFlag(moduleDecl.modFlags, ModuleFlags.Exported);
DparserRealSource14.ts192 …((<TypeScript.ModuleDeclaration>this.asts[this.top]).modFlags, TypeScript.ModuleFlags.IsWholeFile);
200 …ypeScript.ModuleDeclaration>this.asts[this.top - 1]).modFlags, TypeScript.ModuleFlags.IsWholeFile);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DModule.cpp311 SmallVector<Module::ModuleFlagEntry, 8> ModuleFlags; in getModuleFlag() local
312 getModuleFlagsMetadata(ModuleFlags); in getModuleFlag()
313 for (const ModuleFlagEntry &MFE : ModuleFlags) { in getModuleFlag()
/third_party/node/src/
Dnode_binding.h24 static_cast<int>(node::ModuleFlags::kLinked),
Dnode.h961 enum ModuleFlags { enum
1060 node::ModuleFlags::kLinked)
/third_party/node/test/cctest/
Dtest_linked_binding.cc103 node::ModuleFlags::kLinked,
261 node::ModuleFlags::kLinked,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTargetLoweringObjectFileImpl.cpp67 SmallVector<Module::ModuleFlagEntry, 8> ModuleFlags; in GetObjCImageInfo() local
68 M.getModuleFlagsMetadata(ModuleFlags); in GetObjCImageInfo()
70 for (const auto &MFE: ModuleFlags) { in GetObjCImageInfo()
313 SmallVector<Module::ModuleFlagEntry, 8> ModuleFlags; in emitModuleMetadata() local
314 M.getModuleFlagsMetadata(ModuleFlags); in emitModuleMetadata()
318 for (const auto &MFE : ModuleFlags) { in emitModuleMetadata()

12