/third_party/flatbuffers/tests/MyGame/Example/ |
D | AnyUniqueAliases.py | 12 def AnyUniqueAliasesCreator(unionType, table): argument 16 if unionType == AnyUniqueAliases().M: 19 if unionType == AnyUniqueAliases().TS: 22 if unionType == AnyUniqueAliases().M2:
|
D | AnyAmbiguousAliases.py | 12 def AnyAmbiguousAliasesCreator(unionType, table): argument 16 if unionType == AnyAmbiguousAliases().M1: 19 if unionType == AnyAmbiguousAliases().M2: 22 if unionType == AnyAmbiguousAliases().M3:
|
D | Any.py | 12 def AnyCreator(unionType, table): argument 16 if unionType == Any().Monster: 19 if unionType == Any().TestSimpleTableWithEnum: 22 if unionType == Any().MyGame_Example2_Monster:
|
/third_party/flatbuffers/tests/namespace_test/NamespaceA/NamespaceB/ |
D | UnionInNestedNS.py | 6 def UnionInNestedNSCreator(unionType, table): argument 10 if unionType == UnionInNestedNS().TableInNestedNS:
|
/third_party/typescript_eslint/packages/eslint-plugin/src/rules/ |
D | switch-exhaustiveness-check.ts | 149 unionType => !caseTypes.has(unionType),
|
/third_party/typescript/src/services/codefixes/ |
D | convertToAsyncFunction.ts | 293 const unionType = transformer.checker.getUnionType(typeArray, UnionReduction.Subtype); constant 294 …transformer.isInJSFile ? undefined : transformer.checker.typeToTypeNode(unionType, /*enclosingDecl…
|
/third_party/flatbuffers/docs/source/ |
D | Tutorial.md | 2986 int unionType = monster.EquippedType(); 2988 if (unionType == Equipment.Weapon) { 2999 val unionType = monster.EquippedType 3001 if (unionType == Equipment.Weapon) { 3012 var unionType = monster.EquippedType; 3014 if (unionType == Equipment.Weapon) { 3029 unionType := monster.EquippedType() 3031 if unionType == sample.EquipmentWeapon { 3060 var unionType = monster.equippedType(); 3062 if (unionType == MyGame.Sample.Equipment.Weapon) { [all …]
|
/third_party/typescript/src/compiler/ |
D | checker.ts | 11086 const unionType = getUnionType(types); 11087 if (!(unionType.flags & TypeFlags.Union)) { 11088 return getAugmentedPropertiesOfType(unionType); 11095 … const prop = createUnionOrIntersectionProperty(unionType as UnionType, escapedName); 11618 function getReducedUnionType(unionType: UnionType) { 11619 const reducedTypes = sameMap(unionType.types, getReducedType); 11620 if (reducedTypes === unionType.types) { 11621 return unionType; 13564 const unionType = getUnionType(types); 13565 … return createTypePredicate(first.kind, first.parameterName, first.parameterIndex, unionType); [all …]
|
/third_party/typescript/lib/ |
D | tsc.js | 44451 var unionType = getUnionType(types); 44452 if (!(unionType.flags & 1048576)) { 44453 return getAugmentedPropertiesOfType(unionType); 44461 var prop = createUnionOrIntersectionProperty(unionType, escapedName); 44880 function getReducedUnionType(unionType) { argument 44881 var reducedTypes = ts.sameMap(unionType.types, getReducedType); 44882 if (reducedTypes === unionType.types) { 44883 return unionType; 46496 var unionType = getUnionType(types); 46497 … return createTypePredicate(first.kind, first.parameterName, first.parameterIndex, unionType); [all …]
|
D | typingsInstaller.js | 53854 var unionType = getUnionType(types); 53855 if (!(unionType.flags & 1048576 /* Union */)) { 53856 return getAugmentedPropertiesOfType(unionType); 53864 var prop = createUnionOrIntersectionProperty(unionType, escapedName); 54359 function getReducedUnionType(unionType) { argument 54360 var reducedTypes = ts.sameMap(unionType.types, getReducedType); 54361 if (reducedTypes === unionType.types) { 54362 return unionType; 56144 var unionType = getUnionType(types); 56145 … return createTypePredicate(first.kind, first.parameterName, first.parameterIndex, unionType); [all …]
|
D | tsserverlibrary.js | 54059 var unionType = getUnionType(types); 54060 if (!(unionType.flags & 1048576 /* Union */)) { 54061 return getAugmentedPropertiesOfType(unionType); 54069 var prop = createUnionOrIntersectionProperty(unionType, escapedName); 54564 function getReducedUnionType(unionType) { argument 54565 var reducedTypes = ts.sameMap(unionType.types, getReducedType); 54566 if (reducedTypes === unionType.types) { 54567 return unionType; 56349 var unionType = getUnionType(types); 56350 … return createTypePredicate(first.kind, first.parameterName, first.parameterIndex, unionType); [all …]
|
D | typescript.js | 54059 var unionType = getUnionType(types); 54060 if (!(unionType.flags & 1048576 /* Union */)) { 54061 return getAugmentedPropertiesOfType(unionType); 54069 var prop = createUnionOrIntersectionProperty(unionType, escapedName); 54564 function getReducedUnionType(unionType) { argument 54565 var reducedTypes = ts.sameMap(unionType.types, getReducedType); 54566 if (reducedTypes === unionType.types) { 54567 return unionType; 56349 var unionType = getUnionType(types); 56350 … return createTypePredicate(first.kind, first.parameterName, first.parameterIndex, unionType); [all …]
|
D | tsserver.js | 53865 var unionType = getUnionType(types); 53866 if (!(unionType.flags & 1048576 /* Union */)) { 53867 return getAugmentedPropertiesOfType(unionType); 53875 var prop = createUnionOrIntersectionProperty(unionType, escapedName); 54370 function getReducedUnionType(unionType) { argument 54371 var reducedTypes = ts.sameMap(unionType.types, getReducedType); 54372 if (reducedTypes === unionType.types) { 54373 return unionType; 56155 var unionType = getUnionType(types); 56156 … return createTypePredicate(first.kind, first.parameterName, first.parameterIndex, unionType); [all …]
|
D | typescriptServices.js | 54059 var unionType = getUnionType(types); 54060 if (!(unionType.flags & 1048576 /* Union */)) { 54061 return getAugmentedPropertiesOfType(unionType); 54069 var prop = createUnionOrIntersectionProperty(unionType, escapedName); 54564 function getReducedUnionType(unionType) { argument 54565 var reducedTypes = ts.sameMap(unionType.types, getReducedType); 54566 if (reducedTypes === unionType.types) { 54567 return unionType; 56349 var unionType = getUnionType(types); 56350 … return createTypePredicate(first.kind, first.parameterName, first.parameterIndex, unionType); [all …]
|