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

Method is_async

codegraph-kernel/src/csharp.rs:454–458  ·  view source on GitHub ↗
(&self, node: Node)

Source from the content-addressed store, hash-verified

452 }
453
454 fn is_async(&self, node: Node) -> bool {
455 (0..node.child_count())
456 .filter_map(|i| node.child(i))
457 .any(|c| c.kind() == "modifier" && self.text(c) == "async")
458 }
459
460 /// isConst: `const` → true; else `static` AND `readonly` both present.
461 fn is_const(&self, node: Node) -> bool {

Callers 2

extract_methodMethod · 0.45
extract_functionMethod · 0.45

Calls 1

textMethod · 0.65

Tested by

no test coverage detected