small improvements, little bit faster decompilation by caching the number values of the strings

This commit is contained in:
honfika@gmail.com
2015-10-23 12:56:27 +02:00
parent cbb3b1bff2
commit a4f4dd3604
120 changed files with 291 additions and 288 deletions

View File

@@ -230,6 +230,10 @@ public abstract class GraphTargetItem implements Serializable, Cloneable {
return null;
}
public Double getResultAsNumber() {
return EcmaScript.toNumber(getResult());
}
public String toStringNoQuotes(LocalData localData) {
// todo: honfika: this method should not be called, maybe we should throw an exception
return toString();