colon.js 247 B

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