(s: string)
| 40 | }, |
| 41 | |
| 42 | parse(s: string): PythonImplementation { |
| 43 | const impl = this.knownNames()[s]; |
| 44 | if (impl !== undefined) { |
| 45 | return impl; |
| 46 | } else { |
| 47 | return { implementation: s }; |
| 48 | } |
| 49 | }, |
| 50 | |
| 51 | isUnknown(impl: PythonImplementation): impl is UnknownPythonImplementation { |
| 52 | return (impl as UnknownPythonImplementation).implementation !== undefined; |
no outgoing calls
no test coverage detected