16 lines
247 B
JavaScript
16 lines
247 B
JavaScript
|
'use strict';
|
||
|
|
||
|
const Container = require('./container');
|
||
|
const Node = require('./node');
|
||
|
|
||
|
class Colon extends Node {
|
||
|
constructor (opts) {
|
||
|
super(opts);
|
||
|
this.type = 'colon';
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Container.registerWalker(Colon);
|
||
|
|
||
|
module.exports = Colon;
|