From 0b76065b4b29077aaea9ae2749ddb021e2fb10a4 Mon Sep 17 00:00:00 2001 From: Lexus Drumgold Date: Sat, 19 Nov 2022 22:40:20 -0500 Subject: [PATCH 1/3] feat(nodes): `BlockTag#text` Signed-off-by: Lexus Drumgold --- README.md | 1 + src/nodes/tag-block.ts | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 766a0e87..87abd09e 100644 --- a/README.md +++ b/README.md @@ -136,6 +136,7 @@ contain [**inline tag**](#inlinetag) nodes. interface BlockTag <: Parent { children: [InlineTag] tag: string + text: string type: 'block-tag' value: string } diff --git a/src/nodes/tag-block.ts b/src/nodes/tag-block.ts index 37d75c18..9cf0d534 100644 --- a/src/nodes/tag-block.ts +++ b/src/nodes/tag-block.ts @@ -35,6 +35,11 @@ interface BlockTag */ tag: string + /** + * Text after {@linkcode tag}. + */ + text: string + /** * Node variant. */ From 0558cd7df5bb52b56ec0f2c35886f65807346837 Mon Sep 17 00:00:00 2001 From: Lexus Drumgold Date: Sat, 19 Nov 2022 22:41:20 -0500 Subject: [PATCH 2/3] feat(nodes): `InlineTag#text` Signed-off-by: Lexus Drumgold --- README.md | 1 + src/nodes/tag-inline.ts | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 87abd09e..a3c8758e 100644 --- a/README.md +++ b/README.md @@ -153,6 +153,7 @@ comment](#docblock-comment). ```idl interface InlineTag <: Node { tag: string + text: string type: 'inline-tag' value: string } diff --git a/src/nodes/tag-inline.ts b/src/nodes/tag-inline.ts index 283ccd54..f66cc9f0 100644 --- a/src/nodes/tag-inline.ts +++ b/src/nodes/tag-inline.ts @@ -35,6 +35,11 @@ interface InlineTag extends Node { */ tag: string + /** + * Text after {@linkcode tag}. + */ + text: string + /** * Node variant. */ From cdbaa41fc0055a1252f3d8f761ad1b950fa2c03e Mon Sep 17 00:00:00 2001 From: Lex Date: Sat, 19 Nov 2022 22:45:08 -0500 Subject: [PATCH 3/3] release: 1.0.0-alpha.9 (#9) Signed-off-by: Lexus Drumgold --- CHANGELOG.md | 8 ++++++++ package.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6986f94d..ea50f012 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## [1.0.0-alpha.9](https://github.com/flex-development/docast/compare/1.0.0-alpha.8...1.0.0-alpha.9) (2022-11-19) + + +### :sparkles: Features + +* **nodes:** `BlockTag#text` ([0b76065](https://github.com/flex-development/docast/commit/0b76065b4b29077aaea9ae2749ddb021e2fb10a4)) +* **nodes:** `InlineTag#text` ([0558cd7](https://github.com/flex-development/docast/commit/0558cd7df5bb52b56ec0f2c35886f65807346837)) + ## [1.0.0-alpha.8](https://github.com/flex-development/docast/compare/1.0.0-alpha.7...1.0.0-alpha.8) (2022-11-18) diff --git a/package.json b/package.json index e8f6e281..ea24c53e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@flex-development/docast", "description": "Docblock Abstract Syntax Tree format", - "version": "1.0.0-alpha.8", + "version": "1.0.0-alpha.9", "keywords": [ "ast", "doc",