@markuplint/ml-ast 4.2.0 → 4.3.1-alpha.0
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/CHANGELOG.md +8 -0
- package/lib/types.d.ts +2 -1
- package/package.json +2 -2
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
## [4.3.1-alpha.0](https://github.com/markuplint/markuplint/compare/@markuplint/ml-ast@4.3.0...@markuplint/ml-ast@4.3.1-alpha.0) (2024-05-04)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @markuplint/ml-ast
|
package/lib/types.d.ts
CHANGED
|
@@ -59,12 +59,13 @@ export interface MLASTElementCloseTag extends MLASTAbstractNode {
|
|
|
59
59
|
}
|
|
60
60
|
export interface MLASTPreprocessorSpecificBlock extends MLASTAbstractNode {
|
|
61
61
|
readonly type: 'psblock';
|
|
62
|
+
readonly conditionalType: MLASTPreprocessorSpecificBlockConditionalType;
|
|
62
63
|
readonly depth: number;
|
|
63
64
|
readonly nodeName: string;
|
|
64
65
|
readonly childNodes: readonly MLASTChildNode[];
|
|
65
|
-
readonly branchedChildNodes?: readonly MLASTNode[];
|
|
66
66
|
readonly isBogus: boolean;
|
|
67
67
|
}
|
|
68
|
+
export type MLASTPreprocessorSpecificBlockConditionalType = 'if' | 'if:elseif' | 'if:else' | 'switch:case' | 'switch:default' | 'each' | 'each:empty' | 'await' | 'await:then' | 'await:catch' | 'end' | null;
|
|
68
69
|
export interface MLASTComment extends MLASTAbstractNode {
|
|
69
70
|
readonly type: 'comment';
|
|
70
71
|
readonly nodeName: '#comment';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markuplint/ml-ast",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.1-alpha.0",
|
|
4
4
|
"description": "The markuplint AST types.",
|
|
5
5
|
"repository": "git@github.com:markuplint/markuplint.git",
|
|
6
6
|
"author": "Yusuke Hirao <yusukehirao@me.com>",
|
|
@@ -23,5 +23,5 @@
|
|
|
23
23
|
"build": "tsc",
|
|
24
24
|
"clean": "tsc --build --clean"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "d091e2199e3dc6757c2c8edbf01fd19e8b072015"
|
|
27
27
|
}
|