operator.js 259 B

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