\hypertarget{classastparser_1_1_ast_tree_searcher}{}\doxysection{astparser\+::Ast\+Tree\+Searcher Class Reference} \label{classastparser_1_1_ast_tree_searcher}\index{astparser::AstTreeSearcher@{astparser::AstTreeSearcher}} \mbox{\hyperlink{classastparser_1_1_ast_parser}{Ast\+Parser}} class. \doxysubsection*{Public Member Functions} \begin{DoxyCompactItemize} \item \mbox{\Hypertarget{classastparser_1_1_ast_tree_searcher_ade0b79fdeb96d9577d845be36d90ba81}\label{classastparser_1_1_ast_tree_searcher_ade0b79fdeb96d9577d845be36d90ba81}} \mbox{\hyperlink{classastparser_1_1_ast_tree_searcher_ade0b79fdeb96d9577d845be36d90ba81}{constructor}} () \begin{DoxyCompactList}\small\item\em Creates the \mbox{\hyperlink{classastparser_1_1_ast_tree_searcher}{Ast\+Tree\+Searcher}}. \end{DoxyCompactList}\item \+\_\+\+\_\+7\+\_\+ list \mbox{\hyperlink{classastparser_1_1_ast_tree_searcher_a27f666b1aebb83bd56ee3859023ec9ad}{find\+Matching\+Symbols}} (\mbox{\hyperlink{classastparser_1_1_ast_tree}{astparser\+::\+Ast\+Tree}} tree, string uri, string query, bool exact\+Match=False, bool fix\+Symbols=True, bool bare\+Names=False) \begin{DoxyCompactList}\small\item\em Find matching symbols in a document. \end{DoxyCompactList}\item \+\_\+\+\_\+7\+\_\+ list \mbox{\hyperlink{classastparser_1_1_ast_tree_searcher_ad40805aeed7536e5dc023a85b1104162}{find\+References}} (\mbox{\hyperlink{classastparser_1_1_ast_tree}{astparser\+::\+Ast\+Tree}} tree, string uri, int line, int col, bool include\+Decl) \begin{DoxyCompactList}\small\item\em Find symbol references. \end{DoxyCompactList}\item \+\_\+\+\_\+7\+\_\+ hash \mbox{\hyperlink{classastparser_1_1_ast_tree_searcher_ae52ae2eef0e22aa7df82ddeee10ccdf8}{find\+Symbol\+Info}} (\mbox{\hyperlink{classastparser_1_1_ast_tree}{astparser\+::\+Ast\+Tree}} tree, int line, int col) \begin{DoxyCompactList}\small\item\em Find symbol info. \end{DoxyCompactList}\item \+\_\+\+\_\+7\+\_\+ list \mbox{\hyperlink{classastparser_1_1_ast_tree_searcher_a54dde116f4cf9209d7824542c92daaca}{find\+Symbols}} (\mbox{\hyperlink{classastparser_1_1_ast_tree}{astparser\+::\+Ast\+Tree}} tree, string uri, bool fix\+Symbols=True, bool bare\+Names=False) \begin{DoxyCompactList}\small\item\em Find all symbols in a document. \end{DoxyCompactList}\item \+\_\+\+\_\+7\+\_\+ hash \mbox{\hyperlink{classastparser_1_1_ast_tree_searcher_a7a5f142c722ae6949ce85ad3ef93dc72}{hover\+Info}} (\mbox{\hyperlink{classastparser_1_1_ast_tree}{astparser\+::\+Ast\+Tree}} tree, int kind, int line, int col) \begin{DoxyCompactList}\small\item\em Hover info. \end{DoxyCompactList}\end{DoxyCompactItemize} \doxysubsection{Detailed Description} \mbox{\hyperlink{classastparser_1_1_ast_parser}{Ast\+Parser}} class. Lorem ipsum dolor sit amet. \begin{DoxySince}{Since} Qore 0.\+8.\+13 \end{DoxySince} \doxysubsection{Member Function Documentation} \mbox{\Hypertarget{classastparser_1_1_ast_tree_searcher_a27f666b1aebb83bd56ee3859023ec9ad}\label{classastparser_1_1_ast_tree_searcher_a27f666b1aebb83bd56ee3859023ec9ad}} \index{astparser::AstTreeSearcher@{astparser::AstTreeSearcher}!findMatchingSymbols@{findMatchingSymbols}} \index{findMatchingSymbols@{findMatchingSymbols}!astparser::AstTreeSearcher@{astparser::AstTreeSearcher}} \doxysubsubsection{\texorpdfstring{findMatchingSymbols()}{findMatchingSymbols()}} {\footnotesize\ttfamily \+\_\+\+\_\+7\+\_\+ list astparser\+::\+Ast\+Tree\+Searcher\+::find\+Matching\+Symbols (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classastparser_1_1_ast_tree}{astparser\+::\+Ast\+Tree}}}]{tree, }\item[{string}]{uri, }\item[{string}]{query, }\item[{bool}]{exact\+Match = {\ttfamily False}, }\item[{bool}]{fix\+Symbols = {\ttfamily True}, }\item[{bool}]{bare\+Names = {\ttfamily False} }\end{DoxyParamCaption})} Find matching symbols in a document. \begin{DoxyParams}{Parameters} {\em uri} & document\textquotesingle{}s uri \\ \hline {\em query} & search query \\ \hline {\em exact\+Match} & whether to only find exact matches \\ \hline {\em fix\+Symbols} & whether to fix symbol infos \\ \hline {\em bare\+Names} & whether to return bare symbol names (without namespace and class prefixes)\\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} list of symbols \end{DoxyReturn} \mbox{\Hypertarget{classastparser_1_1_ast_tree_searcher_ad40805aeed7536e5dc023a85b1104162}\label{classastparser_1_1_ast_tree_searcher_ad40805aeed7536e5dc023a85b1104162}} \index{astparser::AstTreeSearcher@{astparser::AstTreeSearcher}!findReferences@{findReferences}} \index{findReferences@{findReferences}!astparser::AstTreeSearcher@{astparser::AstTreeSearcher}} \doxysubsubsection{\texorpdfstring{findReferences()}{findReferences()}} {\footnotesize\ttfamily \+\_\+\+\_\+7\+\_\+ list astparser\+::\+Ast\+Tree\+Searcher\+::find\+References (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classastparser_1_1_ast_tree}{astparser\+::\+Ast\+Tree}}}]{tree, }\item[{string}]{uri, }\item[{int}]{line, }\item[{int}]{col, }\item[{bool}]{include\+Decl }\end{DoxyParamCaption})} Find symbol references. \begin{DoxyParams}{Parameters} {\em uri} & document\textquotesingle{}s uri \\ \hline {\em line} & line on which the symbol lies \\ \hline {\em col} & column at which the symbol lies \\ \hline {\em include\+Decl} & whether to include a reference at the passed position\\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} list of reference locations \end{DoxyReturn} \mbox{\Hypertarget{classastparser_1_1_ast_tree_searcher_ae52ae2eef0e22aa7df82ddeee10ccdf8}\label{classastparser_1_1_ast_tree_searcher_ae52ae2eef0e22aa7df82ddeee10ccdf8}} \index{astparser::AstTreeSearcher@{astparser::AstTreeSearcher}!findSymbolInfo@{findSymbolInfo}} \index{findSymbolInfo@{findSymbolInfo}!astparser::AstTreeSearcher@{astparser::AstTreeSearcher}} \doxysubsubsection{\texorpdfstring{findSymbolInfo()}{findSymbolInfo()}} {\footnotesize\ttfamily \+\_\+\+\_\+7\+\_\+ hash astparser\+::\+Ast\+Tree\+Searcher\+::find\+Symbol\+Info (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classastparser_1_1_ast_tree}{astparser\+::\+Ast\+Tree}}}]{tree, }\item[{int}]{line, }\item[{int}]{col }\end{DoxyParamCaption})} Find symbol info. \begin{DoxyParams}{Parameters} {\em line} & on what line lies the symbol we want to get info about \\ \hline {\em col} & on what column lies the symbol we want to get info about\\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} hash with hover info \end{DoxyReturn} \mbox{\Hypertarget{classastparser_1_1_ast_tree_searcher_a54dde116f4cf9209d7824542c92daaca}\label{classastparser_1_1_ast_tree_searcher_a54dde116f4cf9209d7824542c92daaca}} \index{astparser::AstTreeSearcher@{astparser::AstTreeSearcher}!findSymbols@{findSymbols}} \index{findSymbols@{findSymbols}!astparser::AstTreeSearcher@{astparser::AstTreeSearcher}} \doxysubsubsection{\texorpdfstring{findSymbols()}{findSymbols()}} {\footnotesize\ttfamily \+\_\+\+\_\+7\+\_\+ list astparser\+::\+Ast\+Tree\+Searcher\+::find\+Symbols (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classastparser_1_1_ast_tree}{astparser\+::\+Ast\+Tree}}}]{tree, }\item[{string}]{uri, }\item[{bool}]{fix\+Symbols = {\ttfamily True}, }\item[{bool}]{bare\+Names = {\ttfamily False} }\end{DoxyParamCaption})} Find all symbols in a document. \begin{DoxyParams}{Parameters} {\em uri} & document\textquotesingle{}s uri \\ \hline {\em fix\+Symbols} & whether to fix symbol infos \\ \hline {\em bare\+Names} & whether to return bare symbol names (without namespace and class prefixes)\\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} list of symbols \end{DoxyReturn} \mbox{\Hypertarget{classastparser_1_1_ast_tree_searcher_a7a5f142c722ae6949ce85ad3ef93dc72}\label{classastparser_1_1_ast_tree_searcher_a7a5f142c722ae6949ce85ad3ef93dc72}} \index{astparser::AstTreeSearcher@{astparser::AstTreeSearcher}!hoverInfo@{hoverInfo}} \index{hoverInfo@{hoverInfo}!astparser::AstTreeSearcher@{astparser::AstTreeSearcher}} \doxysubsubsection{\texorpdfstring{hoverInfo()}{hoverInfo()}} {\footnotesize\ttfamily \+\_\+\+\_\+7\+\_\+ hash astparser\+::\+Ast\+Tree\+Searcher\+::hover\+Info (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classastparser_1_1_ast_tree}{astparser\+::\+Ast\+Tree}}}]{tree, }\item[{int}]{kind, }\item[{int}]{line, }\item[{int}]{col }\end{DoxyParamCaption})} Hover info. \begin{DoxyParams}{Parameters} {\em kind} & symbol kind \\ \hline {\em line} & on what line lies the symbol we want to get info about \\ \hline {\em col} & on what column lies the symbol we want to get info about\\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} hash with hover info \end{DoxyReturn}