mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-11 02:11:05 +03:30
13 lines
325 B
JavaScript
Vendored
13 lines
325 B
JavaScript
Vendored
"use strict";
|
|
|
|
const visitorKeys = require("./visitor-keys");
|
|
const analyzeScope = require("./analyze-scope");
|
|
const parse = require("./parse");
|
|
|
|
module.exports = function(code, options) {
|
|
const ast = parse(code, options);
|
|
const scopeManager = analyzeScope(ast, options);
|
|
|
|
return { ast, scopeManager, visitorKeys };
|
|
};
|