mirror of https://github.com/sveltejs/svelte
parent
65f4754091
commit
68a38d4b16
@ -1,12 +0,0 @@
|
|||||||
import { parse } from 'acorn';
|
|
||||||
|
|
||||||
const code = `
|
|
||||||
using bar = baz();
|
|
||||||
`;
|
|
||||||
|
|
||||||
const ast = parse(code, {
|
|
||||||
sourceType: 'module',
|
|
||||||
ecmaVersion: 'latest'
|
|
||||||
});
|
|
||||||
|
|
||||||
console.log(JSON.stringify(ast, null, ' '));
|
|
Loading…
Reference in new issue