Cthulhu  0.2.10
Cthulhu compiler collection
query.c File Reference
#include "cthulhu/events/events.h"
#include "cthulhu/util/util.h"
#include "cthulhu/tree/tree.h"
#include "cthulhu/tree/query.h"
#include "std/vector.h"
#include "base/panic.h"
#include <stdio.h>
Include dependency graph for query.c:

Go to the source code of this file.

Functions

tree_tutil_search_namespace (tree_t *sema, search_t search, const node_t *node, const vector_t *path, bool *is_imported)
 search for a namespace given a path, ignoring the last element in the path More...
 
tree_tutil_search_path (tree_t *sema, const decl_search_t *search, const node_t *node, vector_t *path)
 search for a decl given a path More...
 
tree_tutil_search_qualified (tree_t *sema, const decl_search_t *search, const node_t *node, const char *mod, const char *name)
 search for a decl inside a module More...