@Override
public void addStatement(IStatement statement) throws ParseException {
if (statement instanceof $foreachelse) {
if (elseBlock != null) {
throw new ParseException("不能重复定义foreachelse");
} else {
elseBlock = new BlockStatement();
elseBlock.setParent(this.getParent());
}
} else if (elseBlock != null) {