Home
last modified time | relevance | path

Searched refs:unionType (Results 1 – 14 of 14) sorted by relevance

/third_party/flatbuffers/tests/MyGame/Example/
DAnyUniqueAliases.py12 def AnyUniqueAliasesCreator(unionType, table): argument
16 if unionType == AnyUniqueAliases().M:
19 if unionType == AnyUniqueAliases().TS:
22 if unionType == AnyUniqueAliases().M2:
DAnyAmbiguousAliases.py12 def AnyAmbiguousAliasesCreator(unionType, table): argument
16 if unionType == AnyAmbiguousAliases().M1:
19 if unionType == AnyAmbiguousAliases().M2:
22 if unionType == AnyAmbiguousAliases().M3:
DAny.py12 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/
DUnionInNestedNS.py6 def UnionInNestedNSCreator(unionType, table): argument
10 if unionType == UnionInNestedNS().TableInNestedNS:
/third_party/typescript_eslint/packages/eslint-plugin/src/rules/
Dswitch-exhaustiveness-check.ts149 unionType => !caseTypes.has(unionType),
/third_party/typescript/src/services/codefixes/
DconvertToAsyncFunction.ts293 const unionType = transformer.checker.getUnionType(typeArray, UnionReduction.Subtype); constant
294 …transformer.isInJSFile ? undefined : transformer.checker.typeToTypeNode(unionType, /*enclosingDecl…
/third_party/flatbuffers/docs/source/
DTutorial.md2986 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/
Dchecker.ts11086 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/
Dtsc.js44451 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 …]
DtypingsInstaller.js53854 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 …]
Dtsserverlibrary.js54059 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 …]
Dtypescript.js54059 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 …]
Dtsserver.js53865 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 …]
DtypescriptServices.js54059 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 …]