Lines Matching refs:scanner
37 parser->scanner.errcode = PHP_JSON_ERROR_DEPTH; \
109 parser->scanner.errcode = PHP_JSON_ERROR_STATE_MISMATCH;
117 …if ((parser->scanner.options & PHP_JSON_OBJECT_AS_ARRAY) && parser->methods.object_create == php_j…
165 parser->scanner.errcode = PHP_JSON_ERROR_STATE_MISMATCH;
228 if (parser->scanner.options & PHP_JSON_OBJECT_AS_ARRAY) { in php_json_parser_object_create()
243 parser->scanner.errcode = PHP_JSON_ERROR_INVALID_PROPERTY_NAME; in php_json_parser_object_update()
259 int token = php_json_scan(&parser->scanner); in php_json_yylex()
260 value->value = parser->scanner.value; in php_json_yylex()
266 if (!parser->scanner.errcode) { in php_json_yyerror()
267 parser->scanner.errcode = PHP_JSON_ERROR_SYNTAX; in php_json_yyerror()
273 return parser->scanner.errcode; in php_json_parser_error_code()
297 php_json_scanner_init(&parser->scanner, str, str_len, options); in php_json_parser_init_ex()