@@ -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).
24
25
1 . [ Building] ( #build ) programmatically the [ AST] node(s), or an entire object.
25
26
1 . [ Parsing] ( #parse ) _ stringified_ code syntax into [ AST] object.
26
27
1 . [ Traversing] ( #traverse ) the [ AST] object.
27
- 1 . [ Analyzing] ( #analyze ) the [ AST] object(s).
28
28
1 . [ Printing] ( #print ) the [ AST] object back into _ stringified_ code syntax.
29
29
30
30
> [ !IMPORTANT]
@@ -35,6 +35,16 @@ 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
+ ### Analyze
39
+
40
+ Analyze the received [ AST] object(s). Contains type-guards and utilities.
41
+
42
+ | Name | Languages | In this repository? |
43
+ | ---------------------- | ---------------------------------- | ------------------- |
44
+ | [ ` js-ast-analyze ` ] | ![ icon-js] | ✅ |
45
+ | [ ` ts-ast-analyze ` ] | ![ icon-js] ![ icon-ts] | ✅ |
46
+ | [ ` svelte-ast-analyze ` ] | ![ icon-js] ![ icon-ts] ![ icon-svelte] | ✅ |
47
+
38
48
### Build
39
49
40
50
Sometimes you need to do some code transformation...
@@ -62,16 +72,6 @@ In other words, _walk_ on the AST object.
62
72
| --------------- | ---------------------------------- | ------------------- |
63
73
| [ ` zimmerframe ` ] | ![ icon-js] ![ icon-ts] ![ icon-svelte] | ❌ |
64
74
65
- ### Analyze
66
-
67
- Analyze the received [ AST] object(s). Contains type-guards and utilities.
68
-
69
- | Name | Languages | In this repository? |
70
- | ---------------------- | ---------------------------------- | ------------------- |
71
- | [ ` js-ast-analyze ` ] | ![ icon-js] | ✅ |
72
- | [ ` ts-ast-analyze ` ] | ![ icon-js] ![ icon-ts] | ✅ |
73
- | [ ` svelte-ast-analyze ` ] | ![ 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