()
| 187 | } |
| 188 | |
| 189 | toFunctionString() { |
| 190 | return ` |
| 191 | var characterTable = ${ JSON.stringify(this.characterTable) }; |
| 192 | var indexTable = ${ JSON.stringify(this.indexTable) }; |
| 193 | var characters = ${ JSON.stringify(this.characters) }; |
| 194 | ${ this.toIndexes.toString() |
| 195 | .replace(/(let|var) indexTable = this[.]indexTable;\n/, '') |
| 196 | .replace(/this[.]/g, '') } |
| 197 | ${ this.toIndexesInputOutput.toString().replace(/this[.]/g, '') } |
| 198 | ${ this.toCharacters.toString() |
| 199 | .replace(/(let|var) characterTable = this[.]characterTable;\n/g, '') |
| 200 | .replace(/this[.]/, '') } |
| 201 | `; |
| 202 | } |
| 203 | } |
no test coverage detected