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

Method is_async

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

Source from the content-addressed store, hash-verified

439 }
440
441 fn is_async(&self, node: Node) -> bool {
442 (0..node.child_count())
443 .filter_map(|i| node.child(i))
444 .any(|c| c.kind() == "modifier" && self.text(c) == "async")
445 }
446
447 /// isConst: `const` → true; else `static` AND `readonly` both present.
448 fn is_const(&self, node: Node) -> bool {

Callers 2

extract_methodMethod · 0.45
extract_functionMethod · 0.45

Calls 1

textMethod · 0.45

Tested by

no test coverage detected