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

Method is_unnamed_ctor

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

isMisparsedFunction (dart.ts:177-188) — skip the UNNAMED constructor.

(&self, node: Node<'t>)

Source from the content-addressed store, hash-verified

445
446 /// isMisparsedFunction (dart.ts:177-188) — skip the UNNAMED constructor.
447 fn is_unnamed_ctor(&self, node: Node<'t>) -> bool {
448 match self.ctor_info(node) {
449 Some((class_name, ctor_name)) => ctor_name == class_name,
450 None => false,
451 }
452 }
453
454 /// getSignature (dart.ts:189-208).
455 fn signature_of(&self, node: Node<'t>) -> Option<String> {

Callers 2

extract_functionMethod · 0.80
extract_methodMethod · 0.80

Calls 1

ctor_infoMethod · 0.80

Tested by

no test coverage detected