@ttsc/factory 0.16.1 → 0.16.2

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.
@@ -8,7 +8,7 @@ import type { Expression, TaggedTemplateExpression, TemplateLiteral, TypeNode }
8
8
  * The printer writes the tag directly against the template with no space
9
9
  * between them.
10
10
  *
11
- * With `tag` of `tag` and a template of ``hi``, the printer emits:
11
+ * With `tag` of `tag` and a template of `hi`, the printer emits:
12
12
  *
13
13
  * ```ts
14
14
  * tag`hi`;
@@ -11,7 +11,7 @@ const make_1 = require("../internal/make");
11
11
  * The printer writes the tag directly against the template with no space
12
12
  * between them.
13
13
  *
14
- * With `tag` of `tag` and a template of ``hi``, the printer emits:
14
+ * With `tag` of `tag` and a template of `hi`, the printer emits:
15
15
  *
16
16
  * ```ts
17
17
  * tag`hi`;
@@ -9,7 +9,7 @@ import { make } from '../internal/make.mjs';
9
9
  * The printer writes the tag directly against the template with no space
10
10
  * between them.
11
11
  *
12
- * With `tag` of `tag` and a template of ``hi``, the printer emits:
12
+ * With `tag` of `tag` and a template of `hi`, the printer emits:
13
13
  *
14
14
  * ```ts
15
15
  * tag`hi`;
@@ -8,9 +8,6 @@ import type { EmptyStatement } from "../../ast";
8
8
  *
9
9
  * The result is a single semicolon:
10
10
  *
11
- * ```ts
12
- * ```
13
- *
14
11
  * @author Jeongho Nam - https://github.com/samchon
15
12
  * @returns The created {@link EmptyStatement}.
16
13
  */
@@ -11,9 +11,6 @@ const make_1 = require("../internal/make");
11
11
  *
12
12
  * The result is a single semicolon:
13
13
  *
14
- * ```ts
15
- * ```
16
- *
17
14
  * @author Jeongho Nam - https://github.com/samchon
18
15
  * @returns The created {@link EmptyStatement}.
19
16
  */
@@ -1 +1 @@
1
- {"version":3,"file":"createEmptyStatement.js","sourceRoot":"","sources":["../../../src/factory/statements/createEmptyStatement.ts"],"names":[],"mappings":";;;AACA,2CAAwC;AAExC;;;;;;;;;;;;;;GAcG;AACI,MAAM,oBAAoB,GAAG,GAAmB,EAAE,CACvD,IAAA,WAAI,EAAC,gBAAgB,EAAE,EAAE,CAAC,CAAC;AADhB,QAAA,oBAAoB,GAApB,oBAAoB,CACJ"}
1
+ {"version":3,"file":"createEmptyStatement.js","sourceRoot":"","sources":["../../../src/factory/statements/createEmptyStatement.ts"],"names":[],"mappings":";;;AACA,2CAAwC;AAExC;;;;;;;;;;;GAWG;AACI,MAAM,oBAAoB,GAAG,GAAmB,EAAE,CACvD,IAAA,WAAI,EAAC,gBAAgB,EAAE,EAAE,CAAC,CAAC;AADhB,QAAA,oBAAoB,GAApB,oBAAoB,CACJ"}
@@ -9,9 +9,6 @@ import { make } from '../internal/make.mjs';
9
9
  *
10
10
  * The result is a single semicolon:
11
11
  *
12
- * ```ts
13
- * ```
14
- *
15
12
  * @author Jeongho Nam - https://github.com/samchon
16
13
  * @returns The created {@link EmptyStatement}.
17
14
  */
@@ -1 +1 @@
1
- {"version":3,"file":"createEmptyStatement.mjs","sources":["../../../src/factory/statements/createEmptyStatement.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAGA;;;;;;;;;;;;;;AAcG;AACI,MAAM,oBAAoB,GAAG,MAClC,IAAI,CAAC,gBAAgB,EAAE,EAAE;;;;"}
1
+ {"version":3,"file":"createEmptyStatement.mjs","sources":["../../../src/factory/statements/createEmptyStatement.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAGA;;;;;;;;;;;AAWG;AACI,MAAM,oBAAoB,GAAG,MAClC,IAAI,CAAC,gBAAgB,EAAE,EAAE;;;;"}
@@ -1,6 +1,6 @@
1
1
  import type { TemplateHead, TemplateLiteralTypeNode, TemplateLiteralTypeSpan } from "../../ast";
2
2
  /**
3
- * Create a {@link TemplateLiteralTypeNode}: a ``id-${string}`` template literal
3
+ * Create a {@link TemplateLiteralTypeNode}: a `id-${string}` template literal
4
4
  * type.
5
5
  *
6
6
  * The head supplies the leading text up to the first `${`, then each span
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createTemplateLiteralType = void 0;
4
4
  const make_1 = require("../internal/make");
5
5
  /**
6
- * Create a {@link TemplateLiteralTypeNode}: a ``id-${string}`` template literal
6
+ * Create a {@link TemplateLiteralTypeNode}: a `id-${string}` template literal
7
7
  * type.
8
8
  *
9
9
  * The head supplies the leading text up to the first `${`, then each span
@@ -1,7 +1,7 @@
1
1
  import { make } from '../internal/make.mjs';
2
2
 
3
3
  /**
4
- * Create a {@link TemplateLiteralTypeNode}: a ``id-${string}`` template literal
4
+ * Create a {@link TemplateLiteralTypeNode}: a `id-${string}` template literal
5
5
  * type.
6
6
  *
7
7
  * The head supplies the leading text up to the first `${`, then each span
@@ -8,7 +8,7 @@ import type { TemplateLiteralTypeSpan, TemplateMiddle, TemplateTail, TypeNode }
8
8
  * when it closes the template. A span only renders meaningfully inside a
9
9
  * template literal type; on its own it is just a fragment.
10
10
  *
11
- * Given a `number` type and a `px` tail inside a ``width:${...}`` template, the
11
+ * Given a `number` type and a `px` tail inside a `width:${...}` template, the
12
12
  * printer renders:
13
13
  *
14
14
  * ```ts
@@ -11,7 +11,7 @@ const make_1 = require("../internal/make");
11
11
  * when it closes the template. A span only renders meaningfully inside a
12
12
  * template literal type; on its own it is just a fragment.
13
13
  *
14
- * Given a `number` type and a `px` tail inside a ``width:${...}`` template, the
14
+ * Given a `number` type and a `px` tail inside a `width:${...}` template, the
15
15
  * printer renders:
16
16
  *
17
17
  * ```ts
@@ -9,7 +9,7 @@ import { make } from '../internal/make.mjs';
9
9
  * when it closes the template. A span only renders meaningfully inside a
10
10
  * template literal type; on its own it is just a fragment.
11
11
  *
12
- * Given a `number` type and a `px` tail inside a ``width:${...}`` template, the
12
+ * Given a `number` type and a `px` tail inside a `width:${...}` template, the
13
13
  * printer renders:
14
14
  *
15
15
  * ```ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttsc/factory",
3
- "version": "0.16.1",
3
+ "version": "0.16.2",
4
4
  "description": "Self-contained legacy-style TypeScript AST factory and printer for source code generation, surviving the TypeScript-Go (tsgo) migration. Zero dependencies, no `typescript` import.",
5
5
  "main": "lib/index.js",
6
6
  "exports": {
@@ -15,7 +15,7 @@ import { make } from "../internal/make";
15
15
  * The printer writes the tag directly against the template with no space
16
16
  * between them.
17
17
  *
18
- * With `tag` of `tag` and a template of ``hi``, the printer emits:
18
+ * With `tag` of `tag` and a template of `hi`, the printer emits:
19
19
  *
20
20
  * ```ts
21
21
  * tag`hi`;
@@ -10,9 +10,6 @@ import { make } from "../internal/make";
10
10
  *
11
11
  * The result is a single semicolon:
12
12
  *
13
- * ```ts
14
- * ```
15
- *
16
13
  * @author Jeongho Nam - https://github.com/samchon
17
14
  * @returns The created {@link EmptyStatement}.
18
15
  */
@@ -6,7 +6,7 @@ import type {
6
6
  import { make } from "../internal/make";
7
7
 
8
8
  /**
9
- * Create a {@link TemplateLiteralTypeNode}: a ``id-${string}`` template literal
9
+ * Create a {@link TemplateLiteralTypeNode}: a `id-${string}` template literal
10
10
  * type.
11
11
  *
12
12
  * The head supplies the leading text up to the first `${`, then each span
@@ -15,7 +15,7 @@ import { make } from "../internal/make";
15
15
  * when it closes the template. A span only renders meaningfully inside a
16
16
  * template literal type; on its own it is just a fragment.
17
17
  *
18
- * Given a `number` type and a `px` tail inside a ``width:${...}`` template, the
18
+ * Given a `number` type and a `px` tail inside a `width:${...}` template, the
19
19
  * printer renders:
20
20
  *
21
21
  * ```ts