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

Method is_async

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

Source from the content-addressed store, hash-verified

461 }
462
463 fn is_async(&self, node: Node) -> bool {
464 (0..node.child_count())
465 .filter_map(|i| node.child(i))
466 .any(|c| c.kind() == "modifier" && self.text(c) == "async")
467 }
468
469 /// isConst: `const` → true; else `static` AND `readonly` both present.
470 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