Lines Matching refs:strict
86 @param[in] strict whether to expect the last token to be EOF
93 void parse(const bool strict, BasicJsonType& result)
100 // in strict mode, input must be completely read
101 if (strict && (get_token() != token_type::end_of_input))
128 // in strict mode, input must be completely read
129 if (strict && (get_token() != token_type::end_of_input))
150 @param[in] strict whether to expect the last token to be EOF
153 bool accept(const bool strict = true)
156 return sax_parse(&sax_acceptor, strict);
161 bool sax_parse(SAX* sax, const bool strict = true)
166 // strict mode: next byte must be EOF
167 if (result && strict && (get_token() != token_type::end_of_input))