JEXL-359: subtle refactor to allow implementing a 3.2-like interpreter;