Zen-C
Loading...
Searching...
No Matches
lsp_index.c File Reference
#include "lsp_index.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Include dependency graph for lsp_index.c:

Functions

LSPIndexlsp_index_new ()
 
void lsp_index_free (LSPIndex *idx)
 
void lsp_index_add (LSPIndex *idx, LSPRange *r)
 
void lsp_index_add_def (LSPIndex *idx, Token t, const char *hover, ASTNode *node)
 
void lsp_index_add_ref (LSPIndex *idx, Token t, Token def_t, ASTNode *node)
 
LSPRangelsp_find_at (LSPIndex *idx, int line, int col)
 
void lsp_walk_node (LSPIndex *idx, ASTNode *node)
 
void lsp_build_index (LSPIndex *idx, ASTNode *root)
 

Function Documentation

◆ lsp_build_index()

void lsp_build_index ( LSPIndex idx,
ASTNode root 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ lsp_find_at()

LSPRange * lsp_find_at ( LSPIndex idx,
int  line,
int  col 
)
Here is the caller graph for this function:

◆ lsp_index_add()

void lsp_index_add ( LSPIndex idx,
LSPRange r 
)
Here is the caller graph for this function:

◆ lsp_index_add_def()

void lsp_index_add_def ( LSPIndex idx,
Token  t,
const char *  hover,
ASTNode node 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ lsp_index_add_ref()

void lsp_index_add_ref ( LSPIndex idx,
Token  t,
Token  def_t,
ASTNode node 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ lsp_index_free()

void lsp_index_free ( LSPIndex idx)
Here is the caller graph for this function:

◆ lsp_index_new()

LSPIndex * lsp_index_new ( )
Here is the caller graph for this function:

◆ lsp_walk_node()

void lsp_walk_node ( LSPIndex idx,
ASTNode node 
)
Here is the call graph for this function:
Here is the caller graph for this function: