summaryrefslogtreecommitdiff
path: root/source/slang/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/parser.h')
-rw-r--r--source/slang/parser.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/slang/parser.h b/source/slang/parser.h
index 60fe4b3ae..785b6e345 100644
--- a/source/slang/parser.h
+++ b/source/slang/parser.h
@@ -14,6 +14,11 @@ namespace Slang
DiagnosticSink* sink,
RefPtr<Scope> const& outerScope);
+ RefPtr<Expr> parseTypeFromSourceFile(TranslationUnitRequest* translationUnit,
+ TokenSpan const& tokens,
+ DiagnosticSink* sink,
+ RefPtr<Scope> const& outerScope);
+
RefPtr<ModuleDecl> populateBaseLanguageModule(
Session* session,
RefPtr<Scope> scope);