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()) } } }