9596979899100101102103104105
n = unescape(x.nextTo("=;")); if (x.next() != '=') { if (n.equals("secure")) { v = Boolean.TRUE; } else { throw x.syntaxError("Missing '=' in cookie parameter."); } } else { v = unescape(x.nextTo(';')); x.next(); }
8283848586878889909192
JSONTokener x = new JSONTokener(s.toString()); char c; String key; if (x.nextClean() != '{') { throw x.syntaxError("A JSONObject text must begin with '{'"); } for (;;) { int idx; c = x.nextClean(); switch (c) {
8990919293949596979899
for (;;) { int idx; c = x.nextClean(); switch (c) { case 0: throw x.syntaxError("A JSONObject text must end with '}'"); case '}': return; default: x.back(); idx = x.getMyIndex();
109110111112113114115116117118119
if (c == '=') { if (x.next() != '>') { x.back(); } } else if (c != ':') { throw x.syntaxError("Expected a ':' after a key"); } if ("id".equals(key)) { Object value = x.nextValue(); UIComponent component = RendererUtils.getInstance().findComponentFor(effect, value.toString());
142143144145146147148149150151152
x.back(); break; case '}': return; default: throw x.syntaxError("Expected a ',' or '}'"); } } } public String escapeJavaScript(Object s) {
6566676869707172737475
7273747576777879808182
9293949596979899100101102
125126127128129130131132133134135
7576777879808182838485