1
0

代入の構文解析を実�

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

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;
}
}