code: static CompiledToken expression(String token, EvaluatorCompiler compiler) throws ExpressionCompileException {
          //strip leading ${ and trailing }
          return new CompiledToken(compiler.compile(token.substring(2, token.length() - 1)), true);
      }
docs: local factories