diff options
Diffstat (limited to 'slang.h')
| -rw-r--r-- | slang.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -4002,6 +4002,10 @@ namespace slang You have been warned. */ kSessionFlag_FalcorCustomSharedKeywordSemantics = 1 << 0, + + /** Indicates that this is a session created by language server. + */ + kSessionFlag_LanguageServer = 1 << 1, }; struct PreprocessorMacroDesc @@ -4036,6 +4040,8 @@ namespace slang PreprocessorMacroDesc const* preprocessorMacros = nullptr; SlangInt preprocessorMacroCount = 0; + + ISlangFileSystem* fileSystem = nullptr; }; enum class ContainerType @@ -4086,6 +4092,7 @@ namespace slang */ virtual SLANG_NO_THROW IModule* SLANG_MCALL loadModuleFromSource( const char* moduleName, + const char* path, slang::IBlob* source, slang::IBlob** outDiagnostics = nullptr) = 0; |
