hoshi-lang dev
Yet another programming language
Loading...
Searching...
No Matches
Document Struct Reference

#include <document.h>

Collaboration diagram for Document:

Public Member Functions

 ~Document ()
 

Public Attributes

std::string uri
 
std::string languageId
 
int version = 0
 
yoi::wstr text
 
yoi::hoshiModuleast = nullptr
 
yoi::vec< Symbolsymbols
 
yoi::vec< SymbolcrossModuleSymbols
 
yoi::vec< yoi::Diagnosticdiagnostics
 
bool parseSucceeded = false
 
ProjectIndexprojectIndex = nullptr
 
std::shared_ptr< yoi::IRModuleirModule
 
std::shared_ptr< yoi::compilerContextcompilerCtx
 

Detailed Description

Definition at line 23 of file document.h.

Constructor & Destructor Documentation

◆ ~Document()

~Document ( )

Definition at line 18 of file document.cpp.

References Document::ast, and yoi::finalizeAST().

Here is the call graph for this function:

Member Data Documentation

◆ ast

◆ compilerCtx

std::shared_ptr<yoi::compilerContext> compilerCtx

Definition at line 35 of file document.h.

Referenced by DocumentStore::reparseDocument().

◆ crossModuleSymbols

◆ diagnostics

yoi::vec<yoi::Diagnostic> diagnostics

Definition at line 31 of file document.h.

Referenced by LspServer::publishDiagnostics(), and DocumentStore::reparseDocument().

◆ irModule

std::shared_ptr<yoi::IRModule> irModule

Definition at line 34 of file document.h.

Referenced by lsp::getReturnTypeFromIR(), and DocumentStore::reparseDocument().

◆ languageId

std::string languageId

Definition at line 25 of file document.h.

Referenced by DocumentStore::openDocument().

◆ parseSucceeded

◆ projectIndex

◆ symbols

◆ text

◆ uri

◆ version

int version = 0

Definition at line 26 of file document.h.

Referenced by DocumentStore::openDocument().


The documentation for this struct was generated from the following files: