* @return {string}
()
| 85 | * @return {string} |
| 86 | */ |
| 87 | toString() { |
| 88 | let childrenAsString = this.suggestChildren().toString(); |
| 89 | childrenAsString = childrenAsString ? `:${childrenAsString}` : ''; |
| 90 | const isCompleteString = this.isCompleteWord ? '*' : ''; |
| 91 | |
| 92 | return `${this.character}${isCompleteString}${childrenAsString}`; |
| 93 | } |
| 94 | } |
no test coverage detected