mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-11-04 04:44:08 +01: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()
 | 
						|
  }
 | 
						|
}
 |