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_OPERATOR_EXPRESSIONS (dart.ts) — the expressions an arrow function's
135/// body can end in with the operand on the right last.

Callers 3

ctor_calleeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected