OpenClonk
C4AulCompiler.h
Go to the documentation of this file.
1
/*
2
* OpenClonk, http://www.openclonk.org
3
*
4
* Copyright (c) 2001-2009, RedWolf Design GmbH, http://www.clonk.de/
5
* Copyright (c) 2009-2016, The OpenClonk Team and contributors
6
*
7
* Distributed under the terms of the ISC license; see accompanying file
8
* "COPYING" for details.
9
*
10
* "Clonk" is a registered trademark of Matthes Bender, used with permission.
11
* See accompanying file "TRADEMARK" for details.
12
*
13
* To redistribute this file separately, substitute the full license texts
14
* for the above references.
15
*/
16
17
#ifndef INC_C4AulCompiler
18
#define INC_C4AulCompiler
19
20
#include "
script/C4AulAST.h
"
21
22
class
C4AulCompiler
23
{
24
public
:
25
static
void
Compile
(
C4AulScriptFunc
*out, const ::aul::ast::Function *f);
26
27
static
void
Preparse
(
C4ScriptHost
*out,
C4ScriptHost
*source, const ::aul::ast::Script *
s
);
28
static
void
Compile
(
C4ScriptHost
*out,
C4ScriptHost
*source, const ::aul::ast::Script *
s
);
29
30
private
:
31
class
ConstexprEvaluator
;
32
class
ConstantResolver
;
33
class
PreparseAstVisitor
;
34
class
CodegenAstVisitor
;
35
};
36
37
#endif
C4AulAST.h
s
#define s
C4AulCompiler::CodegenAstVisitor
Definition:
C4AulCompiler.cpp:183
C4AulCompiler::ConstantResolver
Definition:
C4AulCompiler.cpp:457
C4AulCompiler::ConstexprEvaluator
Definition:
C4AulCompiler.cpp:379
C4AulCompiler::PreparseAstVisitor
Definition:
C4AulCompiler.cpp:157
C4AulCompiler
Definition:
C4AulCompiler.h:23
C4AulCompiler::Preparse
static void Preparse(C4ScriptHost *out, C4ScriptHost *source, const ::aul::ast::Script *s)
Definition:
C4AulCompiler.cpp:491
C4AulCompiler::Compile
static void Compile(C4AulScriptFunc *out, const ::aul::ast::Function *f)
Definition:
C4AulCompiler.cpp:507
C4AulScriptFunc
Definition:
C4AulScriptFunc.h:174
C4ScriptHost
Definition:
C4ScriptHost.h:41
openclonk
src
script
C4AulCompiler.h
Generated on Fri May 16 2025 04:33:07 for OpenClonk by
1.9.1