Files
socraticode/tests/unit
Giancarlo Erra 0ab502b99b fix(graph): extract Dart abstract members and operators (#74)
extractFromDart skipped any class member parsing as
`declaration > <signature>` with no function body, so abstract bodyless
getters, setters, and methods were dropped. Operators were missed
entirely (with or without a body): operator_signature was unhandled and
operators are not named by an identifier.

- declaration branch now also handles function/getter/setter/operator
  signatures (abstract members); fields are still skipped.
- method_signature branch now handles operator_signature (operators with
  a body), named operator<token> (operator+, operator==, operator[]).
- Surface unparseable files: a one-time warn (per-file debug) when a Dart
  file has ERROR nodes, which for the bundled grammar means Dart 3 class
  modifiers (sealed/base/interface/final/mixin class) or extension types
  it cannot parse; those declarations are skipped, siblings still extract.

Additive and backward compatible: no existing symbol changes id or kind,
no new dependency, no data migration; changed files are re-extracted and
replaced per-file on the next index.
2026-06-16 15:34:07 +01:00
..