@@ -21,10 +21,10 @@ This is a monorepo with packages to **boost the [DX]** of working with [AST] _(u
21
21
22
22
In order to work with AST, the following processes are recognized:
23
23
24
- 1 . [ Analyzing] ( #analyze ) the [ AST] object(s).
25
- 1 . [ Building] ( #build ) programmatically the [ AST] node(s), or an entire object.
26
24
1 . [ Parsing] ( #parse ) _ stringified_ code syntax into [ AST] object.
27
25
1 . [ Traversing] ( #traverse ) the [ AST] object.
26
+ 1 . [ Analyzing] ( #analyze ) the [ AST] object(s).
27
+ 1 . [ Building] ( #build ) programmatically the [ AST] node(s), or an entire object.
28
28
1 . [ Printing] ( #print ) the [ AST] object back into _ stringified_ code syntax.
29
29
30
30
> [ !IMPORTANT]
@@ -35,6 +35,23 @@ In order to work with AST, the following processes are recognized:
35
35
>
36
36
> Not all of these packages are part of this monorepo.
37
37
38
+ ### Parse
39
+
40
+ Getting the [ AST] object from stringified code syntax.
41
+
42
+ | Name | Languages | In this repository? |
43
+ | ------------------- | -------------------- | ------------------- |
44
+ | [ ` @swc/core ` ] | ![ icon-js] ![ icon-ts] | ❌ |
45
+ | [ ` svelte/compiler ` ] | ![ icon-svelte] | ❌ |
46
+
47
+ ### Traverse
48
+
49
+ In other words, _ walk_ on the AST object.
50
+
51
+ | Name | Languages | In this repository? |
52
+ | --------------- | ---------------------------------- | ------------------- |
53
+ | [ ` zimmerframe ` ] | ![ icon-js] ![ icon-ts] ![ icon-svelte] | ❌ |
54
+
38
55
### Analyze
39
56
40
57
Analyze the received [ AST] object(s). Contains type-guards and utilities.
@@ -55,23 +72,6 @@ Sometimes you need to do some code transformation...
55
72
| [ ` ts-ast-build ` ] | ![ icon-ts] | ✅ |
56
73
| [ ` svelte-ast-build ` ] | ![ icon-svelte] | ✅ |
57
74
58
- ### Parse
59
-
60
- Getting the [ AST] object from stringified code syntax.
61
-
62
- | Name | Languages | In this repository? |
63
- | ------------------- | -------------------- | ------------------- |
64
- | [ ` @swc/core ` ] | ![ icon-js] ![ icon-ts] | ❌ |
65
- | [ ` svelte/compiler ` ] | ![ icon-svelte] | ❌ |
66
-
67
- ### Traverse
68
-
69
- In other words, _ walk_ on the AST object.
70
-
71
- | Name | Languages | In this repository? |
72
- | --------------- | ---------------------------------- | ------------------- |
73
- | [ ` zimmerframe ` ] | ![ icon-js] ![ icon-ts] ![ icon-svelte] | ❌ |
74
-
75
75
### Print
76
76
77
77
Print the [ AST] object or nodes into stringified code syntax.
0 commit comments