代入の構文解析を実�

This commit is contained in:
otya128 committed 2015-06-05 21:30:43 +09:00
1 parent 04f35b3801
commit edd9affacc
4 files changed
+82 -45

No files matched your search

+11
View File
@@ -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;
}
}