3 const getSyntax = require("./get-syntax");
5 function autoParser (source, opts) {
6 const syntax = getSyntax(opts);
7 const document = syntax.parse(source, opts);
8 // document.source.syntax = syntax;
9 Object.defineProperty(document.source, "syntax", {
15 module.exports = autoParser;