fnScope.compress(isVar, env);
}
List<Constant> constants = fnScope.getVarConstants();
int size = constants.size();
if (size > 0) {
VariableStatement statement;
if (isVar) {
statement = (VariableStatement) statements.get(0);
} else {
statement = new VariableStatement(getLineno());
statement.setParent(this);
statements.add(0, statement);
}
for (size--; size >= 0; size--) {
Constant constant = constants.get(size);
statement.addParam(statement.getLineno(), constant.getString(false),
constant.getLiteral());
}
}
writer.write("function");