MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / new

Method new

atomic-semantic/src/parsers/typescript.rs:24–29  ·  view source on GitHub ↗

Create a new TypeScript parser (.ts, .mts, .cts).

()

Source from the content-addressed store, hash-verified

22impl 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 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected