Zen-C
Loading...
Searching...
No Matches
lsp_project.h File Reference
#include "parser.h"
#include "lsp_index.h"
Include dependency graph for lsp_project.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ProjectFile
 Represents a tracked file in the LSP project. More...
 
struct  LSPProject
 Global state for the Language Server Project. More...
 
struct  DefinitionResult
 
struct  ReferenceResult
 

Typedefs

typedef struct ProjectFile ProjectFile
 Represents a tracked file in the LSP project.
 
typedef struct ReferenceResult ReferenceResult
 

Functions

void lsp_project_init (const char *root_path)
 
ProjectFilelsp_project_get_file (const char *uri)
 
void lsp_project_update_file (const char *uri, const char *src)
 
DefinitionResult lsp_project_find_definition (const char *name)
 
ReferenceResultlsp_project_find_references (const char *name)
 
char * lsp_semantic_tokens_full (const char *uri)
 

Variables

LSPProjectg_project
 

Typedef Documentation

◆ ProjectFile

typedef struct ProjectFile ProjectFile

Represents a tracked file in the LSP project.

◆ ReferenceResult

Function Documentation

◆ lsp_project_find_definition()

DefinitionResult lsp_project_find_definition ( const char *  name)
Here is the caller graph for this function:

◆ lsp_project_find_references()

ReferenceResult * lsp_project_find_references ( const char *  name)
Here is the caller graph for this function:

◆ lsp_project_get_file()

ProjectFile * lsp_project_get_file ( const char *  uri)
Here is the caller graph for this function:

◆ lsp_project_init()

void lsp_project_init ( const char *  root_path)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ lsp_project_update_file()

void lsp_project_update_file ( const char *  uri,
const char *  src 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ lsp_semantic_tokens_full()

char * lsp_semantic_tokens_full ( const char *  uri)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ g_project

LSPProject* g_project
extern