Lines Matching refs:methods
92 if (parser->methods.object_start && FAILURE == parser->methods.object_start(parser)) {
100 if (parser->methods.object_end && FAILURE == parser->methods.object_end(parser, &$$)) {
118 …if ((parser->scanner.options & PHP_JSON_OBJECT_AS_ARRAY) && parser->methods.object_create == php_j…
121 parser->methods.object_create(parser, &$$);
130 parser->methods.object_create(parser, &$$);
131 if (parser->methods.object_update(parser, &$$, Z_STR($1), &$3) == FAILURE) {
137 if (parser->methods.object_update(parser, &$1, Z_STR($3), &$5) == FAILURE) {
148 if (parser->methods.array_start && FAILURE == parser->methods.array_start(parser)) {
156 if (parser->methods.array_end && FAILURE == parser->methods.array_end(parser, &$$)) {
174 if (parser->methods.array_create == php_json_parser_array_create) {
177 parser->methods.array_create(parser, &$$);
186 parser->methods.array_create(parser, &$$);
187 parser->methods.array_append(parser, &$$, &$1);
191 parser->methods.array_append(parser, &$1, &$3);
284 bool validate = parser->methods.array_create == php_json_parser_array_create_validate in php_json_yylex()
285 && parser->methods.array_append == php_json_parser_array_append_validate in php_json_yylex()
286 && parser->methods.object_create == php_json_parser_object_create_validate in php_json_yylex()
287 && parser->methods.object_update == php_json_parser_object_update_validate; in php_json_yylex()
348 memcpy(&parser->methods, parser_methods, sizeof(php_json_parser_methods)); in php_json_parser_init_ex()