This repository has been archived on 2020-11-02. You can view files and clone it, but cannot push or open issues or pull requests.
2020-11-01 22:46:04 +00:00

17 lines
337 B
JavaScript

'use strict';
const Container = require('./container');
class FunctionNode extends Container {
constructor (opts) {
super(opts);
this.type = 'func';
// start off at -1 so we know there haven't been any parens added
this.unbalanced = -1;
}
};
Container.registerWalker(FunctionNode);
module.exports = FunctionNode;