/third_party/typescript/tests/baselines/reference/ |
D | doNotInferUnrelatedTypes.types | 7 type LiteralType = "foo" | "bar"; 8 >LiteralType : LiteralType 10 declare var alt: Array<LiteralType>; 11 >alt : LiteralType[] 13 let foo: LiteralType = dearray(alt); 14 >foo : LiteralType 15 >dearray(alt) : LiteralType 17 >alt : LiteralType[]
|
D | doNotInferUnrelatedTypes.symbols | 11 type LiteralType = "foo" | "bar"; 12 >LiteralType : Symbol(LiteralType, Decl(doNotInferUnrelatedTypes.ts, 1, 54)) 14 declare var alt: Array<LiteralType>; 17 >LiteralType : Symbol(LiteralType, Decl(doNotInferUnrelatedTypes.ts, 1, 54)) 19 let foo: LiteralType = dearray(alt); 21 >LiteralType : Symbol(LiteralType, Decl(doNotInferUnrelatedTypes.ts, 1, 54))
|
D | doNotInferUnrelatedTypes.js | 4 type LiteralType = "foo" | "bar"; 5 declare var alt: Array<LiteralType>; 7 let foo: LiteralType = dearray(alt);
|
D | reverseMappedTypeAssignableToIndex.types | 11 // Note that in the real code we don't have a direct reference to LiteralType 12 type LiteralType = { 13 >LiteralType : LiteralType
|
D | reverseMappedTypeAssignableToIndex.symbols | 21 // Note that in the real code we don't have a direct reference to LiteralType 22 type LiteralType = { 23 >LiteralType : Symbol(LiteralType, Decl(reverseMappedTypeAssignableToIndex.ts, 2, 64))
|
D | reverseMappedTypeAssignableToIndex.js | 8 type LiteralType = {
|
/third_party/typescript/tests/cases/compiler/ |
D | doNotInferUnrelatedTypes.ts | 3 type LiteralType = "foo" | "bar"; 4 declare var alt: Array<LiteralType>; 6 let foo: LiteralType = dearray(alt);
|
D | reverseMappedTypeAssignableToIndex.ts | 7 type LiteralType = { alias
|
/third_party/jsframework/mock-generate/src/generate/ |
D | generateVariableStatementDeclaration.ts | 30 …} else if (statementEntity.typeKind === SyntaxKind.LiteralType || statementEntity.typeKind === Syn…
|
D | generatePropertyDeclaration.ts | 35 } else if (propertyDeclaration.kind === SyntaxKind.LiteralType) {
|
/third_party/skia/src/sksl/ir/ |
D | SkSLType.cpp | 93 class LiteralType : public Type { class 97 LiteralType(const char* name, const Type& scalarType, int8_t priority) in LiteralType() function in SkSL::LiteralType 434 return std::make_unique<LiteralType>(name, scalarType, priority); in MakeLiteralType()
|
/third_party/boost/libs/outcome/doc/src/content/tutorial/essential/result/ |
D | _index.md | 26 …d `EC` are [literal types](https://en.cppreference.com/w/cpp/named_req/LiteralType), so will be `r…
|
/third_party/typescript/src/compiler/ |
D | types.ts | 233 LiteralType, enumerator 670 | SyntaxKind.LiteralType 1660 readonly kind: SyntaxKind.LiteralType; 5112 export type FreshableType = LiteralType | FreshableIntrinsicType; 5117 export interface LiteralType extends Type { 5119 freshType: LiteralType; // Fresh version of type 5120 regularType: LiteralType; // Regular version of type 5129 export interface StringLiteralType extends LiteralType { 5133 export interface NumberLiteralType extends LiteralType { 5137 export interface BigIntLiteralType extends LiteralType {
|
D | debug.ts | 538 … & TypeFlags.StringOrNumberLiteral ? `LiteralType ${JSON.stringify((this as LiteralType).value)}` :
|
/third_party/typescript/src/compiler/transformers/ |
D | ts.ts | 403 case SyntaxKind.LiteralType: 1531 case SyntaxKind.LiteralType: 1622 …if (!strictNullChecks && (typeNode.kind === SyntaxKind.LiteralType && (typeNode as LiteralTypeNode…
|
/third_party/boost/libs/outcome/doc/src/content/reference/types/basic_result/ |
D | _index.md | 129 - `LiteralType`, if both `value_type` and `error_type` are literal types.
|
/third_party/typescript/src/services/ |
D | types.ts | 69 isLiteral(): this is LiteralType; property
|
D | stringCompletions.ts | 117 case SyntaxKind.LiteralType: {
|
/third_party/boost/libs/outcome/doc/src/content/reference/types/basic_outcome/ |
D | _index.md | 173 - `LiteralType`, if all of `value_type`, `error_type` and `exception_type` are literal types.
|
/third_party/typescript/lib/ |
D | typescriptServices.d.ts | 299 LiteralType = 192, enumerator 962 readonly kind: SyntaxKind.LiteralType; 2530 export interface LiteralType extends Type { interface 2532 freshType: LiteralType; 2533 regularType: LiteralType; 2539 export interface StringLiteralType extends LiteralType { 2542 export interface NumberLiteralType extends LiteralType { 2545 export interface BigIntLiteralType extends LiteralType { 5355 isLiteral(): this is LiteralType; property
|
D | typescript.d.ts | 299 LiteralType = 192, enumerator 962 readonly kind: SyntaxKind.LiteralType; 2530 export interface LiteralType extends Type { interface 2532 freshType: LiteralType; 2533 regularType: LiteralType; 2539 export interface StringLiteralType extends LiteralType { 2542 export interface NumberLiteralType extends LiteralType { 2545 export interface BigIntLiteralType extends LiteralType { 5355 isLiteral(): this is LiteralType; property
|
D | tsserverlibrary.d.ts | 299 LiteralType = 192, enumerator 962 readonly kind: SyntaxKind.LiteralType; 2530 export interface LiteralType extends Type { interface 2532 freshType: LiteralType; 2533 regularType: LiteralType; 2539 export interface StringLiteralType extends LiteralType { 2542 export interface NumberLiteralType extends LiteralType { 2545 export interface BigIntLiteralType extends LiteralType { 5355 isLiteral(): this is LiteralType; property
|
/third_party/typescript/tests/baselines/reference/api/ |
D | typescript.d.ts | 299 LiteralType = 192, enumerator 971 readonly kind: SyntaxKind.LiteralType; 2544 export interface LiteralType extends Type { interface 2546 freshType: LiteralType; 2547 regularType: LiteralType; 2553 export interface StringLiteralType extends LiteralType { 2556 export interface NumberLiteralType extends LiteralType { 2559 export interface BigIntLiteralType extends LiteralType { 5438 isLiteral(): this is LiteralType; property
|
D | tsserverlibrary.d.ts | 299 LiteralType = 192, enumerator 971 readonly kind: SyntaxKind.LiteralType; 2544 export interface LiteralType extends Type { interface 2546 freshType: LiteralType; 2547 regularType: LiteralType; 2553 export interface StringLiteralType extends LiteralType { 2556 export interface NumberLiteralType extends LiteralType { 2559 export interface BigIntLiteralType extends LiteralType { 5438 isLiteral(): this is LiteralType; property
|
/third_party/typescript/src/compiler/factory/ |
D | nodeTests.ts | 229 return node.kind === SyntaxKind.LiteralType;
|