Synvoya
a129ff2cd6
fix(powershell): emit inherits/implements edges for class base types
...
The `class_statement` handler read only the first `simple_name` child —
the class name — and never inspected the base type(s) after the `:`
token. As a result `class Dog : Animal` dropped the Dog->Animal
inheritance edge entirely; derived classes appeared as isolated nodes.
Walk the class_statement children, and once the `:` token is seen treat
each following `simple_name` as a base type. Matching the C# convention
(PowerShell has no syntactic base-vs-interface split), the first base is
emitted as `inherits` and the rest as `implements`, resolved via
ensure_named_node.
Adds a Shape/Circle inheritance pair to tests/fixtures/sample.ps1 and a
regression test asserting ("Circle","Shape") in the inherits edges.
2026-07-01 16:36:47 +01:00
..
2026-06-30 17:23:46 +01:00
2026-06-30 17:23:46 +01:00
2026-06-30 17:23:46 +01:00
2026-05-17 13:12:49 +01:00
2026-05-17 13:12:49 +01:00
2026-04-06 16:06:31 +01:00
2026-06-30 17:23:46 +01:00
2026-05-22 13:22:42 +01:00
2026-06-26 10:23:10 +01:00
2026-05-22 13:28:35 +01:00
2026-06-26 10:23:10 +01:00
2026-05-06 09:41:56 -04:00
2026-05-22 13:28:35 +01:00
2026-05-04 19:08:50 +05:30
2026-04-27 16:41:19 -07:00
2026-04-04 18:52:44 +01:00
2026-05-08 20:31:25 +01:00
2026-04-06 16:06:31 +01:00
2026-06-17 10:46:12 +01:00
2026-04-13 08:39:28 +01:00
2026-04-13 08:39:28 +01:00
2026-04-13 08:39:28 +01:00
2026-04-13 08:39:28 +01:00
2026-05-13 23:39:01 +01:00
2026-05-08 20:31:25 +01:00
2026-05-05 12:22:38 +02:00
2026-05-15 00:07:09 +01:00
2026-05-29 00:05:28 +03:00
2026-06-07 01:20:38 +01:00
2026-05-29 00:05:28 +03:00
2026-05-24 20:38:10 +01:00
2026-05-26 12:27:28 +01:00
2026-06-22 22:57:06 +01:00
2026-05-09 14:44:58 +01:00
2026-05-27 23:55:12 +01:00
2026-05-27 23:55:12 +01:00
2026-05-27 23:55:12 +01:00
2026-05-27 23:55:12 +01:00
2026-07-01 11:58:38 +01:00
2026-07-01 11:58:38 +01:00
2026-05-28 14:46:03 +01:00
2026-07-01 10:47:10 +01:00
2026-05-24 20:38:10 +01:00
2026-07-01 13:45:52 +01:00
2026-05-15 00:07:09 +01:00
2026-05-28 14:46:03 +01:00
2026-05-09 14:44:58 +01:00
2026-05-09 14:44:58 +01:00
2026-05-05 23:56:51 -04:00
2026-04-07 20:20:49 +01:00
2026-05-26 20:16:41 +01:00
2026-04-04 18:52:44 +01:00
2026-06-27 10:19:15 +01:00
2026-05-09 14:44:58 +01:00
2026-05-28 14:46:03 +01:00
2026-07-01 16:36:47 +01:00
2026-06-17 10:46:12 +01:00
2026-04-04 18:52:44 +01:00
2026-05-26 12:27:28 +01:00
2026-07-01 10:47:10 +01:00
2026-07-01 13:45:53 +01:00
2026-07-01 16:36:47 +01:00
2026-05-15 00:07:09 +01:00
2026-05-26 12:27:28 +01:00
2026-06-08 10:35:32 +01:00
2026-05-01 10:15:06 +01:00
2026-07-01 13:45:53 +01:00
2026-05-28 14:46:03 +01:00
2026-06-07 01:20:38 +01:00
2026-04-04 18:56:38 +01:00
2026-05-07 20:07:36 +01:00
2026-06-25 13:00:47 +01:00
2026-06-25 13:00:47 +01:00
2026-04-07 09:56:53 +01:00
2026-05-22 13:28:35 +01:00
2026-06-30 09:46:16 +01:00
2026-05-22 13:28:35 +01:00