blob: 9efb86cd4e665cf7697f80a0ae5e7fa9bdf43a2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
import Container from './Container.js'
import { nodeOrNew } from './tools.js'
import { register } from './adopter.js'
import { registerMethods } from './methods.js'
export default class Symbol extends Container {
// Initialize node
constructor (node) {
super(nodeOrNew('symbol', node), Symbol)
}
}
registerMethods({
Container: {
symbol () {
return this.put(new Symbol())
}
}
})
register(Symbol)
|