paren.js 290 B

12345678910111213141516
  1. 'use strict';
  2. const Container = require('./container');
  3. const Node = require('./node');
  4. class Parenthesis extends Node {
  5. constructor (opts) {
  6. super(opts);
  7. this.type = 'paren';
  8. this.parenType = '';
  9. }
  10. }
  11. Container.registerWalker(Parenthesis);
  12. module.exports = Parenthesis;