![]() |
Qore Programming Language Reference Manual
0.9.2
|
Public Member Functions | |
| constructor () | |
| Creates the AstTreeSearcher. | |
| *list | findMatchingSymbols (astparser::AstTree tree, string uri, string query, bool exactMatch=False, bool fixSymbols=True, bool bareNames=False) |
| Find matching symbols in a document. More... | |
| *list | findReferences (astparser::AstTree tree, string uri, int line, int col, bool includeDecl) |
| Find symbol references. More... | |
| *hash | findSymbolInfo (astparser::AstTree tree, int line, int col) |
| Find symbol info. More... | |
| *list | findSymbols (astparser::AstTree tree, string uri, bool fixSymbols=True, bool bareNames=False) |
| Find all symbols in a document. More... | |
| *hash | hoverInfo (astparser::AstTree tree, int kind, int line, int col) |
| Hover info. More... | |
| *list astparser::AstTreeSearcher::findMatchingSymbols | ( | astparser::AstTree | tree, |
| string | uri, | ||
| string | query, | ||
| bool | exactMatch = False, |
||
| bool | fixSymbols = True, |
||
| bool | bareNames = False |
||
| ) |
Find matching symbols in a document.
| uri | document's uri |
| query | search query |
| exactMatch | whether to only find exact matches |
| fixSymbols | whether to fix symbol infos |
| bareNames | whether to return bare symbol names (without namespace and class prefixes) |
| *list astparser::AstTreeSearcher::findReferences | ( | astparser::AstTree | tree, |
| string | uri, | ||
| int | line, | ||
| int | col, | ||
| bool | includeDecl | ||
| ) |
Find symbol references.
| uri | document's uri |
| line | line on which the symbol lies |
| col | column at which the symbol lies |
| includeDecl | whether to include a reference at the passed position |
| *hash astparser::AstTreeSearcher::findSymbolInfo | ( | astparser::AstTree | tree, |
| int | line, | ||
| int | col | ||
| ) |
Find symbol info.
| line | on what line lies the symbol we want to get info about |
| col | on what column lies the symbol we want to get info about |
| *list astparser::AstTreeSearcher::findSymbols | ( | astparser::AstTree | tree, |
| string | uri, | ||
| bool | fixSymbols = True, |
||
| bool | bareNames = False |
||
| ) |
Find all symbols in a document.
| uri | document's uri |
| fixSymbols | whether to fix symbol infos |
| bareNames | whether to return bare symbol names (without namespace and class prefixes) |
| *hash astparser::AstTreeSearcher::hoverInfo | ( | astparser::AstTree | tree, |
| int | kind, | ||
| int | line, | ||
| int | col | ||
| ) |
Hover info.
| kind | symbol kind |
| line | on what line lies the symbol we want to get info about |
| col | on what column lies the symbol we want to get info about |