()
| 35 | } |
| 36 | |
| 37 | registerNative(): NativeNamespace { |
| 38 | if(this.elementSet.dirty) { |
| 39 | this.native.setElementTrie(this.elementSet.encodeTrie()); |
| 40 | this.elementSet.dirty = false; |
| 41 | } |
| 42 | if(this.attributeSet.dirty) { |
| 43 | this.native.setAttributeTrie(this.attributeSet.encodeTrie()); |
| 44 | this.attributeSet.dirty = false; |
| 45 | } |
| 46 | return(this.native); |
| 47 | } |
| 48 | |
| 49 | addElement(name: string) { |
| 50 | return(this.elementSet.createToken(name, this)); |
no test coverage detected