Lines Matching refs:setError
276 void setError(const Twine &Message, StringRef::iterator Position) {
287 void setError(const Twine &Message) {
288 setError(Message, Current);
961 setError( "Could not find expected : for simple key"
1277 setError("Expected quote at end of scalar", Current);
1307 setError("Found unexpected ':' while scanning a plain scalar", Current);
1335 setError("Found invalid tab character in indentation", Tmp);
1356 setError("Got empty plain scalar", Start);
1390 setError("Got empty alias or anchor", Start);
1432 setError("Got empty block scalar", Start);
1559 setError("Unrecognized character while tokenizing.");
1635 setError(Twine("Unknown tag handle ") + TagHandle, T);
1673 void Node::setError(const Twine &Msg, Token &Tok) const {
1674 Doc->setError(Msg, Tok);
1751 setError("Unrecognized escape code!", T);
1903 setError("Unexpected token in Key Value.", t);
1945 setError("Unexpected token. Expected Key or Block End", T);
1964 setError( "Unexpected token. Expected Key, Flow Entry, or Flow "
1998 setError( "Unexpected token. Expected Block Entry or Block End."
2036 setError("Could not find closing ]!", T);
2043 setError("Expected , between entries!", T);
2095 void Document::setError(const Twine &Message, Token &Location) const {
2096 stream.scanner->setError(Message, Location.Range.begin());
2115 setError("Already encountered an anchor for this node!", T);
2123 setError("Already encountered a tag for this node!", T);
2232 setError("Unexpected token", T);