(charCode: number)
| 114 | const _CR_OR_CRLF_REGEXP = /\r\n?/g; |
| 115 | |
| 116 | function _unexpectedCharacterErrorMsg(charCode: number): string { |
| 117 | const char = charCode === chars.$EOF ? 'EOF' : String.fromCharCode(charCode); |
| 118 | return `Unexpected character "${char}"`; |
| 119 | } |
| 120 | |
| 121 | function _unknownEntityErrorMsg(entitySrc: string): string { |
| 122 | return `Unknown entity "${entitySrc}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`; |
no outgoing calls
no test coverage detected