Files
test-repo/tests/integration/cli/debug-check/plugin-for-testing-debug-check.cjs
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
404 B
JavaScript
Raw Normal View History

2018-04-25 22:10:22 +08:00
"use strict";
module.exports = {
languages: [
{
name: "debug-check",
parsers: ["debug-check-parser"],
extensions: [".debug-check"]
}
],
parsers: {
"debug-check-parser": {
parse: text => ({ text }),
astFormat: "debug-check-ast"
}
},
printers: {
"debug-check-ast": {
print: path => path.getValue().text + path.getValue().text
}
}
};