Lines Matching refs:TOKEN_STRING
33 #define TOKEN_STRING(js, t, s) \
97 check(TOKEN_STRING(js, tokens[0], js));
98 check(TOKEN_STRING(js, tokens[1], "a"));
99 check(TOKEN_STRING(js, tokens[2], "0"));
125 check(TOKEN_STRING(js, tok[0], "boolVar"));
126 check(TOKEN_STRING(js, tok[1], "true"));
133 check(TOKEN_STRING(js, tok[0], "boolVar"));
134 check(TOKEN_STRING(js, tok[1], "false"));
141 check(TOKEN_STRING(js, tok[0], "intVar"));
142 check(TOKEN_STRING(js, tok[1], "12345"));
149 check(TOKEN_STRING(js, tok[0], "floatVar"));
150 check(TOKEN_STRING(js, tok[1], "12.345"));
157 check(TOKEN_STRING(js, tok[0], "nullVar"));
158 check(TOKEN_STRING(js, tok[1], "null"));
174 check(TOKEN_STRING(js, tok[0], "strVar"));
175 check(TOKEN_STRING(js, tok[1], "hello world"));
182 check(TOKEN_STRING(js, tok[0], "strVar"));
183 check(TOKEN_STRING(js, tok[1], "escapes: \\/\\r\\n\\t\\b\\f\\\"\\\\"));
190 check(TOKEN_STRING(js, tok[0], "strVar"));
191 check(TOKEN_STRING(js, tok[1], ""));
206 check(TOKEN_STRING(js, tok[0], "x"));
222 check(TOKEN_STRING(js, tok[0], "x"));
229 check(TOKEN_STRING(js, tok[0], "x"));
230 check(TOKEN_STRING(js, tok[1], "value"));
237 check(TOKEN_STRING(js, tok[0], "x"));
238 check(TOKEN_STRING(js, tok[1], "value"));
239 check(TOKEN_STRING(js, tok[2], "y"));
240 check(TOKEN_STRING(js, tok[3], "value y"));
259 check(TOKEN_STRING(js, tok[0], "key1"));
260 check(TOKEN_STRING(js, tok[1], "value"));
261 check(TOKEN_STRING(js, tok[2], "key2"));
262 check(TOKEN_STRING(js, tok[3], "123"));
449 check(TOKEN_STRING(js, tokens[0], "{\"a\": 0}"));
450 check(TOKEN_STRING(js, tokens[1], "a"));
451 check(TOKEN_STRING(js, tokens[2], "0"));
579 check(TOKEN_STRING(js, tokens[0], "a"));
580 check(TOKEN_STRING(js, tokens[1], "0"));