summaryrefslogtreecommitdiff
path: root/source/slang/emit.h
blob: 05ea1550fcd807eb5dc59ca345dbae461fa394de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Emit.h
#ifndef SLANG_EMIT_H_INCLUDED
#define SLANG_EMIT_H_INCLUDED

#include "../core/basic.h"

#include "compiler.h"

namespace Slang
{
    namespace Compiler
    {
        using namespace CoreLib::Basic;

        class ProgramSyntaxNode;
        class ProgramLayout;

        String emitProgram(
            ProgramSyntaxNode*  program,
            ProgramLayout*      programLayout,
            CodeGenTarget       target);
    }
}
#endif