mirror of
https://github.com/AdaCore/langkit.git
synced 2026-02-12 12:28:12 -08:00
Lower types before lowering the grammar, so that node types and properties are known by the time we lower the grammar. Also create a helper class (`langkit.frontend.resolver.Resolver`) to share Lkt entity resolution code: they were available only to the types lowering pass, but now the grammar lowering pass can also use it to resolve nodes and properties, allowing to remove duplicate resolution code.