mirror of
https://github.com/ChipmunkMC/node-brigadier-commands.git
synced 2024-11-14 19:14:55 -05:00
12 lines
203 B
JavaScript
12 lines
203 B
JavaScript
class ParsedCommandNode {
|
|
constructor (node, range) {
|
|
this.node = node
|
|
this.range = range
|
|
}
|
|
|
|
toString () {
|
|
return this.node + '@' + this.range
|
|
}
|
|
}
|
|
|
|
module.exports = ParsedCommandNode
|