()
| 906 | } |
| 907 | |
| 908 | private startEntity() { |
| 909 | if (!__BROWSER__) { |
| 910 | this.baseState = this.state |
| 911 | this.state = State.InEntity |
| 912 | this.entityStart = this.index |
| 913 | this.entityDecoder!.startEntity( |
| 914 | this.baseState === State.Text || this.baseState === State.InRCDATA |
| 915 | ? DecodingMode.Legacy |
| 916 | : DecodingMode.Attribute, |
| 917 | ) |
| 918 | } |
| 919 | } |
| 920 | |
| 921 | private stateInEntity(): void { |
| 922 | if (!__BROWSER__) { |
no outgoing calls
no test coverage detected