Home
last modified time | relevance | path

Searched refs:UnionType (Results 1 – 25 of 40) sorted by relevance

12

/third_party/boost/libs/tti/test/
Dtest_has_class.hpp32 BOOST_TTI_TRAIT_HAS_CLASS(UnionType,UNStruct)
Dtest_has_type.hpp32 BOOST_TTI_TRAIT_HAS_TYPE(UnionType,UNStruct)
Dtest_has_class.cpp32 BOOST_TEST(UnionType<AType::AnUnion>::value); in main()
Dtest_has_type.cpp43 BOOST_TEST(UnionType<AType::AnUnion>::value); in main()
/third_party/python/Lib/
Dtyping.py172 if isinstance(arg, (type, TypeVar, ForwardRef, types.UnionType, ParamSpec)):
217 if isinstance(t, (_GenericAlias, GenericAlias, types.UnionType)):
273 if isinstance(p, (_UnionGenericAlias, types.UnionType)):
327 if isinstance(t, (_GenericAlias, GenericAlias, types.UnionType)):
333 if isinstance(t, types.UnionType):
1057 elif isinstance(arg, (_GenericAlias, GenericAlias, types.UnionType)):
1226 if not isinstance(other, (_UnionGenericAlias, types.UnionType)):
1871 if isinstance(t, types.UnionType):
1902 if isinstance(tp, types.UnionType):
1903 return types.UnionType
[all …]
Dtypes.py301 UnionType = type(int | str) variable
/third_party/jsframework/mock-generate/src/generate/
DgenerateVariableStatementDeclaration.ts43 } else if (statementEntity.typeKind === SyntaxKind.UnionType) {
DgeneratePropertySignatureDeclaration.ts67 } else if (propertySignature.kind === SyntaxKind.UnionType) {
DgenerateCommonUtil.ts129 } else if (returnType.returnKind === SyntaxKind.UnionType) {
/third_party/skia/third_party/externals/dawn/src/dawn_node/tools/src/cmd/idlgen/
Dmain.go128 "IsUnionType": is(ast.UnionType{}),
347 case *ast.UnionType:
/third_party/typescript/src/services/
Drename.ts20 …(type.flags & TypeFlags.Union) && every((type as UnionType).types, type => !!(type.flags & TypeFla…
Dtypes.ts66 isUnion(): this is UnionType; property
DstringCompletions.ts142 case SyntaxKind.UnionType: {
/third_party/flatbuffers/reflection/
Dreflection.fbs38 // If base_type == Union, UnionType, or integral derived
/third_party/typescript/scripts/
DbuildProtocol.ts108 if (node.kind === ts.SyntaxKind.UnionType) {
/third_party/typescript/src/compiler/
Dchecker.ts729 const unionTypes = new Map<string, UnionType>();
786 …UnionType([stringType, numberType, booleanType, bigintType, nullType, undefinedType]) as UnionType;
3847 function createBooleanType(trueFalseTypes: readonly Type[]): IntrinsicType & UnionType {
3848 const type = <IntrinsicType & UnionType>getUnionType(trueFalseTypes);
4672 if (type.flags & TypeFlags.Union && (<UnionType>type).origin) {
4673 type = (<UnionType>type).origin!;
4676 …const types = type.flags & TypeFlags.Union ? formatUnionTypes((<UnionType>type).types) : (<Interse…
7637 const count = (<UnionType>baseType).types.length;
7638 …peOfLiteralType(types[i + count - 1]) === getRegularTypeOfLiteralType((<UnionType>baseType).types[…
7851 case SyntaxKind.UnionType:
[all …]
Dtracing.ts254 …unionTypes: (type.flags & TypeFlags.Union) ? (type as UnionType).types?.map(t => t.id) : undefined,
Dtypes.ts224 UnionType, enumerator
661 | SyntaxKind.UnionType
1606 readonly kind: SyntaxKind.UnionType;
5204 export type ObjectFlagsType = NullableType | ObjectType | UnionType | IntersectionType;
5337 export interface UnionType extends UnionOrIntersectionType {
5341 regularType?: UnionType;
5351 export type StructuredType = ObjectType | UnionType | IntersectionType;
5411 export interface IterableOrIteratorType extends ObjectType, UnionType {
5422 export interface PromiseOrAwaitableType extends ObjectType, UnionType {
/third_party/typescript/src/compiler/factory/
DparenthesizerRules.ts370 case SyntaxKind.UnionType:
DnodeTests.ts193 return node.kind === SyntaxKind.UnionType;
/third_party/typescript/src/services/formatting/
DsmartIndenter.ts643 case SyntaxKind.UnionType:
Drules.ts452 case SyntaxKind.UnionType:
/third_party/python/Misc/NEWS.d/
D3.10.0rc1.rst37 Rename ``types.Union`` to ``types.UnionType``.
/third_party/typescript/src/compiler/transformers/
Dts.ts395 case SyntaxKind.UnionType:
1570 case SyntaxKind.UnionType:
/third_party/python/Doc/library/
Dtypes.rst315 .. class:: UnionType

12