mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
10 lines
201 B
JavaScript
10 lines
201 B
JavaScript
const { Generator } = require('jison')
|
|
|
|
module.exports = {
|
|
process (source, filename, config, transformOptions) {
|
|
return new Generator(source, {
|
|
'token-stack': true
|
|
}).generate()
|
|
}
|
|
}
|