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

Function is_dart_list

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

DART_LISTS (dart.ts) — the nodes that list the expressions a generic constructor call can be split across.

(kind: &str)

Source from the content-addressed store, hash-verified

155/// DART_LISTS (dart.ts) — the nodes that list the expressions a generic
156/// constructor call can be split across.
157fn is_dart_list(kind: &str) -> bool {
158 matches!(kind, "arguments" | "list_literal" | "set_or_map_literal" | "record_literal")
159}
160
161/// A generic constructor call tree-sitter-dart parsed as comparisons and a
162/// dot shorthand (dartMisparsedCtor in dart.ts).

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected