Advanced Analysis

The script module interface offers additional features for syntax and semantic analysis of the script's source code:

  • The completions function returns all possible code completion candidates at the specified cursor point.
  • The symbols function allows manual inspection of the source code's syntax constructions and the semantic relations between them.

These and other features provide low-level components for the development of language servers and source code analysis tools for the Ad Astra language from scratch, which are usually unnecessary for typical use case scenarios. For further reading, see the analysis and analysis::symbols API documentation.