summaryrefslogtreecommitdiffstats
path: root/src/Symbol.js
blob: e9936e2d5c66f2828687d8144fbf343a39491c56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import Base from './Base.js'
import {nodeOrNew} from './tools.js'

export default class Symbol extends Base {
  // Initialize node
  constructor (node) {
    super(nodeOrNew('symbol', node), Symbol)
  }
}

Symbol.constructors = {
  Container: {
    symbol () {
      return this.put(new Symbol())
    }
  }
}