mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-10-28 08:26:01 +08:00
[api] Remove package.json "imports" (#64879)
This commit is contained in:
1 parent
28534d7609
commit
5733ab05f5
116 files changed
+297
-318
No files matched your search
+1
-1
@@ -745,7 +745,7 @@ export const generateAPI = task({
|
||||
const vendorJsonrpcDir = "packages/typescript/vendor/vscode-jsonrpc";
|
||||
const vendorJsonrpcSrc = "node_modules/vscode-jsonrpc";
|
||||
// Files copied verbatim from the installed vscode-jsonrpc package into the
|
||||
// vendored copy. Only the runtime files needed by the `#vscode-jsonrpc/node`
|
||||
// vendored copy. Only the runtime files needed by the API's vscode-jsonrpc
|
||||
// import (lib + typings + package.json) plus license/readme are vendored.
|
||||
const vendorJsonrpcFiles = ["package.json", "README.md", "License.txt", "lib", "typings"];
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/tspath/path.go. DO NOT EDIT.
|
||||
|
||||
export enum CaseSensitivity {
|
||||
export declare enum CaseSensitivity {
|
||||
Insensitive = 0,
|
||||
Sensitive = 1,
|
||||
}
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/tspath/path.go. DO NOT EDIT.
|
||||
export var CaseSensitivity: any;
|
||||
export var CaseSensitivity;
|
||||
(function (CaseSensitivity) {
|
||||
CaseSensitivity[CaseSensitivity["Insensitive"] = 0] = "Insensitive";
|
||||
CaseSensitivity[CaseSensitivity["Sensitive"] = 1] = "Sensitive";
|
||||
packages/typescript/src/enums/characterCodes.enum.ts → packages/typescript/enums/characterCodes.d.ts
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
export enum CharacterCodes {
|
||||
export declare enum CharacterCodes {
|
||||
EOF = -1,
|
||||
nullCharacter = 0,
|
||||
maxAsciiCharacter = 0x7F,
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
export var CharacterCodes: any;
|
||||
export var CharacterCodes;
|
||||
(function (CharacterCodes) {
|
||||
CharacterCodes[CharacterCodes["EOF"] = -1] = "EOF";
|
||||
CharacterCodes[CharacterCodes["nullCharacter"] = 0] = "nullCharacter";
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/ast/checkflags.go. DO NOT EDIT.
|
||||
|
||||
export enum CheckFlags {
|
||||
export declare enum CheckFlags {
|
||||
None = 0,
|
||||
Instantiated = 1 << 0,
|
||||
SyntheticProperty = 1 << 1,
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/ast/checkflags.go. DO NOT EDIT.
|
||||
export var CheckFlags: any;
|
||||
export var CheckFlags;
|
||||
(function (CheckFlags) {
|
||||
CheckFlags[CheckFlags["None"] = 0] = "None";
|
||||
CheckFlags[CheckFlags["Instantiated"] = 1] = "Instantiated";
|
||||
@@ -0,0 +1,4 @@
|
||||
export declare enum CommentDirectiveType {
|
||||
ExpectError = 0,
|
||||
Ignore = 1,
|
||||
}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
export var CommentDirectiveType: any;
|
||||
export var CommentDirectiveType;
|
||||
(function (CommentDirectiveType) {
|
||||
CommentDirectiveType[CommentDirectiveType["ExpectError"] = 0] = "ExpectError";
|
||||
CommentDirectiveType[CommentDirectiveType["Ignore"] = 1] = "Ignore";
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/lsp/lsproto/lsp_generated.go. DO NOT EDIT.
|
||||
|
||||
export enum CompletionItemKind {
|
||||
export declare enum CompletionItemKind {
|
||||
Text = 1,
|
||||
Method = 2,
|
||||
Function = 3,
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/lsp/lsproto/lsp_generated.go. DO NOT EDIT.
|
||||
export var CompletionItemKind: any;
|
||||
export var CompletionItemKind;
|
||||
(function (CompletionItemKind) {
|
||||
CompletionItemKind[CompletionItemKind["Text"] = 1] = "Text";
|
||||
CompletionItemKind[CompletionItemKind["Method"] = 2] = "Method";
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/diagnostics/diagnostics.go. DO NOT EDIT.
|
||||
|
||||
export enum DiagnosticCategory {
|
||||
export declare enum DiagnosticCategory {
|
||||
Warning = 0,
|
||||
Error = 1,
|
||||
Suggestion = 2,
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/diagnostics/diagnostics.go. DO NOT EDIT.
|
||||
export var DiagnosticCategory: any;
|
||||
export var DiagnosticCategory;
|
||||
(function (DiagnosticCategory) {
|
||||
DiagnosticCategory[DiagnosticCategory["Warning"] = 0] = "Warning";
|
||||
DiagnosticCategory[DiagnosticCategory["Error"] = 1] = "Error";
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/ast/ast.go. DO NOT EDIT.
|
||||
|
||||
export enum DiagnosticDirectivePolicy {
|
||||
export declare enum DiagnosticDirectivePolicy {
|
||||
Ignore = 0,
|
||||
Expect = 1,
|
||||
}
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/ast/ast.go. DO NOT EDIT.
|
||||
export var DiagnosticDirectivePolicy: any;
|
||||
export var DiagnosticDirectivePolicy;
|
||||
(function (DiagnosticDirectivePolicy) {
|
||||
DiagnosticDirectivePolicy[DiagnosticDirectivePolicy["Ignore"] = 0] = "Ignore";
|
||||
DiagnosticDirectivePolicy[DiagnosticDirectivePolicy["Expect"] = 1] = "Expect";
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/checker/types.go. DO NOT EDIT.
|
||||
|
||||
export enum ElementFlags {
|
||||
export declare enum ElementFlags {
|
||||
None = 0,
|
||||
Required = 1 << 0,
|
||||
Optional = 1 << 1,
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/checker/types.go. DO NOT EDIT.
|
||||
export var ElementFlags: any;
|
||||
export var ElementFlags;
|
||||
(function (ElementFlags) {
|
||||
ElementFlags[ElementFlags["None"] = 0] = "None";
|
||||
ElementFlags[ElementFlags["Required"] = 1] = "Required";
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/compiler/emitter.go. DO NOT EDIT.
|
||||
|
||||
export enum EmitOnly {
|
||||
export declare enum EmitOnly {
|
||||
All = 0,
|
||||
OnlyJs = 1,
|
||||
OnlyDts = 2,
|
||||
@@ -1,5 +1,5 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/compiler/emitter.go. DO NOT EDIT.
|
||||
export var EmitOnly: any;
|
||||
export var EmitOnly;
|
||||
(function (EmitOnly) {
|
||||
EmitOnly[EmitOnly["All"] = 0] = "All";
|
||||
EmitOnly[EmitOnly["OnlyJs"] = 1] = "OnlyJs";
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/checker/types.go. DO NOT EDIT.
|
||||
|
||||
export enum IndexKind {
|
||||
export declare enum IndexKind {
|
||||
String = 0,
|
||||
Number = 1,
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/checker/types.go. DO NOT EDIT.
|
||||
export var IndexKind: any;
|
||||
export var IndexKind;
|
||||
(function (IndexKind) {
|
||||
IndexKind[IndexKind["String"] = 0] = "String";
|
||||
IndexKind[IndexKind["Number"] = 1] = "Number";
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/ast/symbol.go. DO NOT EDIT.
|
||||
|
||||
export enum InternalSymbolName {
|
||||
export declare enum InternalSymbolName {
|
||||
Call = "__call",
|
||||
Constructor = "__constructor",
|
||||
New = "__new",
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/ast/symbol.go. DO NOT EDIT.
|
||||
export var InternalSymbolName: any;
|
||||
export var InternalSymbolName;
|
||||
(function (InternalSymbolName) {
|
||||
InternalSymbolName["Call"] = "__call";
|
||||
InternalSymbolName["Constructor"] = "__constructor";
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/ast/utilities.go. DO NOT EDIT.
|
||||
|
||||
export enum JSDeclarationKind {
|
||||
export declare enum JSDeclarationKind {
|
||||
None = 0,
|
||||
ModuleExports = 1,
|
||||
ExportsProperty = 2,
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/ast/utilities.go. DO NOT EDIT.
|
||||
export var JSDeclarationKind: any;
|
||||
export var JSDeclarationKind;
|
||||
(function (JSDeclarationKind) {
|
||||
JSDeclarationKind[JSDeclarationKind["None"] = 0] = "None";
|
||||
JSDeclarationKind[JSDeclarationKind["ModuleExports"] = 1] = "ModuleExports";
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tools/scripts/tsc/options.ts. DO NOT EDIT.
|
||||
|
||||
export enum JsxEmit {
|
||||
export declare enum JsxEmit {
|
||||
None = 0,
|
||||
Preserve = 1,
|
||||
React = 2,
|
||||
@@ -1,5 +1,5 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tools/scripts/tsc/options.ts. DO NOT EDIT.
|
||||
export var JsxEmit: any;
|
||||
export var JsxEmit;
|
||||
(function (JsxEmit) {
|
||||
JsxEmit[JsxEmit["None"] = 0] = "None";
|
||||
JsxEmit[JsxEmit["Preserve"] = 1] = "Preserve";
|
||||
@@ -0,0 +1,4 @@
|
||||
export declare enum LanguageVariant {
|
||||
Standard = 0,
|
||||
JSX = 1,
|
||||
}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
export var LanguageVariant: any;
|
||||
export var LanguageVariant;
|
||||
(function (LanguageVariant) {
|
||||
LanguageVariant[LanguageVariant["Standard"] = 0] = "Standard";
|
||||
LanguageVariant[LanguageVariant["JSX"] = 1] = "JSX";
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/ast/modifierflags.go. DO NOT EDIT.
|
||||
|
||||
export enum ModifierFlags {
|
||||
export declare enum ModifierFlags {
|
||||
None = 0,
|
||||
Public = 1 << 0,
|
||||
Private = 1 << 1,
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/ast/modifierflags.go. DO NOT EDIT.
|
||||
export var ModifierFlags: any;
|
||||
export var ModifierFlags;
|
||||
(function (ModifierFlags) {
|
||||
ModifierFlags[ModifierFlags["None"] = 0] = "None";
|
||||
ModifierFlags[ModifierFlags["Public"] = 1] = "Public";
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tools/scripts/tsc/options.ts. DO NOT EDIT.
|
||||
|
||||
export enum ModuleDetectionKind {
|
||||
export declare enum ModuleDetectionKind {
|
||||
None = 0,
|
||||
Auto = 1,
|
||||
Legacy = 2,
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tools/scripts/tsc/options.ts. DO NOT EDIT.
|
||||
export var ModuleDetectionKind: any;
|
||||
export var ModuleDetectionKind;
|
||||
(function (ModuleDetectionKind) {
|
||||
ModuleDetectionKind[ModuleDetectionKind["None"] = 0] = "None";
|
||||
ModuleDetectionKind[ModuleDetectionKind["Auto"] = 1] = "Auto";
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tools/scripts/tsc/options.ts. DO NOT EDIT.
|
||||
|
||||
export enum ModuleKind {
|
||||
export declare enum ModuleKind {
|
||||
None = 0,
|
||||
CommonJS = 1,
|
||||
AMD = 2,
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tools/scripts/tsc/options.ts. DO NOT EDIT.
|
||||
export var ModuleKind: any;
|
||||
export var ModuleKind;
|
||||
(function (ModuleKind) {
|
||||
ModuleKind[ModuleKind["None"] = 0] = "None";
|
||||
ModuleKind[ModuleKind["CommonJS"] = 1] = "CommonJS";
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tools/scripts/tsc/options.ts. DO NOT EDIT.
|
||||
|
||||
export enum ModuleResolutionKind {
|
||||
export declare enum ModuleResolutionKind {
|
||||
Unknown = 0,
|
||||
Classic = 1,
|
||||
Node10 = 2,
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tools/scripts/tsc/options.ts. DO NOT EDIT.
|
||||
export var ModuleResolutionKind: any;
|
||||
export var ModuleResolutionKind;
|
||||
(function (ModuleResolutionKind) {
|
||||
ModuleResolutionKind[ModuleResolutionKind["Unknown"] = 0] = "Unknown";
|
||||
ModuleResolutionKind[ModuleResolutionKind["Classic"] = 1] = "Classic";
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tools/scripts/tsc/options.ts. DO NOT EDIT.
|
||||
|
||||
export enum NewLineKind {
|
||||
export declare enum NewLineKind {
|
||||
None = 0,
|
||||
CRLF = 1,
|
||||
LF = 2,
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tools/scripts/tsc/options.ts. DO NOT EDIT.
|
||||
export var NewLineKind: any;
|
||||
export var NewLineKind;
|
||||
(function (NewLineKind) {
|
||||
NewLineKind[NewLineKind["None"] = 0] = "None";
|
||||
NewLineKind[NewLineKind["CRLF"] = 1] = "CRLF";
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/nodebuilder/types.go. DO NOT EDIT.
|
||||
|
||||
export enum NodeBuilderFlags {
|
||||
export declare enum NodeBuilderFlags {
|
||||
None = 0,
|
||||
NoTruncation = 1 << 0,
|
||||
WriteArrayAsGenericType = 1 << 1,
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/nodebuilder/types.go. DO NOT EDIT.
|
||||
export var NodeBuilderFlags: any;
|
||||
export var NodeBuilderFlags;
|
||||
(function (NodeBuilderFlags) {
|
||||
NodeBuilderFlags[NodeBuilderFlags["None"] = 0] = "None";
|
||||
NodeBuilderFlags[NodeBuilderFlags["NoTruncation"] = 1] = "NoTruncation";
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/ast/nodeflags.go. DO NOT EDIT.
|
||||
|
||||
export enum NodeFlags {
|
||||
export declare enum NodeFlags {
|
||||
None = 0,
|
||||
Let = 1 << 0,
|
||||
Const = 1 << 1,
|
||||
@@ -1,5 +1,5 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/ast/nodeflags.go. DO NOT EDIT.
|
||||
export var NodeFlags: any;
|
||||
export var NodeFlags;
|
||||
(function (NodeFlags) {
|
||||
NodeFlags[NodeFlags["None"] = 0] = "None";
|
||||
NodeFlags[NodeFlags["Let"] = 1] = "Let";
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/checker/types.go. DO NOT EDIT.
|
||||
|
||||
export enum ObjectFlags {
|
||||
export declare enum ObjectFlags {
|
||||
None = 0,
|
||||
Class = 1 << 0,
|
||||
Interface = 1 << 1,
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/checker/types.go. DO NOT EDIT.
|
||||
export var ObjectFlags: any;
|
||||
export var ObjectFlags;
|
||||
(function (ObjectFlags) {
|
||||
ObjectFlags[ObjectFlags["None"] = 0] = "None";
|
||||
ObjectFlags[ObjectFlags["Class"] = 1] = "Class";
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/ast/utilities.go. DO NOT EDIT.
|
||||
|
||||
export enum OuterExpressionKinds {
|
||||
export declare enum OuterExpressionKinds {
|
||||
Parentheses = 1 << 0,
|
||||
TypeAssertions = 1 << 1,
|
||||
NonNullAssertions = 1 << 2,
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/ast/utilities.go. DO NOT EDIT.
|
||||
export var OuterExpressionKinds: any;
|
||||
export var OuterExpressionKinds;
|
||||
(function (OuterExpressionKinds) {
|
||||
OuterExpressionKinds[OuterExpressionKinds["Parentheses"] = 1] = "Parentheses";
|
||||
OuterExpressionKinds[OuterExpressionKinds["TypeAssertions"] = 2] = "TypeAssertions";
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
export enum RegularExpressionFlags {
|
||||
export declare enum RegularExpressionFlags {
|
||||
None = 0,
|
||||
HasIndices = 1 << 0,
|
||||
Global = 1 << 1,
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
export var RegularExpressionFlags: any;
|
||||
export var RegularExpressionFlags;
|
||||
(function (RegularExpressionFlags) {
|
||||
RegularExpressionFlags[RegularExpressionFlags["None"] = 0] = "None";
|
||||
RegularExpressionFlags[RegularExpressionFlags["HasIndices"] = 1] = "HasIndices";
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/core/scriptkind.go. DO NOT EDIT.
|
||||
|
||||
export enum ScriptKind {
|
||||
export declare enum ScriptKind {
|
||||
Unknown = 0,
|
||||
JS = 1,
|
||||
JSX = 2,
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/core/scriptkind.go. DO NOT EDIT.
|
||||
export var ScriptKind: any;
|
||||
export var ScriptKind;
|
||||
(function (ScriptKind) {
|
||||
ScriptKind[ScriptKind["Unknown"] = 0] = "Unknown";
|
||||
ScriptKind[ScriptKind["JS"] = 1] = "JS";
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tools/scripts/tsc/options.ts. DO NOT EDIT.
|
||||
|
||||
export enum ScriptTarget {
|
||||
export declare enum ScriptTarget {
|
||||
ES2015 = 2,
|
||||
ES2016 = 3,
|
||||
ES2017 = 4,
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tools/scripts/tsc/options.ts. DO NOT EDIT.
|
||||
export var ScriptTarget: any;
|
||||
export var ScriptTarget;
|
||||
(function (ScriptTarget) {
|
||||
ScriptTarget[ScriptTarget["ES2015"] = 2] = "ES2015";
|
||||
ScriptTarget[ScriptTarget["ES2016"] = 3] = "ES2016";
|
||||
packages/typescript/src/enums/signatureFlags.enum.ts → packages/typescript/enums/signatureFlags.d.ts
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/checker/types.go. DO NOT EDIT.
|
||||
|
||||
export enum SignatureFlags {
|
||||
export declare enum SignatureFlags {
|
||||
None = 0,
|
||||
HasRestParameter = 1 << 0,
|
||||
HasLiteralTypes = 1 << 1,
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/checker/types.go. DO NOT EDIT.
|
||||
export var SignatureFlags: any;
|
||||
export var SignatureFlags;
|
||||
(function (SignatureFlags) {
|
||||
SignatureFlags[SignatureFlags["None"] = 0] = "None";
|
||||
SignatureFlags[SignatureFlags["HasRestParameter"] = 1] = "HasRestParameter";
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/checker/types.go. DO NOT EDIT.
|
||||
|
||||
export enum SignatureKind {
|
||||
export declare enum SignatureKind {
|
||||
Call = 0,
|
||||
Construct = 1,
|
||||
}
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/checker/types.go. DO NOT EDIT.
|
||||
export var SignatureKind: any;
|
||||
export var SignatureKind;
|
||||
(function (SignatureKind) {
|
||||
SignatureKind[SignatureKind["Call"] = 0] = "Call";
|
||||
SignatureKind[SignatureKind["Construct"] = 1] = "Construct";
|
||||
packages/typescript/src/enums/spanMapFeature.enum.ts → packages/typescript/enums/spanMapFeature.d.ts
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/spanmap/spanmap.go. DO NOT EDIT.
|
||||
|
||||
export enum SpanMapFeature {
|
||||
export declare enum SpanMapFeature {
|
||||
Hover = 1 << 0,
|
||||
SignatureHelp = 1 << 1,
|
||||
Completion = 1 << 2,
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/spanmap/spanmap.go. DO NOT EDIT.
|
||||
export var SpanMapFeature: any;
|
||||
export var SpanMapFeature;
|
||||
(function (SpanMapFeature) {
|
||||
SpanMapFeature[SpanMapFeature["Hover"] = 1] = "Hover";
|
||||
SpanMapFeature[SpanMapFeature["SignatureHelp"] = 2] = "SignatureHelp";
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/spanmap/spanmap.go. DO NOT EDIT.
|
||||
|
||||
export enum SpanMapFidelity {
|
||||
export declare enum SpanMapFidelity {
|
||||
Exact = 0,
|
||||
Atom = 1,
|
||||
Approximate = 2,
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/spanmap/spanmap.go. DO NOT EDIT.
|
||||
export var SpanMapFidelity: any;
|
||||
export var SpanMapFidelity;
|
||||
(function (SpanMapFidelity) {
|
||||
SpanMapFidelity[SpanMapFidelity["Exact"] = 0] = "Exact";
|
||||
SpanMapFidelity[SpanMapFidelity["Atom"] = 1] = "Atom";
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/spanmap/spanmap.go. DO NOT EDIT.
|
||||
|
||||
export enum SpanMapKind {
|
||||
export declare enum SpanMapKind {
|
||||
Verbatim = 0,
|
||||
Atom = 1,
|
||||
Alias = 2,
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/spanmap/spanmap.go. DO NOT EDIT.
|
||||
export var SpanMapKind: any;
|
||||
export var SpanMapKind;
|
||||
(function (SpanMapKind) {
|
||||
SpanMapKind[SpanMapKind["Verbatim"] = 0] = "Verbatim";
|
||||
SpanMapKind[SpanMapKind["Atom"] = 1] = "Atom";
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/ast/symbolflags.go. DO NOT EDIT.
|
||||
|
||||
export enum SymbolFlags {
|
||||
export declare enum SymbolFlags {
|
||||
None = 0,
|
||||
FunctionScopedVariable = 1 << 0,
|
||||
BlockScopedVariable = 1 << 1,
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/ast/symbolflags.go. DO NOT EDIT.
|
||||
export var SymbolFlags: any;
|
||||
export var SymbolFlags;
|
||||
(function (SymbolFlags) {
|
||||
SymbolFlags[SymbolFlags["None"] = 0] = "None";
|
||||
SymbolFlags[SymbolFlags["FunctionScopedVariable"] = 1] = "FunctionScopedVariable";
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/api/proto.go. DO NOT EDIT.
|
||||
|
||||
export enum SymbolOwnerKind {
|
||||
export declare enum SymbolOwnerKind {
|
||||
File = 0,
|
||||
Snapshot = 1,
|
||||
}
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/api/proto.go. DO NOT EDIT.
|
||||
export var SymbolOwnerKind: any;
|
||||
export var SymbolOwnerKind;
|
||||
(function (SymbolOwnerKind) {
|
||||
SymbolOwnerKind[SymbolOwnerKind["File"] = 0] = "File";
|
||||
SymbolOwnerKind[SymbolOwnerKind["Snapshot"] = 1] = "Snapshot";
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tools/scripts/tsc/ast.json. DO NOT EDIT.
|
||||
|
||||
export enum SyntaxKind {
|
||||
export declare enum SyntaxKind {
|
||||
Unknown = 0,
|
||||
EndOfFile = 1,
|
||||
SingleLineCommentTrivia = 2,
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tools/scripts/tsc/ast.json. DO NOT EDIT.
|
||||
export var SyntaxKind: any;
|
||||
export var SyntaxKind;
|
||||
(function (SyntaxKind) {
|
||||
SyntaxKind[SyntaxKind["Unknown"] = 0] = "Unknown";
|
||||
SyntaxKind[SyntaxKind["EndOfFile"] = 1] = "EndOfFile";
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/ast/tokenflags.go. DO NOT EDIT.
|
||||
|
||||
export enum TokenFlags {
|
||||
export declare enum TokenFlags {
|
||||
None = 0,
|
||||
PrecedingLineBreak = 1 << 0,
|
||||
PrecedingJSDocComment = 1 << 1,
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/ast/tokenflags.go. DO NOT EDIT.
|
||||
export var TokenFlags: any;
|
||||
export var TokenFlags;
|
||||
(function (TokenFlags) {
|
||||
TokenFlags[TokenFlags["None"] = 0] = "None";
|
||||
TokenFlags[TokenFlags["PrecedingLineBreak"] = 1] = "PrecedingLineBreak";
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/checker/types.go. DO NOT EDIT.
|
||||
|
||||
export enum TypeFlags {
|
||||
export declare enum TypeFlags {
|
||||
None = 0,
|
||||
Any = 1 << 0,
|
||||
Unknown = 1 << 1,
|
||||
@@ -1,5 +1,5 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/checker/types.go. DO NOT EDIT.
|
||||
export var TypeFlags: any;
|
||||
export var TypeFlags;
|
||||
(function (TypeFlags) {
|
||||
TypeFlags[TypeFlags["None"] = 0] = "None";
|
||||
TypeFlags[TypeFlags["Any"] = 1] = "Any";
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/checker/types.go. DO NOT EDIT.
|
||||
|
||||
export enum TypeFormatFlags {
|
||||
export declare enum TypeFormatFlags {
|
||||
None = 0,
|
||||
NoTruncation = 1 << 0,
|
||||
WriteArrayAsGenericType = 1 << 1,
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/checker/types.go. DO NOT EDIT.
|
||||
export var TypeFormatFlags: any;
|
||||
export var TypeFormatFlags;
|
||||
(function (TypeFormatFlags) {
|
||||
TypeFormatFlags[TypeFormatFlags["None"] = 0] = "None";
|
||||
TypeFormatFlags[TypeFormatFlags["NoTruncation"] = 1] = "NoTruncation";
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/checker/types.go. DO NOT EDIT.
|
||||
|
||||
export enum TypePredicateKind {
|
||||
export declare enum TypePredicateKind {
|
||||
This = 0,
|
||||
Identifier = 1,
|
||||
AssertsThis = 2,
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/checker/types.go. DO NOT EDIT.
|
||||
export var TypePredicateKind: any;
|
||||
export var TypePredicateKind;
|
||||
(function (TypePredicateKind) {
|
||||
TypePredicateKind[TypePredicateKind["This"] = 0] = "This";
|
||||
TypePredicateKind[TypePredicateKind["Identifier"] = 1] = "Identifier";
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
import getExePath from "#getExePath";
|
||||
import { execFileSync } from "node:child_process";
|
||||
import getExePath from "./getExePath.js";
|
||||
|
||||
const exe = getExePath();
|
||||
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
"lib",
|
||||
"schemas",
|
||||
"dist",
|
||||
"enums",
|
||||
"vendor"
|
||||
],
|
||||
"bin": {
|
||||
@@ -94,18 +95,6 @@
|
||||
"default": "./dist/ast/clone.js"
|
||||
}
|
||||
},
|
||||
"imports": {
|
||||
"#getExePath": "./lib/getExePath.js",
|
||||
"#enums/*": {
|
||||
"@typescript/source": {
|
||||
"types": "./src/enums/*.enum.ts",
|
||||
"default": "./src/enums/*.ts"
|
||||
},
|
||||
"types": "./dist/enums/*.enum.d.ts",
|
||||
"default": "./dist/enums/*.js"
|
||||
},
|
||||
"#vscode-jsonrpc/node": "./vendor/vscode-jsonrpc/lib/node/main.js"
|
||||
},
|
||||
"scripts": {
|
||||
"node": "node --conditions @typescript/source",
|
||||
"generate": "npm run node -- scripts/generate.ts",
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
import { CheckFlags } from "#enums/checkFlags";
|
||||
import { CompletionItemKind } from "#enums/completionItemKind";
|
||||
import { DiagnosticCategory } from "#enums/diagnosticCategory";
|
||||
import { ElementFlags } from "#enums/elementFlags";
|
||||
import { EmitOnly } from "#enums/emitOnly";
|
||||
import { IndexKind } from "#enums/indexKind";
|
||||
import { JsxEmit } from "#enums/jsxEmit";
|
||||
import { ModuleKind } from "#enums/moduleKind";
|
||||
import { ModuleResolutionKind } from "#enums/moduleResolutionKind";
|
||||
import { NewLineKind } from "#enums/newLineKind";
|
||||
import { NodeBuilderFlags } from "#enums/nodeBuilderFlags";
|
||||
import { ObjectFlags } from "#enums/objectFlags";
|
||||
import { ScriptKind } from "#enums/scriptKind";
|
||||
import { SignatureFlags } from "#enums/signatureFlags";
|
||||
import { SignatureKind } from "#enums/signatureKind";
|
||||
import { SymbolFlags } from "#enums/symbolFlags";
|
||||
import { SymbolOwnerKind } from "#enums/symbolOwnerKind";
|
||||
import { TypeFlags } from "#enums/typeFlags";
|
||||
import { TypeFormatFlags } from "#enums/typeFormatFlags";
|
||||
import { TypePredicateKind } from "#enums/typePredicateKind";
|
||||
import { CheckFlags } from "../../../enums/checkFlags.js";
|
||||
import { CompletionItemKind } from "../../../enums/completionItemKind.js";
|
||||
import { DiagnosticCategory } from "../../../enums/diagnosticCategory.js";
|
||||
import { ElementFlags } from "../../../enums/elementFlags.js";
|
||||
import { EmitOnly } from "../../../enums/emitOnly.js";
|
||||
import { IndexKind } from "../../../enums/indexKind.js";
|
||||
import { JsxEmit } from "../../../enums/jsxEmit.js";
|
||||
import { ModuleKind } from "../../../enums/moduleKind.js";
|
||||
import { ModuleResolutionKind } from "../../../enums/moduleResolutionKind.js";
|
||||
import { NewLineKind } from "../../../enums/newLineKind.js";
|
||||
import { NodeBuilderFlags } from "../../../enums/nodeBuilderFlags.js";
|
||||
import { ObjectFlags } from "../../../enums/objectFlags.js";
|
||||
import { ScriptKind } from "../../../enums/scriptKind.js";
|
||||
import { SignatureFlags } from "../../../enums/signatureFlags.js";
|
||||
import { SignatureKind } from "../../../enums/signatureKind.js";
|
||||
import { SymbolFlags } from "../../../enums/symbolFlags.js";
|
||||
import { SymbolOwnerKind } from "../../../enums/symbolOwnerKind.js";
|
||||
import { TypeFlags } from "../../../enums/typeFlags.js";
|
||||
import { TypeFormatFlags } from "../../../enums/typeFormatFlags.js";
|
||||
import { TypePredicateKind } from "../../../enums/typePredicateKind.js";
|
||||
import {
|
||||
type __String,
|
||||
type CallLikeExpression,
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
import type { ChildProcess } from "node:child_process";
|
||||
import type { Socket } from "node:net";
|
||||
import {
|
||||
createMessageConnection,
|
||||
type MessageConnection,
|
||||
@@ -6,9 +8,7 @@ import {
|
||||
SocketMessageWriter,
|
||||
StreamMessageReader,
|
||||
StreamMessageWriter,
|
||||
} from "#vscode-jsonrpc/node";
|
||||
import type { ChildProcess } from "node:child_process";
|
||||
import type { Socket } from "node:net";
|
||||
} from "../../../vendor/vscode-jsonrpc/lib/node/main.js";
|
||||
import type {
|
||||
RootedDirectoryPath,
|
||||
RootedFilePath,
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import type { CompletionItemKind } from "#enums/completionItemKind";
|
||||
import type { ElementFlags } from "#enums/elementFlags";
|
||||
import type { ObjectFlags } from "#enums/objectFlags";
|
||||
import type { TypeFlags } from "#enums/typeFlags";
|
||||
import type { TypePredicateKind } from "#enums/typePredicateKind";
|
||||
import type { CompletionItemKind } from "../../../enums/completionItemKind.js";
|
||||
import type { ElementFlags } from "../../../enums/elementFlags.js";
|
||||
import type { ObjectFlags } from "../../../enums/objectFlags.js";
|
||||
import type { TypeFlags } from "../../../enums/typeFlags.js";
|
||||
import type { TypePredicateKind } from "../../../enums/typePredicateKind.js";
|
||||
import type {
|
||||
IndexSignatureDeclaration,
|
||||
NamedTupleMember,
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
// Code generated by tools/scripts/tsc/generate-options.ts. DO NOT EDIT.
|
||||
|
||||
import type { JsxEmit } from "#enums/jsxEmit";
|
||||
import type { ModuleDetectionKind } from "#enums/moduleDetectionKind";
|
||||
import type { ModuleKind } from "#enums/moduleKind";
|
||||
import type { ModuleResolutionKind } from "#enums/moduleResolutionKind";
|
||||
import type { NewLineKind } from "#enums/newLineKind";
|
||||
import type { ScriptTarget } from "#enums/scriptTarget";
|
||||
import type { JsxEmit } from "../../enums/jsxEmit.js";
|
||||
import type { ModuleDetectionKind } from "../../enums/moduleDetectionKind.js";
|
||||
import type { ModuleKind } from "../../enums/moduleKind.js";
|
||||
import type { ModuleResolutionKind } from "../../enums/moduleResolutionKind.js";
|
||||
import type { NewLineKind } from "../../enums/newLineKind.js";
|
||||
import type { ScriptTarget } from "../../enums/scriptTarget.js";
|
||||
import type {
|
||||
RootedDirectoryPath,
|
||||
RootedFilePath,
|
||||
RootedPath,
|
||||
} from "../ast/index.ts";
|
||||
|
||||
export { JsxEmit } from "#enums/jsxEmit";
|
||||
export { ModuleDetectionKind } from "#enums/moduleDetectionKind";
|
||||
export { ModuleKind } from "#enums/moduleKind";
|
||||
export { ModuleResolutionKind } from "#enums/moduleResolutionKind";
|
||||
export { NewLineKind } from "#enums/newLineKind";
|
||||
export { ScriptTarget } from "#enums/scriptTarget";
|
||||
export { JsxEmit } from "../../enums/jsxEmit.js";
|
||||
export { ModuleDetectionKind } from "../../enums/moduleDetectionKind.js";
|
||||
export { ModuleKind } from "../../enums/moduleKind.js";
|
||||
export { ModuleResolutionKind } from "../../enums/moduleResolutionKind.js";
|
||||
export { NewLineKind } from "../../enums/newLineKind.js";
|
||||
export { ScriptTarget } from "../../enums/scriptTarget.js";
|
||||
|
||||
/** CompilerOptions contains the compiler options exposed by the API. */
|
||||
export interface CompilerOptions {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import getExePath from "#getExePath";
|
||||
import { dirname } from "node:path";
|
||||
import getExePath from "../../lib/getExePath.js";
|
||||
import type {
|
||||
RootedDirectoryPath,
|
||||
RootedFilePath,
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
* Shared utilities for the TypeScript API client.
|
||||
*/
|
||||
|
||||
import getExePath from "#getExePath";
|
||||
import { existsSync } from "node:fs";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import getExePath from "../../lib/getExePath.js";
|
||||
import type { FileSystemCallbacks } from "./fs.ts";
|
||||
|
||||
export interface ClientSocketOptions {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { CaseSensitivity } from "#enums/caseSensitivity";
|
||||
import { CaseSensitivity } from "../../enums/caseSensitivity.js";
|
||||
import type {
|
||||
PathKey,
|
||||
RootedDirectoryPath,
|
||||
@@ -6,7 +6,7 @@ import type {
|
||||
RootedPath,
|
||||
} from "../ast/index.ts";
|
||||
|
||||
export { CaseSensitivity } from "#enums/caseSensitivity";
|
||||
export { CaseSensitivity } from "../../enums/caseSensitivity.js";
|
||||
|
||||
const CharacterCodesSlash = "/".charCodeAt(0);
|
||||
const CharacterCodesBackslash = "\\".charCodeAt(0);
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
// Code generated by gen-proto; DO NOT EDIT.
|
||||
|
||||
import { CaseSensitivity } from "#enums/caseSensitivity";
|
||||
import { JsxEmit } from "#enums/jsxEmit";
|
||||
import { ModuleDetectionKind } from "#enums/moduleDetectionKind";
|
||||
import { ModuleKind } from "#enums/moduleKind";
|
||||
import { ModuleResolutionKind } from "#enums/moduleResolutionKind";
|
||||
import { NewLineKind } from "#enums/newLineKind";
|
||||
import { ScriptKind } from "#enums/scriptKind";
|
||||
import { ScriptTarget } from "#enums/scriptTarget";
|
||||
import { SymbolOwnerKind } from "#enums/symbolOwnerKind";
|
||||
import { CaseSensitivity } from "../../enums/caseSensitivity.js";
|
||||
import { JsxEmit } from "../../enums/jsxEmit.js";
|
||||
import { ModuleDetectionKind } from "../../enums/moduleDetectionKind.js";
|
||||
import { ModuleKind } from "../../enums/moduleKind.js";
|
||||
import { ModuleResolutionKind } from "../../enums/moduleResolutionKind.js";
|
||||
import { NewLineKind } from "../../enums/newLineKind.js";
|
||||
import { ScriptKind } from "../../enums/scriptKind.js";
|
||||
import { ScriptTarget } from "../../enums/scriptTarget.js";
|
||||
import { SymbolOwnerKind } from "../../enums/symbolOwnerKind.js";
|
||||
import type {
|
||||
PathKey,
|
||||
RootedDirectoryPath,
|
||||
@@ -21,15 +21,15 @@ import type {
|
||||
} from "./compilerOptions.generated.ts";
|
||||
import type { UserPreferences } from "./userPreferences.generated.ts";
|
||||
|
||||
export { CaseSensitivity } from "#enums/caseSensitivity";
|
||||
export { JsxEmit } from "#enums/jsxEmit";
|
||||
export { ModuleDetectionKind } from "#enums/moduleDetectionKind";
|
||||
export { ModuleKind } from "#enums/moduleKind";
|
||||
export { ModuleResolutionKind } from "#enums/moduleResolutionKind";
|
||||
export { NewLineKind } from "#enums/newLineKind";
|
||||
export { ScriptKind } from "#enums/scriptKind";
|
||||
export { ScriptTarget } from "#enums/scriptTarget";
|
||||
export { SymbolOwnerKind } from "#enums/symbolOwnerKind";
|
||||
export { CaseSensitivity } from "../../enums/caseSensitivity.js";
|
||||
export { JsxEmit } from "../../enums/jsxEmit.js";
|
||||
export { ModuleDetectionKind } from "../../enums/moduleDetectionKind.js";
|
||||
export { ModuleKind } from "../../enums/moduleKind.js";
|
||||
export { ModuleResolutionKind } from "../../enums/moduleResolutionKind.js";
|
||||
export { NewLineKind } from "../../enums/newLineKind.js";
|
||||
export { ScriptKind } from "../../enums/scriptKind.js";
|
||||
export { ScriptTarget } from "../../enums/scriptTarget.js";
|
||||
export { SymbolOwnerKind } from "../../enums/symbolOwnerKind.js";
|
||||
export type { PathKey, RootedDirectoryPath, RootedFilePath, RootedPath } from "../ast/index.ts";
|
||||
export type { CompilerOptions, PluginImport } from "./compilerOptions.generated.ts";
|
||||
export * from "./compilerOptions.generated.ts";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { SymbolOwnerKind } from "#enums/symbolOwnerKind";
|
||||
import { SymbolOwnerKind } from "../../enums/symbolOwnerKind.js";
|
||||
import {
|
||||
documentURIToFileName,
|
||||
fileNameToDocumentURI,
|
||||
|
||||
@@ -15,26 +15,26 @@ import {
|
||||
cacheGeneratorMethod,
|
||||
} from "./generatorSupport.ts";
|
||||
|
||||
import { CheckFlags } from "#enums/checkFlags";
|
||||
import { CompletionItemKind } from "#enums/completionItemKind";
|
||||
import { DiagnosticCategory } from "#enums/diagnosticCategory";
|
||||
import { ElementFlags } from "#enums/elementFlags";
|
||||
import { EmitOnly } from "#enums/emitOnly";
|
||||
import { IndexKind } from "#enums/indexKind";
|
||||
import { JsxEmit } from "#enums/jsxEmit";
|
||||
import { ModuleKind } from "#enums/moduleKind";
|
||||
import { ModuleResolutionKind } from "#enums/moduleResolutionKind";
|
||||
import { NewLineKind } from "#enums/newLineKind";
|
||||
import { NodeBuilderFlags } from "#enums/nodeBuilderFlags";
|
||||
import { ObjectFlags } from "#enums/objectFlags";
|
||||
import { ScriptKind } from "#enums/scriptKind";
|
||||
import { SignatureFlags } from "#enums/signatureFlags";
|
||||
import { SignatureKind } from "#enums/signatureKind";
|
||||
import { SymbolFlags } from "#enums/symbolFlags";
|
||||
import { SymbolOwnerKind } from "#enums/symbolOwnerKind";
|
||||
import { TypeFlags } from "#enums/typeFlags";
|
||||
import { TypeFormatFlags } from "#enums/typeFormatFlags";
|
||||
import { TypePredicateKind } from "#enums/typePredicateKind";
|
||||
import { CheckFlags } from "../../../enums/checkFlags.js";
|
||||
import { CompletionItemKind } from "../../../enums/completionItemKind.js";
|
||||
import { DiagnosticCategory } from "../../../enums/diagnosticCategory.js";
|
||||
import { ElementFlags } from "../../../enums/elementFlags.js";
|
||||
import { EmitOnly } from "../../../enums/emitOnly.js";
|
||||
import { IndexKind } from "../../../enums/indexKind.js";
|
||||
import { JsxEmit } from "../../../enums/jsxEmit.js";
|
||||
import { ModuleKind } from "../../../enums/moduleKind.js";
|
||||
import { ModuleResolutionKind } from "../../../enums/moduleResolutionKind.js";
|
||||
import { NewLineKind } from "../../../enums/newLineKind.js";
|
||||
import { NodeBuilderFlags } from "../../../enums/nodeBuilderFlags.js";
|
||||
import { ObjectFlags } from "../../../enums/objectFlags.js";
|
||||
import { ScriptKind } from "../../../enums/scriptKind.js";
|
||||
import { SignatureFlags } from "../../../enums/signatureFlags.js";
|
||||
import { SignatureKind } from "../../../enums/signatureKind.js";
|
||||
import { SymbolFlags } from "../../../enums/symbolFlags.js";
|
||||
import { SymbolOwnerKind } from "../../../enums/symbolOwnerKind.js";
|
||||
import { TypeFlags } from "../../../enums/typeFlags.js";
|
||||
import { TypeFormatFlags } from "../../../enums/typeFormatFlags.js";
|
||||
import { TypePredicateKind } from "../../../enums/typePredicateKind.js";
|
||||
import {
|
||||
type __String,
|
||||
type CallLikeExpression,
|
||||
|
||||
@@ -11,11 +11,11 @@ import type {
|
||||
APIResponse as ProtocolResponse,
|
||||
} from "../proto.ts";
|
||||
|
||||
import type { CompletionItemKind } from "#enums/completionItemKind";
|
||||
import type { ElementFlags } from "#enums/elementFlags";
|
||||
import type { ObjectFlags } from "#enums/objectFlags";
|
||||
import type { TypeFlags } from "#enums/typeFlags";
|
||||
import type { TypePredicateKind } from "#enums/typePredicateKind";
|
||||
import type { CompletionItemKind } from "../../../enums/completionItemKind.js";
|
||||
import type { ElementFlags } from "../../../enums/elementFlags.js";
|
||||
import type { ObjectFlags } from "../../../enums/objectFlags.js";
|
||||
import type { TypeFlags } from "../../../enums/typeFlags.js";
|
||||
import type { TypePredicateKind } from "../../../enums/typePredicateKind.js";
|
||||
import type {
|
||||
IndexSignatureDeclaration,
|
||||
NamedTupleMember,
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// Code generated by tools/scripts/tsc/generate-ts-ast.ts. DO NOT EDIT.
|
||||
|
||||
import type { ModifierFlags } from "#enums/modifierFlags";
|
||||
import type { NodeFlags } from "#enums/nodeFlags";
|
||||
import { SyntaxKind } from "#enums/syntaxKind";
|
||||
import { TokenFlags } from "#enums/tokenFlags";
|
||||
import type { ModifierFlags } from "../../enums/modifierFlags.js";
|
||||
import type { NodeFlags } from "../../enums/nodeFlags.js";
|
||||
import { SyntaxKind } from "../../enums/syntaxKind.js";
|
||||
import { TokenFlags } from "../../enums/tokenFlags.js";
|
||||
import type {
|
||||
JsxTagNamePropertyAccess,
|
||||
Node,
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
// ast.ts — Hand-written AST type definitions
|
||||
// Generated types are in ast.generated.ts
|
||||
|
||||
import type { DiagnosticDirectivePolicy } from "#enums/diagnosticDirectivePolicy";
|
||||
import type { InternalSymbolName } from "#enums/internalSymbolName";
|
||||
import type { LanguageVariant } from "#enums/languageVariant";
|
||||
import type { NodeFlags } from "#enums/nodeFlags";
|
||||
import type { ScriptKind } from "#enums/scriptKind";
|
||||
import { SyntaxKind } from "#enums/syntaxKind";
|
||||
import type { DiagnosticDirectivePolicy } from "../../enums/diagnosticDirectivePolicy.js";
|
||||
import type { InternalSymbolName } from "../../enums/internalSymbolName.js";
|
||||
import type { LanguageVariant } from "../../enums/languageVariant.js";
|
||||
import type { NodeFlags } from "../../enums/nodeFlags.js";
|
||||
import type { ScriptKind } from "../../enums/scriptKind.js";
|
||||
import { SyntaxKind } from "../../enums/syntaxKind.js";
|
||||
import type {
|
||||
AssertionExpression,
|
||||
BindingElement,
|
||||
@@ -52,8 +52,8 @@ import type {
|
||||
} from "./ast.generated.ts";
|
||||
import type { SpanMap } from "./spanMap.ts";
|
||||
|
||||
export { SyntaxKind } from "#enums/syntaxKind";
|
||||
export { TokenFlags } from "#enums/tokenFlags";
|
||||
export { SyntaxKind } from "../../enums/syntaxKind.js";
|
||||
export { TokenFlags } from "../../enums/tokenFlags.js";
|
||||
|
||||
export * from "./ast.generated.ts";
|
||||
export * as factory from "./factory.generated.ts";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { NodeFlags } from "#enums/nodeFlags";
|
||||
import { SyntaxKind } from "#enums/syntaxKind";
|
||||
import { NodeFlags } from "../../enums/nodeFlags.js";
|
||||
import { SyntaxKind } from "../../enums/syntaxKind.js";
|
||||
import type { TokenSyntaxKind } from "./ast.generated.ts";
|
||||
import type {
|
||||
Node,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { SyntaxKind } from "#enums/syntaxKind";
|
||||
import { SyntaxKind } from "../../enums/syntaxKind.js";
|
||||
import type {
|
||||
Node,
|
||||
NodeArray,
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
// Code generated by tools/scripts/tsc/generate-ts-ast.ts. DO NOT EDIT.
|
||||
|
||||
import { NodeFlags } from "#enums/nodeFlags";
|
||||
import { SyntaxKind } from "#enums/syntaxKind";
|
||||
import { TokenFlags } from "#enums/tokenFlags";
|
||||
import { NodeFlags } from "../../enums/nodeFlags.js";
|
||||
import { SyntaxKind } from "../../enums/syntaxKind.js";
|
||||
import { TokenFlags } from "../../enums/tokenFlags.js";
|
||||
import type {
|
||||
ArrayBindingPattern,
|
||||
ArrayLiteralExpression,
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
export { CharacterCodes } from "#enums/characterCodes";
|
||||
export { CommentDirectiveType } from "#enums/commentDirectiveType";
|
||||
export { DiagnosticDirectivePolicy } from "#enums/diagnosticDirectivePolicy";
|
||||
export { InternalSymbolName } from "#enums/internalSymbolName";
|
||||
export { LanguageVariant } from "#enums/languageVariant";
|
||||
export { ModifierFlags } from "#enums/modifierFlags";
|
||||
export { NodeFlags } from "#enums/nodeFlags";
|
||||
export { RegularExpressionFlags } from "#enums/regularExpressionFlags";
|
||||
export { ScriptKind } from "#enums/scriptKind";
|
||||
export { ScriptTarget } from "#enums/scriptTarget";
|
||||
export { SpanMapFeature } from "#enums/spanMapFeature";
|
||||
export { SpanMapFidelity } from "#enums/spanMapFidelity";
|
||||
export { SpanMapKind } from "#enums/spanMapKind";
|
||||
export { SyntaxKind } from "#enums/syntaxKind";
|
||||
export { TokenFlags } from "#enums/tokenFlags";
|
||||
export { CharacterCodes } from "../../enums/characterCodes.js";
|
||||
export { CommentDirectiveType } from "../../enums/commentDirectiveType.js";
|
||||
export { DiagnosticDirectivePolicy } from "../../enums/diagnosticDirectivePolicy.js";
|
||||
export { InternalSymbolName } from "../../enums/internalSymbolName.js";
|
||||
export { LanguageVariant } from "../../enums/languageVariant.js";
|
||||
export { ModifierFlags } from "../../enums/modifierFlags.js";
|
||||
export { NodeFlags } from "../../enums/nodeFlags.js";
|
||||
export { RegularExpressionFlags } from "../../enums/regularExpressionFlags.js";
|
||||
export { ScriptKind } from "../../enums/scriptKind.js";
|
||||
export { ScriptTarget } from "../../enums/scriptTarget.js";
|
||||
export { SpanMapFeature } from "../../enums/spanMapFeature.js";
|
||||
export { SpanMapFidelity } from "../../enums/spanMapFidelity.js";
|
||||
export { SpanMapKind } from "../../enums/spanMapKind.js";
|
||||
export { SyntaxKind } from "../../enums/syntaxKind.js";
|
||||
export { TokenFlags } from "../../enums/tokenFlags.js";
|
||||
export * from "./ast.ts";
|
||||
export * from "./astnav.ts";
|
||||
export * from "./clone.ts";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by tools/scripts/tsc/generate-ts-ast.ts. DO NOT EDIT.
|
||||
|
||||
import { SyntaxKind } from "#enums/syntaxKind";
|
||||
import { SyntaxKind } from "../../enums/syntaxKind.js";
|
||||
import type { NodeHandle as AsyncNodeHandle } from "../api/async/api.ts";
|
||||
import type { NodeHandle as SyncNodeHandle } from "../api/sync/api.ts";
|
||||
import type {
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
// is.ts — Hand-written type guard functions
|
||||
// Generated guards are in is.generated.ts
|
||||
|
||||
import { ModifierFlags } from "#enums/modifierFlags";
|
||||
import { NodeFlags } from "#enums/nodeFlags";
|
||||
import { OuterExpressionKinds } from "#enums/outerExpressionKinds";
|
||||
import { ScriptKind } from "#enums/scriptKind";
|
||||
import { SyntaxKind } from "#enums/syntaxKind";
|
||||
import { ModifierFlags } from "../../enums/modifierFlags.js";
|
||||
import { NodeFlags } from "../../enums/nodeFlags.js";
|
||||
import { OuterExpressionKinds } from "../../enums/outerExpressionKinds.js";
|
||||
import { ScriptKind } from "../../enums/scriptKind.js";
|
||||
import { SyntaxKind } from "../../enums/syntaxKind.js";
|
||||
import type {
|
||||
AsExpression,
|
||||
BindingPattern,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { ModifierFlags } from "#enums/modifierFlags";
|
||||
import { SyntaxKind } from "#enums/syntaxKind";
|
||||
import { ModifierFlags } from "../../enums/modifierFlags.js";
|
||||
import { SyntaxKind } from "../../enums/syntaxKind.js";
|
||||
|
||||
export function modifierToFlag(kind: SyntaxKind): ModifierFlags {
|
||||
switch (kind) {
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import { CharacterCodes } from "#enums/characterCodes";
|
||||
import { CommentDirectiveType } from "#enums/commentDirectiveType";
|
||||
import { LanguageVariant } from "#enums/languageVariant";
|
||||
import { RegularExpressionFlags } from "#enums/regularExpressionFlags";
|
||||
import { ScriptTarget } from "#enums/scriptTarget";
|
||||
import { SyntaxKind } from "#enums/syntaxKind";
|
||||
import { TokenFlags } from "#enums/tokenFlags";
|
||||
import { CharacterCodes } from "../../enums/characterCodes.js";
|
||||
import { CommentDirectiveType } from "../../enums/commentDirectiveType.js";
|
||||
import { LanguageVariant } from "../../enums/languageVariant.js";
|
||||
import { RegularExpressionFlags } from "../../enums/regularExpressionFlags.js";
|
||||
import { ScriptTarget } from "../../enums/scriptTarget.js";
|
||||
import { SyntaxKind } from "../../enums/syntaxKind.js";
|
||||
import { TokenFlags } from "../../enums/tokenFlags.js";
|
||||
import type {
|
||||
JsxTokenSyntaxKind,
|
||||
KeywordSyntaxKind,
|
||||
|
||||
Loaded 100 of 116 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user