web 3d图形渲染器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
337 B

  1. 'use strict';
  2. const Container = require('./container');
  3. class FunctionNode extends Container {
  4. constructor (opts) {
  5. super(opts);
  6. this.type = 'func';
  7. // start off at -1 so we know there haven't been any parens added
  8. this.unbalanced = -1;
  9. }
  10. };
  11. Container.registerWalker(FunctionNode);
  12. module.exports = FunctionNode;