代入の構文解析を実�
This commit is contained in:
1 parent
04f35b3801
commit
edd9affacc
4 files changed
+82
-45
No files matched your search
@@ -160,3 +160,14 @@ class Print : Statement
|
||||
args ~= PrintArgument(PrintArgumentType.Line);
|
||||
}
|
||||
}
|
||||
class Assign : Statement
|
||||
{
|
||||
wstring name;
|
||||
Expression expr;
|
||||
this(wstring name, Expression expr)
|
||||
{
|
||||
this.type = NodeType.Assign;
|
||||
this.name = name;
|
||||
this.expr = expr;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user