Qore astparser Module 2.3.0
Loading...
Searching...
No Matches
Qore astparser Module

astparser Module Introduction

The astparser module supports reporting of Qore-language declarations for rich language support in Qore code editors.

This module is released under the MIT license (see COPYING.MIT in the source distribution for more information). The module is tagged as such in the module's header (meaning it can be loaded unconditionally regardless of how the Qore library was initialized).

To use the module in a Qore script, use the %requires directive as follows:

%requires astparser
astparser namespace
Definition QC_AstParser.dox.h:2

Classes provided by this module:

astparser Module Release Notes

This module is always delivered with Qore and therefore mirrors the Qore version.

astparser Module Version 2.2

  • added AstTreeSearcher::findScopeSymbols() for scope-aware symbol completion
  • added ADK_Typedef constant for typedef declarations
  • added ASYK_TypeAlias constant for typedef symbol kind
  • added ASUK_TypedefDeclName and ASUK_TypedefTypeName constants for typedef usage kinds
  • fixed off-by-one bug in AstTree::getNodesInfo() line numbers (now returns 0-indexed values consistent with LSP convention)