@@ -76,10 +76,34 @@ Now, running `node example` yields (positional info removed for brevity):
76
76
data: {
77
77
estree: {
78
78
type: ' Program' ,
79
- start: 0 ,
80
- end: 35 ,
81
- loc: [SourceLocation],
82
- body: [Array ],
79
+ body: [
80
+ {
81
+ type: ' ImportDeclaration' ,
82
+ specifiers: [
83
+ {
84
+ type: ' ImportDefaultSpecifier' ,
85
+ local: {type: ' Identifier' , name: ' a' }
86
+ }
87
+ ],
88
+ source: {type: ' Literal' , value: ' b' , raw: " 'b'" }
89
+ },
90
+ {
91
+ type: ' ExportNamedDeclaration' ,
92
+ declaration: {
93
+ type: ' VariableDeclaration' ,
94
+ declarations: [
95
+ {
96
+ type: ' VariableDeclarator' ,
97
+ id: {type: ' Identifier' , name: ' c' },
98
+ init: {type: ' Literal' , value: ' ' , raw: " ''" }
99
+ }
100
+ ],
101
+ kind: ' var'
102
+ },
103
+ specifiers: [],
104
+ source: null
105
+ }
106
+ ],
83
107
sourceType: ' module'
84
108
}
85
109
}
@@ -162,8 +186,8 @@ a *[parent][dfn-parent]*, that parent must be **[Root][dfn-root]**.
162
186
163
187
* [ ` remarkjs/remark ` ] [ remark ]
164
188
— markdown processor powered by plugins
165
- * ` remarkjs/remark-mdxjs `
166
- — remark plugin to support MDX.js
189
+ * [ ` remarkjs/remark-mdx ` ] [ remark-mdx ]
190
+ — remark plugin to support MDX
167
191
* [ ` syntax-tree/mdast-util-from-markdown ` ] [ from-markdown ]
168
192
— mdast parser using ` micromark ` to create mdast from markdown
169
193
* [ ` syntax-tree/mdast-util-to-markdown ` ] [ to-markdown ]
0 commit comments