public static EVariable Calc(ESOSimpleType type, EVariable a, EVariable b) { ESOSimpleTypeObject selected = dict[type]; if (selected == null) { throw new ELangException("Invalid operation: " + type.ToString()); } return(selected.Calc(a, b)); }
public override EVariable Solve(EVariable first, EVariable second) { return(ESOSimpleTypeObject.Calc(type, first, second)); }