とりあえず関数呼び出し
This commit is contained in:
1 parent
4b530f492e
commit
dec42422b5
6 files changed
+160
-15
No files matched your search
@@ -366,10 +366,18 @@ class DefineFunction : Statement
|
||||
wstring[] outArguments;
|
||||
wstring name;
|
||||
Statements functionBody;
|
||||
bool returnExpr;
|
||||
this(wstring name, bool returnExpr)
|
||||
{
|
||||
this.type = NodeType.DefineFunction;
|
||||
this.name = name;
|
||||
this.returnExpr = returnExpr;
|
||||
}
|
||||
this(wstring name)
|
||||
{
|
||||
this.type = NodeType.DefineFunction;
|
||||
this.name = name;
|
||||
this.returnExpr = false;
|
||||
}
|
||||
void addArgument(wstring name)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user