@artel/artc 0.6.25248 → 0.6.25250
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/Cli.js +3 -3
- package/build/api/Api.js +2 -2
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +40 -24
- package/build/{chunk-CWGZOWF7.js → chunk-DJEEXP7U.js} +648 -442
- package/build/{chunk-CBZMJHSW.js → chunk-VYUD26HA.js} +2 -2
- package/build/{chunk-JKFASNU3.js → chunk-ZZKHAAAX.js} +1 -1
- package/build/types/analysis/Analyzer.d.ts +11 -12
- package/build/types/analysis/NodeTypeUtils.d.ts +1 -1
- package/build/types/analysis/TypeNarrower.d.ts +1 -1
- package/build/types/analysis/WellKnownDeclarations.d.ts +3 -3
- package/build/types/analysis/semantic-context/SemanticContextBuilder.d.ts +1 -1
- package/build/types/analysis/semantic-context/TranslationTextTemplateSemanticContext.d.ts +2 -2
- package/build/types/common/HelperPhrases.d.ts +2 -1
- package/build/types/diagnostic/DiagnosticCode.d.ts +1 -1
- package/build/types/emitter/EmitterContext.d.ts +2 -2
- package/build/types/emitter/Entities.d.ts +1 -0
- package/build/types/emitter/EntityMap.d.ts +1 -0
- package/build/types/emitter/IrBuilder.d.ts +4 -1
- package/build/types/emitter/IrToJs.d.ts +1 -1
- package/build/types/emitter/Transformer.d.ts +4 -2
- package/build/types/emitter/ir/Nodes.d.ts +26 -5
- package/build/types/emitter/ir/types.d.ts +4 -4
- package/build/types/entities/VariableEntity.d.ts +2 -2
- package/build/types/services/DisplayService.d.ts +3 -3
- package/build/types/tree/KeywordKind.d.ts +1 -1
- package/build/types/tree/NodeKind.d.ts +5 -5
- package/build/types/tree/green/Nodes.d.ts +28 -28
- package/build/types/tree/green/SyntaxFactory.d.ts +1 -1
- package/build/types/tree/red/Nodes.d.ts +42 -42
- package/build/types/ts-interop/Entities.d.ts +0 -1
- package/build/types/ts-interop/TsInteropContext.d.ts +1 -1
- package/build/types/types/ParameterType.d.ts +3 -3
- package/build/types/types/StandardTypes.d.ts +2 -2
- package/package.json +1 -1
|
@@ -851,7 +851,7 @@ export declare class EnumerationVariableDeclaration extends BaseNode {
|
|
|
851
851
|
private createChildren;
|
|
852
852
|
}
|
|
853
853
|
export type Expression = ArrayLiteral | AsExpression | AssertionExpression | AssumptionExpression | BinaryExpression | FunctionLiteral | FunctionBlockLiteral | CallExpression | IdentifierExpression | AutotypeCallExpression | IndexedAccessExpression | InvalidExpression | IsExpression | ParenthesizedExpression | ConditionalExpression | PrefixUnaryExpression | MemberAccessExpression | ReferenceExpression | DereferenceExpression | TextTemplateLiteral | GenericSpecializationExpression | DefaultMatchExpression | TokenExpression | KeywordExpression | ObjectExpression | BaseExpression;
|
|
854
|
-
export type ExpressionParent = ArrayLiteralElementList | AsExpression | AssertionExpression | AssumptionExpression | AssignmentStatement | BinaryExpression | Argument | CallExpression | DisposeStatement | ErrorStatement | ImportantStatement | ExpressionStatement | ForStatement | PackageVariableDeclaration | IfStatement | IndexedAccessExpression | IsExpression | LocalVariableDeclaration | MatchExpressionList | ParameterDeclaration | ParenthesizedExpression | ConditionalExpression | PrefixUnaryExpression | MemberAccessExpression | ReferenceExpression | DereferenceExpression | LoopStatement | ReturnStatement | TextTemplateSpan | FieldDeclaration | SwitchStatement | VariantDeclaration | WhileStatement | YieldStatement | GenericSpecializationExpression | ElseIfClause |
|
|
854
|
+
export type ExpressionParent = ArrayLiteralElementList | AsExpression | AssertionExpression | AssumptionExpression | AssignmentStatement | BinaryExpression | Argument | CallExpression | DisposeStatement | ErrorStatement | ImportantStatement | ExpressionStatement | ForStatement | PackageVariableDeclaration | IfStatement | IndexedAccessExpression | IsExpression | LocalVariableDeclaration | MatchExpressionList | ParameterDeclaration | ParenthesizedExpression | ConditionalExpression | PrefixUnaryExpression | MemberAccessExpression | ReferenceExpression | DereferenceExpression | LoopStatement | ReturnStatement | TextTemplateSpan | FieldDeclaration | SwitchStatement | VariantDeclaration | WhileStatement | YieldStatement | GenericSpecializationExpression | ElseIfClause | TextTranslationDeclaration | FunctionBlock;
|
|
855
855
|
export type ExpressionListElement = Expression | Comma;
|
|
856
856
|
export declare class ArrayLiteral extends BaseNode {
|
|
857
857
|
readonly kind = NodeKind.ArrayLiteral;
|
|
@@ -1179,7 +1179,7 @@ export declare class KeywordExpression extends BaseNode {
|
|
|
1179
1179
|
constructor(green: green.KeywordExpression, rangeStart: number, parent: ExpressionParent);
|
|
1180
1180
|
private createChildren;
|
|
1181
1181
|
}
|
|
1182
|
-
export type KeywordExpressionKeyword = Keyword<KeywordKind.Yes> | Keyword<KeywordKind.No> | Keyword<KeywordKind.
|
|
1182
|
+
export type KeywordExpressionKeyword = Keyword<KeywordKind.Yes> | Keyword<KeywordKind.No> | Keyword<KeywordKind.Null>;
|
|
1183
1183
|
export declare class ObjectExpression extends BaseNode {
|
|
1184
1184
|
readonly kind = NodeKind.ObjectExpression;
|
|
1185
1185
|
readonly green: green.ObjectExpression;
|
|
@@ -1693,7 +1693,7 @@ export declare class TopLevelTranslationList extends BaseNode {
|
|
|
1693
1693
|
constructor(green: green.TopLevelTranslationList, rangeStart: number, parent: TopLevelTranslationListParent);
|
|
1694
1694
|
private createChildren;
|
|
1695
1695
|
}
|
|
1696
|
-
export type TopLevelTranslation = PackageImportTranslation | PackageVariableTranslation | PackageFunctionTranslation | TypeTranslation | FunctionTypeTranslation |
|
|
1696
|
+
export type TopLevelTranslation = PackageImportTranslation | PackageVariableTranslation | PackageFunctionTranslation | TypeTranslation | FunctionTypeTranslation | TextTranslationDeclaration;
|
|
1697
1697
|
export type TranslationParameterListParent = TranslationParameterClause | IndexParameterTranslationClause;
|
|
1698
1698
|
export declare class TranslationParameterList extends BaseNode {
|
|
1699
1699
|
readonly kind = NodeKind.TranslationParameterList;
|
|
@@ -1939,71 +1939,71 @@ export declare class TypeTranslation extends BaseNode {
|
|
|
1939
1939
|
}
|
|
1940
1940
|
export type TypeMemberTranslation = FieldOrVariantTranslation | MethodTranslation | IndexerTranslation | ConstructorTranslation;
|
|
1941
1941
|
export type TypeMemberTranslationParent = TypeMemberTranslationList;
|
|
1942
|
-
export type
|
|
1943
|
-
export type TranslationSourceText = TextLiteral |
|
|
1942
|
+
export type TextTranslationDeclarationParent = TopLevelTranslationList;
|
|
1943
|
+
export type TranslationSourceText = TextLiteral | TextTemplateDeclaration;
|
|
1944
1944
|
export type TranslatedTextOrTranslationFunction = TextLiteral | TextTemplateLiteral | FunctionLiteral | FunctionBlockLiteral | InvalidExpression;
|
|
1945
|
-
export declare class
|
|
1946
|
-
readonly kind = NodeKind.
|
|
1947
|
-
readonly green: green.
|
|
1948
|
-
readonly parent:
|
|
1945
|
+
export declare class TextTranslationDeclaration extends BaseNode {
|
|
1946
|
+
readonly kind = NodeKind.TextTranslationDeclaration;
|
|
1947
|
+
readonly green: green.TextTranslationDeclaration;
|
|
1948
|
+
readonly parent: TextTranslationDeclarationParent;
|
|
1949
1949
|
private _children;
|
|
1950
1950
|
get children(): readonly [TranslationSourceText, Token<green.TokenKind.MinusGreaterThan>, TranslatedTextOrTranslationFunction];
|
|
1951
1951
|
get sourceText(): TranslationSourceText;
|
|
1952
1952
|
get minusGreaterThanToken(): Token<TokenKind.MinusGreaterThan>;
|
|
1953
1953
|
get translatedTextOrTranslationFunction(): TranslatedTextOrTranslationFunction;
|
|
1954
1954
|
protected get thisAsNode(): Node;
|
|
1955
|
-
constructor(green: green.
|
|
1955
|
+
constructor(green: green.TextTranslationDeclaration, rangeStart: number, parent: TextTranslationDeclarationParent);
|
|
1956
1956
|
private createChildren;
|
|
1957
1957
|
}
|
|
1958
|
-
export type
|
|
1959
|
-
export declare class
|
|
1960
|
-
readonly kind = NodeKind.
|
|
1961
|
-
readonly green: green.
|
|
1962
|
-
readonly parent:
|
|
1958
|
+
export type TextTemplateDeclarationParent = TextTranslationDeclaration;
|
|
1959
|
+
export declare class TextTemplateDeclaration extends BaseNode {
|
|
1960
|
+
readonly kind = NodeKind.TextTemplateDeclaration;
|
|
1961
|
+
readonly green: green.TextTemplateDeclaration;
|
|
1962
|
+
readonly parent: TextTemplateDeclarationParent;
|
|
1963
1963
|
private _children;
|
|
1964
|
-
get children(): readonly [TextTemplateHead,
|
|
1964
|
+
get children(): readonly [TextTemplateHead, TextTemplateDeclarationSpanList];
|
|
1965
1965
|
get head(): TextTemplateHead;
|
|
1966
|
-
get spanList():
|
|
1966
|
+
get spanList(): TextTemplateDeclarationSpanList;
|
|
1967
1967
|
protected get thisAsNode(): Node;
|
|
1968
|
-
constructor(green: green.
|
|
1968
|
+
constructor(green: green.TextTemplateDeclaration, rangeStart: number, parent: TextTemplateDeclarationParent);
|
|
1969
1969
|
private createChildren;
|
|
1970
1970
|
}
|
|
1971
|
-
export type
|
|
1972
|
-
export declare class
|
|
1973
|
-
readonly kind = NodeKind.
|
|
1974
|
-
readonly green: green.
|
|
1975
|
-
readonly parent:
|
|
1971
|
+
export type TextTemplateDeclarationSpanListParent = TextTemplateDeclaration;
|
|
1972
|
+
export declare class TextTemplateDeclarationSpanList extends BaseNode {
|
|
1973
|
+
readonly kind = NodeKind.TextTemplateDeclarationSpanList;
|
|
1974
|
+
readonly green: green.TextTemplateDeclarationSpanList;
|
|
1975
|
+
readonly parent: TextTemplateDeclarationSpanListParent;
|
|
1976
1976
|
private _children;
|
|
1977
|
-
get children(): readonly
|
|
1978
|
-
get spans(): readonly
|
|
1977
|
+
get children(): readonly TextTemplateDeclarationSpan[];
|
|
1978
|
+
get spans(): readonly TextTemplateDeclarationSpan[];
|
|
1979
1979
|
protected get thisAsNode(): Node;
|
|
1980
|
-
constructor(green: green.
|
|
1980
|
+
constructor(green: green.TextTemplateDeclarationSpanList, rangeStart: number, parent: TextTemplateDeclarationSpanListParent);
|
|
1981
1981
|
private createChildren;
|
|
1982
1982
|
}
|
|
1983
|
-
export type
|
|
1984
|
-
export declare class
|
|
1985
|
-
readonly kind = NodeKind.
|
|
1986
|
-
readonly green: green.
|
|
1987
|
-
readonly parent:
|
|
1983
|
+
export type TextTemplateDeclarationSpanParent = TextTemplateDeclarationSpanList;
|
|
1984
|
+
export declare class TextTemplateDeclarationSpan extends BaseNode {
|
|
1985
|
+
readonly kind = NodeKind.TextTemplateDeclarationSpan;
|
|
1986
|
+
readonly green: green.TextTemplateDeclarationSpan;
|
|
1987
|
+
readonly parent: TextTemplateDeclarationSpanParent;
|
|
1988
1988
|
private _children;
|
|
1989
|
-
get children(): readonly [
|
|
1990
|
-
get parameter():
|
|
1989
|
+
get children(): readonly [TextTemplateParameterDeclaration, TextTemplatePart | TextTemplateTail];
|
|
1990
|
+
get parameter(): TextTemplateParameterDeclaration;
|
|
1991
1991
|
get text(): TextTemplatePart | TextTemplateTail;
|
|
1992
1992
|
protected get thisAsNode(): Node;
|
|
1993
|
-
constructor(green: green.
|
|
1993
|
+
constructor(green: green.TextTemplateDeclarationSpan, rangeStart: number, parent: TextTemplateDeclarationSpanParent);
|
|
1994
1994
|
private createChildren;
|
|
1995
1995
|
}
|
|
1996
|
-
export type
|
|
1997
|
-
export declare class
|
|
1998
|
-
readonly kind = NodeKind.
|
|
1999
|
-
readonly green: green.
|
|
2000
|
-
readonly parent:
|
|
1996
|
+
export type TextTemplateParameterDeclarationParent = TextTemplateDeclarationSpan;
|
|
1997
|
+
export declare class TextTemplateParameterDeclaration extends BaseNode {
|
|
1998
|
+
readonly kind = NodeKind.TextTemplateParameterDeclaration;
|
|
1999
|
+
readonly green: green.TextTemplateParameterDeclaration;
|
|
2000
|
+
readonly parent: TextTemplateParameterDeclarationParent;
|
|
2001
2001
|
private _children;
|
|
2002
2002
|
get children(): readonly [Identifier, TypeAnnotation | undefined];
|
|
2003
2003
|
get name(): Identifier;
|
|
2004
2004
|
get typeAnnotation(): TypeAnnotation | undefined;
|
|
2005
2005
|
protected get thisAsNode(): Node;
|
|
2006
|
-
constructor(green: green.
|
|
2006
|
+
constructor(green: green.TextTemplateParameterDeclaration, rangeStart: number, parent: TextTemplateParameterDeclarationParent);
|
|
2007
2007
|
private createChildren;
|
|
2008
2008
|
}
|
|
2009
2009
|
export declare class VariantDeclaration extends BaseNode {
|
|
@@ -2210,7 +2210,7 @@ export declare class TypeParameterList extends BaseNode {
|
|
|
2210
2210
|
constructor(green: green.TypeParameterList, rangeStart: number, parent: TypeParameterListParent);
|
|
2211
2211
|
private createChildren;
|
|
2212
2212
|
}
|
|
2213
|
-
export type TypeAnnotationParent = PackageFunctionDeclaration | FunctionTypeDeclarationBody | PackageVariableDeclaration | PackageVariableGetterDeclaration | PackageVariableSetterDeclaration | NestedFunctionDeclaration | LocalVariableDeclaration | FunctionLiteral | ParameterDeclaration | IndexedElementGetterDeclaration | IndexedElementSetterDeclaration | DereferencedVariableGetterDeclaration | DereferencedVariableSetterDeclaration | MethodDeclaration | OperatorDeclaration | FieldDeclaration | FieldGetterDeclaration | FieldSetterDeclaration | ErrorVariableDeclaration |
|
|
2213
|
+
export type TypeAnnotationParent = PackageFunctionDeclaration | FunctionTypeDeclarationBody | PackageVariableDeclaration | PackageVariableGetterDeclaration | PackageVariableSetterDeclaration | NestedFunctionDeclaration | LocalVariableDeclaration | FunctionLiteral | ParameterDeclaration | IndexedElementGetterDeclaration | IndexedElementSetterDeclaration | DereferencedVariableGetterDeclaration | DereferencedVariableSetterDeclaration | MethodDeclaration | OperatorDeclaration | FieldDeclaration | FieldGetterDeclaration | FieldSetterDeclaration | ErrorVariableDeclaration | TextTemplateParameterDeclaration;
|
|
2214
2214
|
export declare class TypeAnnotation extends BaseNode {
|
|
2215
2215
|
readonly kind = NodeKind.TypeAnnotation;
|
|
2216
2216
|
readonly green: green.TypeAnnotation;
|
|
@@ -2223,4 +2223,4 @@ export declare class TypeAnnotation extends BaseNode {
|
|
|
2223
2223
|
constructor(green: green.TypeAnnotation, rangeStart: number, parent: TypeAnnotationParent);
|
|
2224
2224
|
private createChildren;
|
|
2225
2225
|
}
|
|
2226
|
-
export type Node = SourceFile | PackageMemberDeclarationList | Keyword | PackageImportDirectiveList | SinglePackageImportDirective | PackageGroupImportDirective | PackageImportList | PackageImport | PackageName | NamedTypeSpecifier | UnionTypeSpecifier | IntersectionTypeSpecifier | ParenthesizedTypeSpecifier | NullableTypeSpecifier | AnonymousTypeSpecifier | InvalidTypeSpecifier | AnonymousFunctionTypeDeclaration | AnonymousStructuredTypeDeclaration | AnonymousVariantTypeDeclaration | PackageAliasTypeDeclaration | AliasTypeDeclarationBody | PackageMemberGroupDeclaration | PackageConstructorDeclaration | PackageEntryPointDeclaration | PackageFunctionDeclaration | PackageFunctionTypeDeclaration | FunctionTypeDeclarationBody | BaseTypeList | TypeMemberDeclarationList | TypeMemberDeclarationBlock | PackageStructuredTypeDeclaration | StructuredTypeDeclarationBody | PackageVariableDeclaration | PackageVariableGetterDeclaration | PackageVariableSetterDeclaration | PackageVariantTypeDeclaration | VariantTypeDeclarationBody | TypeExtensionDeclaration | ExtendedTypeClauseCommaList | ExtendedTypeClause | InvalidPackageMemberDeclaration | TypeMemberGroupDeclaration | ConstructorDeclaration | DestructorDeclaration | IndexedElementGetterDeclaration | IndexedElementSetterDeclaration | IndexParameterClause | DereferencedVariableGetterDeclaration | DereferencedVariableSetterDeclaration | MethodDeclaration | OperatorDeclaration | FieldDeclaration | FieldGetterDeclaration | FieldSetterDeclaration | InvalidTypeMemberDeclaration | NestedFunctionDeclaration | LocalVariableDeclaration | EnumerationVariableDeclaration | ArrayLiteral | ArrayLiteralElementList | AssertionExpression | AssumptionExpression | AsExpression | BinaryExpression | FunctionLiteral | FunctionBlockLiteral | ArgumentList | CallExpression | AutotypeCallExpression | IndexedAccessExpression | InvalidExpression | IsExpression | ParenthesizedExpression | ConditionalExpression | PrefixUnaryExpression | MemberAccessExpression | ReferenceExpression | DereferenceExpression | TextTemplateLiteral | TextTemplateSpanList | TextTemplateSpan | TokenExpression | KeywordExpression | ObjectExpression | BaseExpression | IdentifierExpression | GenericSpecializationExpression | DefaultMatchExpression | AssignmentStatement | StatementList | StatementBlock | FunctionBlock | BreakLoopStatement | ContinueLoopStatement | DisposeStatement | RunStatement | TryStatement | CatchClause | ErrorVariableDeclaration | FinallyClause | EmptyStatement | ErrorStatement | ImportantStatement | ExpressionStatement | EnumerationVariableList | ForStatement | IfStatement | ElseIfClauseList | ElseIfClause | ElseClause | InvalidStatement | NestedFunctionDeclarationStatement | LocalVariableDeclarationStatement | LoopStatement | ReturnStatement | CaseClauseList | SwitchStatement | MatchExpressionList | CaseClause | WhileStatement | YieldStatement | TranslationsDeclaration | TopLevelTranslationList | TranslationParameterList | TranslationParameterClause | ConstructorTranslation | IndexParameterTranslationClause | IndexerTranslation | TranslationTypeParameterList | TranslationTypeParameterClause | PackageFunctionTranslation | MethodTranslation | FunctionTypeTranslation | PackageImportTranslation | QualifiedName | PackageVariableTranslation | FieldOrVariantTranslation | TypeMemberTranslationList | TypeTranslation |
|
|
2226
|
+
export type Node = SourceFile | PackageMemberDeclarationList | Keyword | PackageImportDirectiveList | SinglePackageImportDirective | PackageGroupImportDirective | PackageImportList | PackageImport | PackageName | NamedTypeSpecifier | UnionTypeSpecifier | IntersectionTypeSpecifier | ParenthesizedTypeSpecifier | NullableTypeSpecifier | AnonymousTypeSpecifier | InvalidTypeSpecifier | AnonymousFunctionTypeDeclaration | AnonymousStructuredTypeDeclaration | AnonymousVariantTypeDeclaration | PackageAliasTypeDeclaration | AliasTypeDeclarationBody | PackageMemberGroupDeclaration | PackageConstructorDeclaration | PackageEntryPointDeclaration | PackageFunctionDeclaration | PackageFunctionTypeDeclaration | FunctionTypeDeclarationBody | BaseTypeList | TypeMemberDeclarationList | TypeMemberDeclarationBlock | PackageStructuredTypeDeclaration | StructuredTypeDeclarationBody | PackageVariableDeclaration | PackageVariableGetterDeclaration | PackageVariableSetterDeclaration | PackageVariantTypeDeclaration | VariantTypeDeclarationBody | TypeExtensionDeclaration | ExtendedTypeClauseCommaList | ExtendedTypeClause | InvalidPackageMemberDeclaration | TypeMemberGroupDeclaration | ConstructorDeclaration | DestructorDeclaration | IndexedElementGetterDeclaration | IndexedElementSetterDeclaration | IndexParameterClause | DereferencedVariableGetterDeclaration | DereferencedVariableSetterDeclaration | MethodDeclaration | OperatorDeclaration | FieldDeclaration | FieldGetterDeclaration | FieldSetterDeclaration | InvalidTypeMemberDeclaration | NestedFunctionDeclaration | LocalVariableDeclaration | EnumerationVariableDeclaration | ArrayLiteral | ArrayLiteralElementList | AssertionExpression | AssumptionExpression | AsExpression | BinaryExpression | FunctionLiteral | FunctionBlockLiteral | ArgumentList | CallExpression | AutotypeCallExpression | IndexedAccessExpression | InvalidExpression | IsExpression | ParenthesizedExpression | ConditionalExpression | PrefixUnaryExpression | MemberAccessExpression | ReferenceExpression | DereferenceExpression | TextTemplateLiteral | TextTemplateSpanList | TextTemplateSpan | TokenExpression | KeywordExpression | ObjectExpression | BaseExpression | IdentifierExpression | GenericSpecializationExpression | DefaultMatchExpression | AssignmentStatement | StatementList | StatementBlock | FunctionBlock | BreakLoopStatement | ContinueLoopStatement | DisposeStatement | RunStatement | TryStatement | CatchClause | ErrorVariableDeclaration | FinallyClause | EmptyStatement | ErrorStatement | ImportantStatement | ExpressionStatement | EnumerationVariableList | ForStatement | IfStatement | ElseIfClauseList | ElseIfClause | ElseClause | InvalidStatement | NestedFunctionDeclarationStatement | LocalVariableDeclarationStatement | LoopStatement | ReturnStatement | CaseClauseList | SwitchStatement | MatchExpressionList | CaseClause | WhileStatement | YieldStatement | TranslationsDeclaration | TopLevelTranslationList | TranslationParameterList | TranslationParameterClause | ConstructorTranslation | IndexParameterTranslationClause | IndexerTranslation | TranslationTypeParameterList | TranslationTypeParameterClause | PackageFunctionTranslation | MethodTranslation | FunctionTypeTranslation | PackageImportTranslation | QualifiedName | PackageVariableTranslation | FieldOrVariantTranslation | TypeMemberTranslationList | TypeTranslation | TextTranslationDeclaration | TextTemplateDeclaration | TextTemplateDeclarationSpanList | TextTemplateDeclarationSpan | TextTemplateParameterDeclaration | VariantDeclaration | TypeParameterDeclaration | ParameterDeclaration | Argument | TagList | Tag | ModifierList | Modifier | ParameterClause | ParameterList | TypeArgumentClause | TypeArgumentList | TypeParameterClause | TypeParameterList | TypeAnnotation | Token;
|
|
@@ -450,7 +450,6 @@ export declare class TsIteratorFunctionEntity implements MethodEntity {
|
|
|
450
450
|
readonly kind = EntityKind.Function;
|
|
451
451
|
readonly subkind = "method";
|
|
452
452
|
private readonly _returnType;
|
|
453
|
-
private readonly _overriddenMembers;
|
|
454
453
|
constructor(_tsctx: TsInteropContext, _symbol: ts.Symbol, _containingType: TypeEntityWithMembers);
|
|
455
454
|
getName(): Name;
|
|
456
455
|
getTypeParameters(): readonly TypeParameterEntity[];
|
|
@@ -100,7 +100,7 @@ declare class TypeContext {
|
|
|
100
100
|
private readonly _packagesWithCreatedMembers;
|
|
101
101
|
private readonly _esSymbolType;
|
|
102
102
|
private get checker();
|
|
103
|
-
private get
|
|
103
|
+
private get refObjectOrNull();
|
|
104
104
|
private get esSymbolType();
|
|
105
105
|
private get analyzer();
|
|
106
106
|
constructor(tsctx: TsInteropContext);
|
|
@@ -4,15 +4,15 @@ import { IType, SubstitutionMap, Substitutions, Type } from './index.js';
|
|
|
4
4
|
export declare class ParameterType implements IType {
|
|
5
5
|
private readonly _analyzer;
|
|
6
6
|
private readonly _entity;
|
|
7
|
-
readonly
|
|
7
|
+
readonly isNullExcluded: boolean;
|
|
8
8
|
readonly kind = "parameter";
|
|
9
9
|
private readonly _constraint;
|
|
10
10
|
/**
|
|
11
|
-
* Ограничение параметра типа с учётом флага {@link
|
|
11
|
+
* Ограничение параметра типа с учётом флага {@link isNullExcluded}.
|
|
12
12
|
*/
|
|
13
13
|
get constraint(): Type | undefined;
|
|
14
14
|
get debuggerDisplay(): string;
|
|
15
|
-
constructor(_analyzer: Analyzer, _entity: TypeParameterEntity,
|
|
15
|
+
constructor(_analyzer: Analyzer, _entity: TypeParameterEntity, isNullExcluded: boolean);
|
|
16
16
|
getSubstitutions(): Substitutions;
|
|
17
17
|
getEntity(): TypeParameterEntity;
|
|
18
18
|
applySubstitutions(map: SubstitutionMap): Type;
|
|
@@ -12,7 +12,7 @@ export declare class StandardTypes {
|
|
|
12
12
|
private _char;
|
|
13
13
|
private _unresolved;
|
|
14
14
|
private _yesNo;
|
|
15
|
-
private
|
|
15
|
+
private _null;
|
|
16
16
|
private _measure;
|
|
17
17
|
private _enumerator;
|
|
18
18
|
private _enumerable;
|
|
@@ -31,7 +31,7 @@ export declare class StandardTypes {
|
|
|
31
31
|
get char(): StructuredType;
|
|
32
32
|
get unresolved(): UnresolvedType;
|
|
33
33
|
get yesNo(): StructuredType;
|
|
34
|
-
get
|
|
34
|
+
get nullType(): StructuredType;
|
|
35
35
|
get measure(): StructuredType;
|
|
36
36
|
get enumerator(): StructuredType;
|
|
37
37
|
get enumerable(): StructuredType;
|