diff options
| author | Yong He <yonghe@outlook.com> | 2018-01-19 18:20:23 -0500 |
|---|---|---|
| committer | Yong He <yonghe@outlook.com> | 2018-01-19 22:21:29 -0500 |
| commit | 9d515dd257498cba9144dd31f2f3219e997e03d0 (patch) | |
| tree | 131571608747f80354236ba62ca946c7fc703db7 /source/slang/parser.h | |
| parent | 2079b941bc5849b6ab33774fb90cefe9c2d624cb (diff) | |
Allow arbitrary type string as type argument in spAddEntryPointEx.
Diffstat (limited to 'source/slang/parser.h')
| -rw-r--r-- | source/slang/parser.h | 5 |
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); |
