Overview of Libadalang services
masterLibadalang is a library for parsing and semantic analysis of Ada code, designed as a building block for tools like IDEs and static analyzers.
Key services include:
- Syntactic Analysis: Complete analysis with error recovery. It produces a precise tree for correct code and a best-effort tree for incorrect code.
- Semantic Queries:
- Reference Resolution: Determining what a reference corresponds to.
- Type Resolution: Determining the type of an expression.
- Cross-references: Finding all references to a specific entity.
Note: Libadalang does not currently provide full legality checks for the Ada language; for full legality, use a compiler like GNAT.