Create a new TypeScript parser (.ts, .mts, .cts).
()
| 22 | impl TypeScriptParser { |
| 23 | /// Create a new TypeScript parser (.ts, .mts, .cts). |
| 24 | pub fn new() -> Self { |
| 25 | Self { |
| 26 | extractor: TypeScriptExtractor::new(), |
| 27 | language: Language::TypeScript, |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | /// Create a new TSX parser (.tsx — TypeScript with JSX). |
| 32 | pub fn new_tsx() -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected