code: public static String getValueFromToken(String pToken) {
          StringBuffer buf = new StringBuffer();
          int len = pToken.length() - 1;
          boolean escaping = false;
          for (int i = 1; i < len; i++) {
              char ch = pToken.charAt(i);
              if (escaping) {
                  buf.append(ch);
                  escaping = false;
              } else if (ch == '\\') {
                  escaping = true;
              } else {
                  buf.append(ch);
              }
          }
          return buf.toString();
      }
docs: Parses the given token into the literal value