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

Function is_bodiless_ctor

codegraph-kernel/src/dart.rs:118–120  ·  view source on GitHub ↗

DART_BODILESS_CTORS (dart.ts) — `const Foo.bar();` and a redirecting factory `const factory Foo.bar() = _Bar;`, each a signature kind of its own inside a `declaration`.

(kind: &str)

Source from the content-addressed store, hash-verified

116/// factory `const factory Foo.bar() = _Bar;`, each a signature kind of its
117/// own inside a `declaration`.
118fn is_bodiless_ctor(kind: &str) -> bool {
119 matches!(kind, "constant_constructor_signature" | "redirecting_factory_constructor_signature")
120}
121
122/// DART_LOWERCASE_TYPES (dart.ts) — Dart's lowercase built-in types, which a
123/// type argument can name: `<int>`, `<void>`.

Callers 3

constructor_signatureMethod · 0.85
is_misparsed_functionMethod · 0.85
signature_ofMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected