const MintParser = require('./base'); module.exports = class MintParserThrows extends MintParser { parse(file) { return file.replace(/yeet ([a-z.A-Z0-9]*)( |)\((.*)\);/gm, "throw new MintExceptionManagerError(\"$1\", $3);") } }