public FunctionDeclare popFunctionDeclare(Expression expr) {
return popFunctionDeclare(toStatementList(expr));
}
private static StatementList toStatementList(Expression expr) {
StatementList statementList = new StatementList();
statementList.add(new Return(expr, expr.line, expr.column));
return statementList;
}