152153154155156157158159160161162
@Override public Value evalCopy(Env env) { Value v = eval(env); return v.copy(); } /** * Evaluates the expression, converting to an array if unset. *
949596979899100101102103104
Iterator<Value> iter = obj.getValueIterator(env); while (iter.hasNext()) { Value value = iter.next(); value = value.copy(); // php/0662 _value.evalAssignValue(env, value); Value result = _block.execute(env);
175176177178179180181182183184185
while (iter.hasNext()) { Map.Entry<Value, Value> entry = iter.next(); Value key = entry.getKey(); Value value = entry.getValue(); value = value.copy(); // php/066w _key.evalAssignValue(env, key); _value.evalAssignValue(env, value);
7071727374757677787980
public Value evalCopy(Env env) { Value value = _expr.eval(env).toValue(); if (value instanceof ArrayValue) return value.copy(); else return value.toArray(); } public String toString()
9899100101102103104105106107108
String key = keys.toString(); Value value = _cache.get(key); if (value != null) return value.copy(env); else return BooleanValue.FALSE; } /*
919293949596979899100101
String varName = _var.evalString(env).intern(); Value value = env.getValue(varName); if (value != null) return value.copy(); else return NULL; } /**
9293949596979899100101102
{ Value value = _value.evalRef(env); _var.evalAssign(env, value); return value.copy(); } public String toString() { return "(" + _var + " =& " + _value + ")";
Iterator<Value> iter = obj.getValueIterator(env); while (iter.hasNext()) { Value value = iter.next(); value = value.copy(); // php/0662 _value.evalAssign(env, value); Value result = _block.execute(env);