mirror of
https://github.com/giancarloerra/socraticode.git
synced 2026-07-03 14:05:21 +02:00
0ab502b99b
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.