@mpeggroup/mpeg-sdl-parser 4.1.3 → 4.1.4
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/dist/src/prettier/print-abstract-expression.d.ts +1 -1
- package/dist/src/prettier/print-abstract-expression.d.ts.map +1 -1
- package/dist/src/prettier/print-abstract-expression.js +1 -1
- package/dist/src/prettier/print-abstract-statement.d.ts +1 -1
- package/dist/src/prettier/print-abstract-statement.d.ts.map +1 -1
- package/dist/src/prettier/print-abstract-statement.js +1 -1
- package/dist/src/prettier/print-array-definition.d.ts +1 -1
- package/dist/src/prettier/print-array-definition.d.ts.map +1 -1
- package/dist/src/prettier/print-array-definition.js +1 -1
- package/dist/src/prettier/print-do-statement.d.ts +1 -1
- package/dist/src/prettier/print-do-statement.d.ts.map +1 -1
- package/dist/src/prettier/print-do-statement.js +1 -1
- package/dist/src/prettier/print-elementary-type.d.ts +1 -1
- package/dist/src/prettier/print-elementary-type.d.ts.map +1 -1
- package/dist/src/prettier/print-elementary-type.js +1 -1
- package/dist/src/prettier/print-for-statement.d.ts +1 -1
- package/dist/src/prettier/print-for-statement.d.ts.map +1 -1
- package/dist/src/prettier/print-for-statement.js +1 -1
- package/dist/src/prettier/print-if-statement.d.ts +1 -1
- package/dist/src/prettier/print-if-statement.d.ts.map +1 -1
- package/dist/src/prettier/print-if-statement.js +1 -1
- package/dist/src/prettier/print-map-entry.d.ts +1 -1
- package/dist/src/prettier/print-map-entry.d.ts.map +1 -1
- package/dist/src/prettier/print-map-entry.js +1 -1
- package/dist/src/prettier/print-parameter.d.ts +1 -1
- package/dist/src/prettier/print-parameter.d.ts.map +1 -1
- package/dist/src/prettier/print-parameter.js +1 -1
- package/dist/src/prettier/print-specification.d.ts +1 -1
- package/dist/src/prettier/print-specification.d.ts.map +1 -1
- package/dist/src/prettier/print-specification.js +1 -1
- package/dist/src/prettier/print-string-literal.d.ts +1 -1
- package/dist/src/prettier/print-string-literal.d.ts.map +1 -1
- package/dist/src/prettier/print-string-literal.js +1 -1
- package/dist/src/prettier/print-switch-statement.d.ts +1 -1
- package/dist/src/prettier/print-switch-statement.d.ts.map +1 -1
- package/dist/src/prettier/print-switch-statement.js +1 -1
- package/dist/src/prettier/print-while-statement.d.ts +1 -1
- package/dist/src/prettier/print-while-statement.d.ts.map +1 -1
- package/dist/src/prettier/print-while-statement.js +1 -1
- package/package.json +1 -1
- package/src/prettier/print-abstract-expression.ts +1 -1
- package/src/prettier/print-abstract-statement.ts +1 -1
- package/src/prettier/print-array-definition.ts +1 -1
- package/src/prettier/print-do-statement.ts +1 -1
- package/src/prettier/print-elementary-type.ts +1 -1
- package/src/prettier/print-for-statement.ts +1 -1
- package/src/prettier/print-if-statement.ts +1 -1
- package/src/prettier/print-map-entry.ts +1 -1
- package/src/prettier/print-parameter.ts +1 -1
- package/src/prettier/print-specification.ts +1 -1
- package/src/prettier/print-string-literal.ts +1 -1
- package/src/prettier/print-switch-statement.ts +1 -1
- package/src/prettier/print-while-statement.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstPath, type Doc } from "prettier";
|
|
1
|
+
import { type AstPath, type Doc } from "prettier";
|
|
2
2
|
import type { AbstractExpression } from "../ast/node/abstract-expression.ts";
|
|
3
3
|
import type { AbstractNode } from "../ast/node/abstract-node.ts";
|
|
4
4
|
export declare function printAbstractExpression(path: AstPath<AbstractExpression>, print: (path: AstPath<AbstractNode>) => Doc): Doc;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"print-abstract-expression.d.ts","sourceRoot":"","sources":["../../../src/prettier/print-abstract-expression.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,GAAG,EAAO,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"print-abstract-expression.d.ts","sourceRoot":"","sources":["../../../src/prettier/print-abstract-expression.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,GAAG,EAAO,MAAM,UAAU,CAAC;AAEvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAiHjE,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,OAAO,CAAC,kBAAkB,CAAC,EACjC,KAAK,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC,KAAK,GAAG,GAC1C,GAAG,CAgBL"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { doc } from "prettier";
|
|
2
2
|
import { addBreakingWhitespace, addNonBreakingWhitespace } from "./util/print-utils.js";
|
|
3
3
|
import { ExpressionKind } from "../ast/node/enum/expression-kind.js";
|
|
4
4
|
import { InternalScannerError } from "../scanner-error.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstPath, type Doc } from "prettier";
|
|
1
|
+
import { type AstPath, type Doc } from "prettier";
|
|
2
2
|
import type { AbstractNode } from "../ast/node/abstract-node.ts";
|
|
3
3
|
import type { AbstractStatement } from "../ast/node/abstract-statement.ts";
|
|
4
4
|
export declare function printAbstractStatement(path: AstPath<AbstractStatement>, print: (_path: AstPath<AbstractNode>) => Doc): Doc;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"print-abstract-statement.d.ts","sourceRoot":"","sources":["../../../src/prettier/print-abstract-statement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,GAAG,EAAO,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"print-abstract-statement.d.ts","sourceRoot":"","sources":["../../../src/prettier/print-abstract-statement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,GAAG,EAAO,MAAM,UAAU,CAAC;AAQvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAqD3E,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,OAAO,CAAC,iBAAiB,CAAC,EAChC,KAAK,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,YAAY,CAAC,KAAK,GAAG,GAC3C,GAAG,CA8CL"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstPath, type Doc } from "prettier";
|
|
1
|
+
import { type AstPath, type Doc } from "prettier";
|
|
2
2
|
import type { ArrayDefinition } from "../ast/node/array-definition.ts";
|
|
3
3
|
import type { AbstractNode } from "../ast/node/abstract-node.ts";
|
|
4
4
|
export declare function printArrayDefinition(path: AstPath<ArrayDefinition>, print: (path: AstPath<AbstractNode>) => Doc): Doc;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"print-array-definition.d.ts","sourceRoot":"","sources":["../../../src/prettier/print-array-definition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,GAAG,EAAO,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"print-array-definition.d.ts","sourceRoot":"","sources":["../../../src/prettier/print-array-definition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,GAAG,EAAO,MAAM,UAAU,CAAC;AAEvD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAIjE,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,CAAC,eAAe,CAAC,EAC9B,KAAK,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC,KAAK,GAAG,GAC1C,GAAG,CAgDL"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstPath, type Doc } from "prettier";
|
|
1
|
+
import { type AstPath, type Doc } from "prettier";
|
|
2
2
|
import type { AbstractNode } from "../ast/node/abstract-node.ts";
|
|
3
3
|
import type { DoStatement } from "../ast/node/do-statement.ts";
|
|
4
4
|
export declare function printDoStatement(path: AstPath<DoStatement>, print: (path: AstPath<AbstractNode>) => Doc): Doc;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"print-do-statement.d.ts","sourceRoot":"","sources":["../../../src/prettier/print-do-statement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,GAAG,EAAO,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"print-do-statement.d.ts","sourceRoot":"","sources":["../../../src/prettier/print-do-statement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,GAAG,EAAO,MAAM,UAAU,CAAC;AAEvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAI/D,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,OAAO,CAAC,WAAW,CAAC,EAC1B,KAAK,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC,KAAK,GAAG,GAC1C,GAAG,CAiBL"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstPath, type Doc } from "prettier";
|
|
1
|
+
import { type AstPath, type Doc } from "prettier";
|
|
2
2
|
import type { AbstractNode } from "../ast/node/abstract-node.ts";
|
|
3
3
|
import type { ElementaryType } from "../ast/node/elementary-type.ts";
|
|
4
4
|
export declare function printElementaryType(path: AstPath<ElementaryType>, print: (path: AstPath<AbstractNode>) => Doc): Doc;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"print-elementary-type.d.ts","sourceRoot":"","sources":["../../../src/prettier/print-elementary-type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"print-elementary-type.d.ts","sourceRoot":"","sources":["../../../src/prettier/print-elementary-type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;AAElD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAErE,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,OAAO,CAAC,cAAc,CAAC,EAC7B,KAAK,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC,KAAK,GAAG,GAC1C,GAAG,CAiBL"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstPath, type Doc } from "prettier";
|
|
1
|
+
import { type AstPath, type Doc } from "prettier";
|
|
2
2
|
import type { AbstractNode } from "../ast/node/abstract-node.ts";
|
|
3
3
|
import type { ForStatement } from "../ast/node/for-statement.ts";
|
|
4
4
|
export declare function printForStatement(path: AstPath<ForStatement>, print: (path: AstPath<AbstractNode>) => Doc): Doc;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"print-for-statement.d.ts","sourceRoot":"","sources":["../../../src/prettier/print-for-statement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"print-for-statement.d.ts","sourceRoot":"","sources":["../../../src/prettier/print-for-statement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;AAElD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAEjE,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC,EAC3B,KAAK,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC,KAAK,GAAG,GAC1C,GAAG,CAyCL"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstPath, type Doc } from "prettier";
|
|
1
|
+
import { type AstPath, type Doc } from "prettier";
|
|
2
2
|
import type { AbstractNode } from "../ast/node/abstract-node.ts";
|
|
3
3
|
import type { IfStatement } from "../ast/node/if-statement.ts";
|
|
4
4
|
export declare function printIfStatement(path: AstPath<IfStatement>, print: (_path: AstPath<AbstractNode>) => Doc): Doc;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"print-if-statement.d.ts","sourceRoot":"","sources":["../../../src/prettier/print-if-statement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"print-if-statement.d.ts","sourceRoot":"","sources":["../../../src/prettier/print-if-statement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAS/D,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,OAAO,CAAC,WAAW,CAAC,EAC1B,KAAK,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,YAAY,CAAC,KAAK,GAAG,GAC3C,GAAG,CAkDL"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {} from "prettier";
|
|
2
2
|
import { addIndentedStatements, addNonBreakingWhitespace, addTrailingHardline, } from "./util/print-utils.js";
|
|
3
3
|
import { StatementKind } from "../ast/node/enum/statement-kind.js";
|
|
4
4
|
import { isStatement } from "../ast/util/types.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstPath, type Doc, doc } from "prettier";
|
|
1
|
+
import { type AstPath, type Doc, doc } from "prettier";
|
|
2
2
|
import type { AbstractNode } from "../ast/node/abstract-node.ts";
|
|
3
3
|
import type { MapEntry } from "../ast/node/map-entry.ts";
|
|
4
4
|
export declare function printMapEntry(path: AstPath<MapEntry>, print: (path: AstPath<AbstractNode>) => Doc): doc.builders.Doc;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"print-map-entry.d.ts","sourceRoot":"","sources":["../../../src/prettier/print-map-entry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,GAAG,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"print-map-entry.d.ts","sourceRoot":"","sources":["../../../src/prettier/print-map-entry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,GAAG,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAEvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,wBAAgB,aAAa,CAC3B,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,EACvB,KAAK,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC,KAAK,GAAG,GAC1C,GAAG,CAAC,QAAQ,CAAC,GAAG,CAUlB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstPath, type Doc, doc } from "prettier";
|
|
1
|
+
import { type AstPath, type Doc, doc } from "prettier";
|
|
2
2
|
import type { AbstractNode } from "../ast/node/abstract-node.ts";
|
|
3
3
|
import type { Parameter } from "../ast/node/parameter.ts";
|
|
4
4
|
export declare function printParameter(path: AstPath<Parameter>, print: (path: AstPath<AbstractNode>) => Doc): doc.builders.Doc;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"print-parameter.d.ts","sourceRoot":"","sources":["../../../src/prettier/print-parameter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,GAAG,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"print-parameter.d.ts","sourceRoot":"","sources":["../../../src/prettier/print-parameter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,GAAG,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAEvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAE1D,wBAAgB,cAAc,CAC5B,IAAI,EAAE,OAAO,CAAC,SAAS,CAAC,EACxB,KAAK,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC,KAAK,GAAG,GAC1C,GAAG,CAAC,QAAQ,CAAC,GAAG,CAelB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstPath, type Doc } from "prettier";
|
|
1
|
+
import { type AstPath, type Doc } from "prettier";
|
|
2
2
|
import type { AbstractNode } from "../ast/node/abstract-node.ts";
|
|
3
3
|
import type { Specification } from "../ast/node/specification.ts";
|
|
4
4
|
export declare function printSpecification(path: AstPath<Specification>, print: (path: AstPath<AbstractNode>) => Doc): Doc;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"print-specification.d.ts","sourceRoot":"","sources":["../../../src/prettier/print-specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,GAAG,EAAO,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"print-specification.d.ts","sourceRoot":"","sources":["../../../src/prettier/print-specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,GAAG,EAAO,MAAM,UAAU,CAAC;AACvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAIjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AASlE,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,OAAO,CAAC,aAAa,CAAC,EAC5B,KAAK,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC,KAAK,GAAG,GAC1C,GAAG,CAiCL"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { doc } from "prettier";
|
|
2
2
|
import { NodeKind } from "../ast/node/enum/node-kind.js";
|
|
3
3
|
import { StatementKind } from "../ast/node/enum/statement-kind.js";
|
|
4
4
|
import { addTrailingHardline, endsWithHardline, removeLeadingBlanklines, } from "./util/print-utils.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstPath, type Doc } from "prettier";
|
|
1
|
+
import { type AstPath, type Doc } from "prettier";
|
|
2
2
|
import type { StringLiteral } from "../ast/node/string-literal.ts";
|
|
3
3
|
import type { AbstractNode } from "../../index.ts";
|
|
4
4
|
export declare function printStringLiteral(path: AstPath<StringLiteral>, print: (path: AstPath<AbstractNode>) => Doc): Doc;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"print-string-literal.d.ts","sourceRoot":"","sources":["../../../src/prettier/print-string-literal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"print-string-literal.d.ts","sourceRoot":"","sources":["../../../src/prettier/print-string-literal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;AAClD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAEnE,OAAO,KAAK,EAAE,YAAY,EAAS,MAAM,gBAAgB,CAAC;AAE1D,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,OAAO,CAAC,aAAa,CAAC,EAC5B,KAAK,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC,KAAK,GAAG,GAC1C,GAAG,CAgDL"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstPath, type Doc } from "prettier";
|
|
1
|
+
import { type AstPath, type Doc } from "prettier";
|
|
2
2
|
import type { AbstractNode } from "../ast/node/abstract-node.ts";
|
|
3
3
|
import type { SwitchStatement } from "../ast/node/switch-statement.ts";
|
|
4
4
|
export declare function printSwitchStatement(path: AstPath<SwitchStatement>, print: (path: AstPath<AbstractNode>) => Doc): Doc;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"print-switch-statement.d.ts","sourceRoot":"","sources":["../../../src/prettier/print-switch-statement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"print-switch-statement.d.ts","sourceRoot":"","sources":["../../../src/prettier/print-switch-statement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;AAElD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAEvE,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,CAAC,eAAe,CAAC,EAC9B,KAAK,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC,KAAK,GAAG,GAC1C,GAAG,CA6BL"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstPath, type Doc } from "prettier";
|
|
1
|
+
import { type AstPath, type Doc } from "prettier";
|
|
2
2
|
import type { AbstractNode } from "../ast/node/abstract-node.ts";
|
|
3
3
|
import type { WhileStatement } from "../ast/node/while-statement.ts";
|
|
4
4
|
export declare function printWhileStatement(path: AstPath<WhileStatement>, print: (path: AstPath<AbstractNode>) => Doc): Doc;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"print-while-statement.d.ts","sourceRoot":"","sources":["../../../src/prettier/print-while-statement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"print-while-statement.d.ts","sourceRoot":"","sources":["../../../src/prettier/print-while-statement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;AAElD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAErE,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,OAAO,CAAC,cAAc,CAAC,EAC7B,KAAK,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC,KAAK,GAAG,GAC1C,GAAG,CAiBL"}
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstPath, type Doc, doc } from "prettier";
|
|
1
|
+
import { type AstPath, type Doc, doc } from "prettier";
|
|
2
2
|
import { addBreakingWhitespace, addNonBreakingWhitespace } from "./util/print-utils.ts";
|
|
3
3
|
import type { AbstractExpression } from "../ast/node/abstract-expression.ts";
|
|
4
4
|
import type { AbstractNode } from "../ast/node/abstract-node.ts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstPath, type Doc, doc } from "prettier";
|
|
1
|
+
import { type AstPath, type Doc, doc } from "prettier";
|
|
2
2
|
import { addIndentedStatements } from "./util/print-utils.ts";
|
|
3
3
|
import { printArrayDefinition } from "./print-array-definition.ts";
|
|
4
4
|
import { printDoStatement } from "./print-do-statement.ts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstPath, type Doc, doc } from "prettier";
|
|
1
|
+
import { type AstPath, type Doc, doc } from "prettier";
|
|
2
2
|
import { addBreakingWhitespace, addNonBreakingWhitespace } from "./util/print-utils.ts";
|
|
3
3
|
import type { ArrayDefinition } from "../ast/node/array-definition.ts";
|
|
4
4
|
import type { AbstractNode } from "../ast/node/abstract-node.ts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstPath, type Doc, doc } from "prettier";
|
|
1
|
+
import { type AstPath, type Doc, doc } from "prettier";
|
|
2
2
|
import { addBreakingWhitespace, addNonBreakingWhitespace } from "./util/print-utils.ts";
|
|
3
3
|
import type { AbstractNode } from "../ast/node/abstract-node.ts";
|
|
4
4
|
import type { DoStatement } from "../ast/node/do-statement.ts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstPath, type Doc } from "prettier";
|
|
1
|
+
import { type AstPath, type Doc } from "prettier";
|
|
2
2
|
import { addNonBreakingWhitespace } from "./util/print-utils.ts";
|
|
3
3
|
import type { AbstractNode } from "../ast/node/abstract-node.ts";
|
|
4
4
|
import type { ElementaryType } from "../ast/node/elementary-type.ts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstPath, type Doc } from "prettier";
|
|
1
|
+
import { type AstPath, type Doc } from "prettier";
|
|
2
2
|
import { addBreakingWhitespace, addNonBreakingWhitespace } from "./util/print-utils.ts";
|
|
3
3
|
import type { AbstractNode } from "../ast/node/abstract-node.ts";
|
|
4
4
|
import type { ForStatement } from "../ast/node/for-statement.ts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstPath, type Doc, doc } from "prettier";
|
|
1
|
+
import { type AstPath, type Doc, doc } from "prettier";
|
|
2
2
|
import { addNonBreakingWhitespace } from "./util/print-utils.ts";
|
|
3
3
|
import type { AbstractNode } from "../ast/node/abstract-node.ts";
|
|
4
4
|
import type { MapEntry } from "../ast/node/map-entry.ts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstPath, type Doc, doc } from "prettier";
|
|
1
|
+
import { type AstPath, type Doc, doc } from "prettier";
|
|
2
2
|
import { addNonBreakingWhitespace } from "./util/print-utils.ts";
|
|
3
3
|
import type { AbstractNode } from "../ast/node/abstract-node.ts";
|
|
4
4
|
import type { Parameter } from "../ast/node/parameter.ts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstPath, type Doc, doc } from "prettier";
|
|
1
|
+
import { type AstPath, type Doc, doc } from "prettier";
|
|
2
2
|
import type { AbstractNode } from "../ast/node/abstract-node.ts";
|
|
3
3
|
import type { AbstractStatement } from "../ast/node/abstract-statement.ts";
|
|
4
4
|
import { NodeKind } from "../ast/node/enum/node-kind.ts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstPath, type Doc } from "prettier";
|
|
1
|
+
import { type AstPath, type Doc } from "prettier";
|
|
2
2
|
import type { StringLiteral } from "../ast/node/string-literal.ts";
|
|
3
3
|
import { isMissingError, isUnexpectedError } from "../ast/util/types.ts";
|
|
4
4
|
import type { AbstractNode, Token } from "../../index.ts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstPath, type Doc } from "prettier";
|
|
1
|
+
import { type AstPath, type Doc } from "prettier";
|
|
2
2
|
import { addIndentedStatements, addNonBreakingWhitespace } from "./util/print-utils.ts";
|
|
3
3
|
import type { AbstractNode } from "../ast/node/abstract-node.ts";
|
|
4
4
|
import type { SwitchStatement } from "../ast/node/switch-statement.ts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AstPath, type Doc } from "prettier";
|
|
1
|
+
import { type AstPath, type Doc } from "prettier";
|
|
2
2
|
import { addNonBreakingWhitespace } from "./util/print-utils.ts";
|
|
3
3
|
import type { AbstractNode } from "../ast/node/abstract-node.ts";
|
|
4
4
|
import type { WhileStatement } from "../ast/node/while-statement.ts";
|