Lines Matching refs:token
106 /// @brief append an unescaped reference token at the end of this JSON pointer
108 json_pointer& operator/=(string_t token)
110 push_back(std::move(token));
129 /// @brief create a new JSON pointer by appending the unescaped token at the end of the JSON pointer
131 friend json_pointer operator/(const json_pointer& lhs, string_t token) // NOLINT(performance-unnecessary-value-param)
133 return json_pointer(lhs) /= std::move(token);
136 /// @brief create a new JSON pointer by appending the array-index-token at the end of the JSON pointer
157 /// @brief remove last reference token
169 /// @brief return last reference token
181 /// @brief append an unescaped token at the end of the reference pointer
183 void push_back(const string_t& token)
185 reference_tokens.push_back(token);
188 /// @brief append an unescaped token at the end of the reference pointer
190 void push_back(string_t&& token)
192 reference_tokens.push_back(std::move(token));
204 @param[in] s reference token to be converted into an array index
238 JSON_THROW(detail::out_of_range::create(404, detail::concat("unresolved reference token '", s, "'"), nullptr));
288 // start a new array if reference token is 0
315 token _and_ the current value is primitive. In this case, we have
361 // check if reference token is a number
408 JSON_THROW(detail::out_of_range::create(404, detail::concat("unresolved reference token '", reference_token, "'"), ptr));
459 JSON_THROW(detail::out_of_range::create(404, detail::concat("unresolved reference token '", reference_token, "'"), ptr));
515 JSON_THROW(detail::out_of_range::create(404, detail::concat("unresolved reference token '", reference_token, "'"), ptr));
566 JSON_THROW(detail::out_of_range::create(404, detail::concat("unresolved reference token '", reference_token, "'"), ptr));
647 // reference token to process
653 // no reference token left means we found a primitive value
688 // set the beginning of the first reference token
692 // set the beginning of the next reference token
698 // use the text between the beginning of the reference token
718 // finally, store the reference token