QC_AstTreeSearcher.dox.h
namespace astparser {
class AstTreeSearcher {
public:
/***/
constructor();
public:
*list findMatchingSymbols(astparser::AstTree tree, string uri, string query, bool exactMatch = False, bool fixSymbols = True, bool bareNames = False);
public:
*list findReferences(astparser::AstTree tree, string uri, int line, int col, bool includeDecl);
public:
*hash findSymbolInfo(astparser::AstTree tree, int line, int col);
public:
*list findSymbols(astparser::AstTree tree, string uri, bool fixSymbols = True, bool bareNames = False);
public:
*hash hoverInfo(astparser::AstTree tree, int kind, int line, int col);
};
};
astparser::AstTreeSearcher::findMatchingSymbols
*list findMatchingSymbols(astparser::AstTree tree, string uri, string query, bool exactMatch=False, bool fixSymbols=True, bool bareNames=False)
Find matching symbols in a document.
astparser::AstTreeSearcher::constructor
constructor()
Creates the AstTreeSearcher.
astparser::AstTreeSearcher::findSymbols
*list findSymbols(astparser::AstTree tree, string uri, bool fixSymbols=True, bool bareNames=False)
Find all symbols in a document.
Qore::True
const True
logical True
Definition: qc_qore.dox.h:98
astparser::AstTree
AstTree class.
Definition: QC_AstTree.dox.h:8
Qore::list
list< auto > list(...)
Returns a list of the arguments passed at the top level.
astparser
astparser namespace
Definition: QC_AstParser.dox.h:2
Qore::hash
hash< auto > hash(object obj)
Returns a hash of an object's members.
astparser::AstTreeSearcher::findSymbolInfo
*hash findSymbolInfo(astparser::AstTree tree, int line, int col)
Find symbol info.
astparser::AstTreeSearcher::findReferences
*list findReferences(astparser::AstTree tree, string uri, int line, int col, bool includeDecl)
Find symbol references.
Qore::False
const False
logical False
Definition: qc_qore.dox.h:96
astparser::AstTreeSearcher
AstParser class.
Definition: QC_AstTreeSearcher.dox.h:8
astparser::AstTreeSearcher::hoverInfo
*hash hoverInfo(astparser::AstTree tree, int kind, int line, int col)
Hover info.