()
| 18998 | return super.message + ` Invalid parser "${particle.cue}". Valid parsers are: ${Utils._listToEnglishText(options, 7)}.` |
| 18999 | } |
| 19000 | get atomSuggestion() { |
| 19001 | const particle = this.getParticle() |
| 19002 | const parentParticle = particle.parent |
| 19003 | return Utils.didYouMean( |
| 19004 | particle.cue, |
| 19005 | parentParticle.getAutocompleteResults("", 0).map(option => option.text) |
| 19006 | ) |
| 19007 | } |
| 19008 | get suggestionMessage() { |
| 19009 | const suggestion = this.atomSuggestion |
| 19010 | const particle = this.getParticle() |
nothing calls this directly
no test coverage detected