Home
last modified time | relevance | path

Searched refs:last_token (Results 1 – 18 of 18) sorted by relevance

/third_party/json/include/nlohmann/detail/input/
Dbinary_reader.hpp218 auto last_token = get_token_string(); in get_bson_string() local
219 …return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, exception_mes… in get_bson_string()
239 auto last_token = get_token_string(); in get_bson_binary() local
240 …return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, exception_mes… in get_bson_binary()
721 auto last_token = get_token_string(); in parse_cbor_internal() local
722 …ror(chars_read, last_token, parse_error::create(112, chars_read, exception_message(input_format_t:… in parse_cbor_internal()
878 auto last_token = get_token_string(); in parse_cbor_internal() local
879 …ror(chars_read, last_token, parse_error::create(112, chars_read, exception_message(input_format_t:… in parse_cbor_internal()
973 auto last_token = get_token_string(); in get_cbor_string() local
974last_token, parse_error::create(113, chars_read, exception_message(input_format_t::cbor, "expected… in get_cbor_string()
[all …]
Dparser.hpp185 switch (last_token) in sax_parse_internal()
205 if (JSON_HEDLEY_UNLIKELY(last_token != token_type::value_string)) in sax_parse_internal()
375 if (JSON_HEDLEY_LIKELY(last_token == token_type::end_array)) in sax_parse_internal()
429 if (JSON_HEDLEY_LIKELY(last_token == token_type::end_object)) in sax_parse_internal()
455 return last_token = m_lexer.scan(); in get_token()
469 if (last_token == token_type::parse_error) in exception_message()
476 error_msg += "unexpected " + std::string(lexer_t::token_type_name(last_token)); in exception_message()
491 token_type last_token = token_type::uninitialized; member in nlohmann::detail::parser
Djson_sax.hpp126 const std::string& last_token,
/third_party/python/Parser/
Dstring_parser.c508 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 …]
Dpegen_errors.c386 _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()
Dpegen.c1354 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/
Dcall_stack.stp5 last_token = token = tokenize(path, "/");
7 last_token = token;
10 return last_token;
/third_party/googletest/googlemock/scripts/generator/cpp/
Dast.py774 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/doc/mkdocs/docs/features/parsing/
Dparse_exceptions.md56 const std::string& last_token,
78 const std::string& last_token,
83 << "last read: \"" << last_token << "\""
Dsax_interface.md25 …+ {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/json/doc/examples/
Dsax_parse.cpp88 …bool parse_error(std::size_t position, const std::string& last_token, const json::exception& ex) o… in parse_error() argument
/third_party/cef/tools/yapf/yapf/yapflib/
Dformat_decision_state.py185 last_token = bracket.matching_bracket
187 last_token = _LastTokenInLine(bracket.matching_bracket)
189 if not self._FitsOnLine(bracket, last_token):
/third_party/libcoap/include/coap3/
Dcoap_block_internal.h144 uint8_t last_token[8]; /**< last used token */ member
/third_party/json/single_include/nlohmann/
Djson.hpp5940 const std::string& last_token,
8508 auto last_token = get_token_string(); in get_bson_string() local
8509 …return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, exception_mes… in get_bson_string()
8529 auto last_token = get_token_string(); in get_bson_binary() local
8530 …return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, exception_mes… in get_bson_binary()
9011 auto last_token = get_token_string(); in parse_cbor_internal() local
9012 …ror(chars_read, last_token, parse_error::create(112, chars_read, exception_message(input_format_t:… in parse_cbor_internal()
9168 auto last_token = get_token_string(); in parse_cbor_internal() local
9169 …ror(chars_read, last_token, parse_error::create(112, chars_read, exception_message(input_format_t:… in parse_cbor_internal()
9263 auto last_token = get_token_string(); in get_cbor_string() local
[all …]
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dparser_impl.h354 Token last_token() const;
Dparser_impl.cc203 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/libcoap/src/
Dblock.c1317 memcpy(p->last_token, pdu->token, pdu->token_length); in coap_handle_request_put_block()
/third_party/json/
DREADME.md373 bool parse_error(std::size_t position, const std::string& last_token, const detail::exception& ex);