/third_party/json/include/nlohmann/detail/input/ |
D | binary_reader.hpp | 227 auto last_token = get_token_string(); in get_bson_string() local 228 return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, in get_bson_string() 249 auto last_token = get_token_string(); in get_bson_binary() local 250 return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, in get_bson_binary() 735 auto last_token = get_token_string(); in parse_cbor_internal() local 736 … return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, in parse_cbor_internal() 737 …exception_message(input_format_t::cbor, concat("invalid byte: 0x", last_token), "value"), nullptr)… in parse_cbor_internal() 893 auto last_token = get_token_string(); in parse_cbor_internal() local 894 return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, in parse_cbor_internal() 895 …exception_message(input_format_t::cbor, concat("invalid byte: 0x", last_token), "value"), nullptr)… in parse_cbor_internal() [all …]
|
D | parser.hpp | 193 switch (last_token) in sax_parse_internal() 213 if (JSON_HEDLEY_UNLIKELY(last_token != token_type::value_string)) in sax_parse_internal() 383 if (JSON_HEDLEY_LIKELY(last_token == token_type::end_array)) in sax_parse_internal() 437 if (JSON_HEDLEY_LIKELY(last_token == token_type::end_object)) in sax_parse_internal() 463 return last_token = m_lexer.scan(); in get_token() 477 if (last_token == token_type::parse_error) in exception_message() 484 error_msg += concat("unexpected ", lexer_t::token_type_name(last_token)); in exception_message() 499 token_type last_token = token_type::uninitialized; member in detail::parser
|
D | json_sax.hpp | 134 const std::string& last_token,
|
/third_party/python/Parser/ |
D | string_parser.c | 508 Token *first_token, Token* t, Token *last_token); 528 Token *t, Token *last_token) in fstring_find_expr() argument 771 first_token, t, last_token); in fstring_find_expr() 798 last_token->end_lineno, in fstring_find_expr() 799 last_token->end_col_offset, p->arena); in fstring_find_expr() 843 Token *first_token, Token *t, Token *last_token) in fstring_find_literal_and_expr() argument 874 expression, first_token, t, last_token) < 0) { in fstring_find_literal_and_expr() 1024 make_str_node_and_del(Parser *p, PyObject **str, Token* first_token, Token *last_token) in make_str_node_and_del() argument 1044 last_token->end_lineno, last_token->end_col_offset, in make_str_node_and_del() 1083 Token *first_token, Token* t, Token *last_token) in _PyPegen_FstringParser_ConcatFstring() argument [all …]
|
D | pegen_errors.c | 386 _Pypegen_set_syntax_error(Parser* p, Token* last_token) { in _Pypegen_set_syntax_error() argument 402 if (last_token->type == ERRORTOKEN && p->tok->done == E_EOF) { in _Pypegen_set_syntax_error() 411 if (last_token->type == INDENT || last_token->type == DEDENT) { in _Pypegen_set_syntax_error() 412 … RAISE_INDENTATION_ERROR(last_token->type == INDENT ? "unexpected indent" : "unexpected unindent"); in _Pypegen_set_syntax_error() 421 RAISE_SYNTAX_ERROR_KNOWN_LOCATION(last_token, "invalid syntax"); in _Pypegen_set_syntax_error()
|
D | pegen.c | 1354 Token *last_token = p->tokens[p->fill - 1]; in _PyPegen_run_parser() local 1368 else if (last_token->type == ERRORTOKEN && p->tok->done == E_EOF) { in _PyPegen_run_parser() 1387 RAISE_SYNTAX_ERROR_KNOWN_LOCATION(last_token, "invalid syntax"); in _PyPegen_run_parser()
|
/third_party/python/Lib/test/dtracedata/ |
D | call_stack.stp | 5 last_token = token = tokenize(path, "/"); 7 last_token = token; 10 return last_token;
|
/third_party/googletest/googlemock/scripts/generator/cpp/ |
D | ast.py | 774 temp_tokens, last_token = \ 778 if last_token.name == '(': 784 temp_tokens.append(last_token) 786 last_token = tokenize.Token(tokenize.SYNTAX, ';', 0, 0) 788 if last_token.name == '[': 792 temp_tokens.append(last_token) 796 temp_tokens2, last_token = \ 800 if last_token.name == ';': 814 if last_token.name == '{': 816 self._AddBackToken(last_token) [all …]
|
/third_party/json/docs/mkdocs/docs/api/json_sax/ |
D | parse_error.md | 5 const std::string& last_token, 16 `last_token` (in)
|
/third_party/json/docs/examples/ |
D | sax_parse.cpp | 88 …bool parse_error(std::size_t position, const std::string& last_token, const json::exception& ex) o… in parse_error() argument 90 …"parse_error(position=" + std::to_string(position) + ", last_token=" + last_token + ",\n … in parse_error()
|
D | sax_parse__binary.cpp | 88 …bool parse_error(std::size_t position, const std::string& last_token, const json::exception& ex) o… in parse_error() argument 90 …"parse_error(position=" + std::to_string(position) + ", last_token=" + last_token + ",\n … in parse_error()
|
D | sax_parse.output | 34 parse_error(position=460, last_token=12.723374634<U+000A> }<U+000A> }],
|
/third_party/json/docs/mkdocs/docs/features/parsing/ |
D | parse_exceptions.md | 63 const std::string& last_token, 85 const std::string& last_token, 90 << "last read: \"" << last_token << "\""
|
D | sax_interface.md | 25 …+ {abstract} bool parse_error(std::size_t position, const std::string& last_token, const json::exc… 57 bool parse_error(std::size_t position, const std::string& last_token, const json::exception& ex);
|
/third_party/node/deps/v8/src/torque/ |
D | earley-parser.cc | 218 MatchedInput last_token = tokens.token_contents[pos]; in RunEarleyAlgorithm() local 219 CurrentSourcePosition::Get() = last_token.pos; in RunEarleyAlgorithm()
|
/third_party/json/single_include/nlohmann/ |
D | json.hpp | 6702 const std::string& last_token, 9301 auto last_token = get_token_string(); in get_bson_string() local 9302 return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, in get_bson_string() 9323 auto last_token = get_token_string(); in get_bson_binary() local 9324 return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, in get_bson_binary() 9809 auto last_token = get_token_string(); in parse_cbor_internal() local 9810 … return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, in parse_cbor_internal() 9811 …exception_message(input_format_t::cbor, concat("invalid byte: 0x", last_token), "value"), nullptr)… in parse_cbor_internal() 9967 auto last_token = get_token_string(); in parse_cbor_internal() local 9968 return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, in parse_cbor_internal() [all …]
|
/third_party/json/tests/abi/include/nlohmann/ |
D | json_v3_10_5.hpp | 5820 const std::string& last_token, 8388 auto last_token = get_token_string(); in get_bson_string() local 8389 …return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, exception_mes… in get_bson_string() 8409 auto last_token = get_token_string(); in get_bson_binary() local 8410 …return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, exception_mes… in get_bson_binary() 8891 auto last_token = get_token_string(); in parse_cbor_internal() local 8892 …ror(chars_read, last_token, parse_error::create(112, chars_read, exception_message(input_format_t:… in parse_cbor_internal() 9048 auto last_token = get_token_string(); in parse_cbor_internal() local 9049 …ror(chars_read, last_token, parse_error::create(112, chars_read, exception_message(input_format_t:… in parse_cbor_internal() 9143 auto last_token = get_token_string(); in get_cbor_string() local [all …]
|
/third_party/libcoap/include/coap3/ |
D | coap_block_internal.h | 195 coap_bin_const_t *last_token; /**< last used token */ member
|
D | coap_session_internal.h | 206 coap_bin_const_t *last_token; /** last token used to make a request */ member
|
/third_party/libcoap/src/ |
D | coap_block.c | 1387 if (p->last_token) in pdu_408_build() 1388 coap_add_token(pdu, p->last_token->length, p->last_token->s); in pdu_408_build() 2132 coap_delete_bin_const(lg_srcv->last_token); in coap_block_delete_lg_srcv() 2721 coap_delete_bin_const(p->last_token); in coap_handle_request_put_block() 2722 p->last_token = coap_new_bin_const(pdu->actual_token.s, in coap_handle_request_put_block()
|
D | coap_net.c | 1159 if (session->last_token && in coap_send() 1160 coap_binary_equal(&pdu->actual_token, session->last_token)) { in coap_send() 1163 coap_delete_bin_const(session->last_token); in coap_send() 1164 session->last_token = coap_new_bin_const(pdu->actual_token.s, in coap_send()
|
D | coap_session.c | 697 coap_delete_bin_const(session->last_token); in coap_session_free()
|
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
D | parser_impl.h | 354 Token last_token() const;
|
D | parser_impl.cc | 203 Source end = parser_->last_token().source().End(); in operator Source() 321 Token ParserImpl::last_token() const { in last_token() function in tint::reader::wgsl::ParserImpl
|
/third_party/json/ |
D | README.md | 447 bool parse_error(std::size_t position, const std::string& last_token, const detail::exception& ex);
|