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

Function is_prefixed

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

DART_PREFIXED (dart.ts) — what a callee can sit under in front of a generic call: `await`, `-`, `!`.

(kind: &str)

Source from the content-addressed store, hash-verified

128/// DART_PREFIXED (dart.ts) — what a callee can sit under in front of a
129/// generic call: `await`, `-`, `!`.
130fn is_prefixed(kind: &str) -> bool {
131 matches!(kind, "unary_expression" | "await_expression")
132}
133
134/// DART_COMMENTS (dart.ts) — line and block comments, and dartdoc.
135fn is_comment(node: Node) -> bool {

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected