MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / is_ts

Method is_ts

codegraph-kernel/src/tsjs/mod.rs:46–48  ·  view source on GitHub ↗

TS-family (typescript/tsx): type annotations, interfaces, enums, aliases, visibility, isStatic. The JS family lacks all of those hooks.

(self)

Source from the content-addressed store, hash-verified

44 /// TS-family (typescript/tsx): type annotations, interfaces, enums,
45 /// aliases, visibility, isStatic. The JS family lacks all of those hooks.
46 fn is_ts(self) -> bool {
47 matches!(self, Variant::Typescript | Variant::Tsx)
48 }
49 /// VALUE_REF_LANGS includes typescript/tsx/javascript but NOT jsx.
50 fn value_refs(self) -> bool {
51 !matches!(self, Variant::Jsx)

Callers 10

is_method_typeFunction · 0.80
is_class_typeFunction · 0.80
visit_nodeMethod · 0.80
extract_nameMethod · 0.80
signature_ofMethod · 0.80
visibility_ofMethod · 0.80
is_staticMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected