blob: 60fe4b3ae03998d83805d7cfbfcd1d2db9ee43c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef RASTER_RENDERER_PARSER_H
#define RASTER_RENDERER_PARSER_H
#include "lexer.h"
#include "compiler.h"
#include "syntax.h"
namespace Slang
{
// Parse a source file into an existing translation unit
void parseSourceFile(
TranslationUnitRequest* translationUnit,
TokenSpan const& tokens,
DiagnosticSink* sink,
RefPtr<Scope> const& outerScope);
RefPtr<ModuleDecl> populateBaseLanguageModule(
Session* session,
RefPtr<Scope> scope);
}
#endif
|