summaryrefslogtreecommitdiff
path: root/source/slang/slang-preprocessor.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2022-06-22 19:58:34 -0700
committerGitHub <noreply@github.com>2022-06-22 19:58:34 -0700
commit07a380d72a13899a84cbdc35692be7a3d9246dcb (patch)
tree68e77f2e9682b3b7c3debd745604a494439e5b25 /source/slang/slang-preprocessor.h
parente5a75563a1ba2e378353af8b937b8b7bb0fe2c2b (diff)
More Language Server Improvements. (#2289)
Diffstat (limited to 'source/slang/slang-preprocessor.h')
-rw-r--r--source/slang/slang-preprocessor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/slang/slang-preprocessor.h b/source/slang/slang-preprocessor.h
index 5f66be405..4d7721d31 100644
--- a/source/slang/slang-preprocessor.h
+++ b/source/slang/slang-preprocessor.h
@@ -11,6 +11,7 @@ namespace Slang {
class DiagnosticSink;
class Linkage;
+struct PreprocessorContentAssistInfo;
namespace preprocessor
{
@@ -53,6 +54,9 @@ struct PreprocessorDesc
/// Optional: handler for callbacks invoked during preprocessing
PreprocessorHandler* handler = nullptr;
+
+ /// Optional: additional information for code assist.
+ PreprocessorContentAssistInfo* contentAssistInfo = nullptr;
};
/// Take a source `file` and preprocess it into a list of tokens.