| Qore Programming Language Reference Manual 0.9.10

QC_AstTreeSearcher.dox.h
1 namespace astparser {
4
8 class AstTreeSearcher {
9
10 public:
12 /***/
13 constructor();
14
15 public:
17
25 *list findMatchingSymbols(astparser::AstTree tree, string uri, string query, bool exactMatch = False, bool fixSymbols = True, bool bareNames = False);
26
27 public:
29
36 *list findReferences(astparser::AstTree tree, string uri, int line, int col, bool includeDecl);
37
38 public:
40
45 *hash findSymbolInfo(astparser::AstTree tree, int line, int col);
46
47 public:
49
55 *list findSymbols(astparser::AstTree tree, string uri, bool fixSymbols = True, bool bareNames = False);
56
57 public:
59
65 *hash hoverInfo(astparser::AstTree tree, int kind, int line, int col);
66 };
67 };
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.