1
0

IF文を実�

This commit is contained in:
otya128
2015-06-06 17:36:11 +09:00
parent 5cab924046
commit 828631c70e
3 changed files with 105 additions and 47 deletions

View File

@@ -204,4 +204,8 @@ class If : Statement
this.then = t;
this.else_ = e;
}
bool hasElse()
{
return !(else_ is null) && else_.statements.length != 0;
}
}