@@ -76,10 +76,34 @@ Now, running `node example` yields (positional info removed for brevity):
7676 data: {
7777 estree: {
7878 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+ ],
83107 sourceType: ' module'
84108 }
85109 }
@@ -162,8 +186,8 @@ a *[parent][dfn-parent]*, that parent must be **[Root][dfn-root]**.
162186
163187* [ ` remarkjs/remark ` ] [ remark ]
164188 — 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
167191* [ ` syntax-tree/mdast-util-from-markdown ` ] [ from-markdown ]
168192 — mdast parser using ` micromark ` to create mdast from markdown
169193* [ ` syntax-tree/mdast-util-to-markdown ` ] [ to-markdown ]
0 commit comments