const MintParser = require('./base'); module.exports = class MintParserFunctions extends MintParser { parse(file) { return file.replace(/fn ([a-zA-Z\-_]*)\(([a-zA-Z\-_, ]*)\)( |){((.|\n)*)}/gm, "function $1 ($2) {$4}") } }