3 Commits

Author SHA1 Message Date
Raphaël AMIARD
27ef49e149 Perf - funcall opt: Remove custom callstack mechanism 2025-08-20 17:56:00 +02:00
Raphaël AMIARD
c386ad417c Use SourceSection/Location instead of own SourceLocation
We introduce a new `SourceLocation` interface, which allows to bridge
the gap between Langkit's and Truffle's types, and use that as a basis
for diagnostics.

We remove the `Locatable` interface, instead storing `Nodes` directly,
using the `AbstractTruffleException` interface.

We get rid of `DummyLocation`, instead using nodes & abstract accessors.

We also unify the interface for `DiagnosticEmitter`. As a consequence,
the code for emitting diagnostics is mostly shared at this stage.
Unifying the emission of rule violations is the last missing step.
2024-05-17 10:26:02 +00:00
Hugo GUERRIER
91615ed8b4 minor: Add the ability to put expressions in block expression body
Change-Id: I5d17c24044a1aa5a0f4e570560100f130d011b03
2022-09-06 15:52:33 +00:00