diff options
| author | Yong He <yonghe@outlook.com> | 2018-01-21 10:48:31 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-01-21 10:48:31 -0800 |
| commit | 4044a1d3a0605198465a7eb6e0e3c1f8b1a3c298 (patch) | |
| tree | 62927d4d2722b36c8e7eb4060e741b9032686835 /source/slang/parser.h | |
| parent | 2079b941bc5849b6ab33774fb90cefe9c2d624cb (diff) | |
| parent | f681a1505c98995683a7fbae7ce208dc5e444b9b (diff) | |
Merge pull request #372 from csyonghe/master
Allow type expression as type argument, fix global param enum order
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); |
