Lines Matching refs:setError
267 void setError(const Twine &Message, StringRef::iterator Position) {
278 void setError(const Twine &Message) {
279 setError(Message, Current);
937 setError( "Could not find expected : for simple key"
1245 setError("Expected quote at end of scalar", Current);
1275 setError("Found unexpected ':' while scanning a plain scalar", Current);
1303 setError("Found invalid tab character in indentation", Tmp);
1324 setError("Got empty plain scalar", Start);
1358 setError("Got empty alias or anchor", Start);
1400 setError("Got empty block scalar", Start);
1527 setError("Unrecognized character while tokenizing.");
1596 void Node::setError(const Twine &Msg, Token &Tok) const {
1597 Doc->setError(Msg, Tok);
1674 setError("Unrecognized escape code!", T);
1826 setError("Unexpected token in Key Value.", t);
1868 setError("Unexpected token. Expected Key or Block End", T);
1887 setError( "Unexpected token. Expected Key, Flow Entry, or Flow "
1921 setError( "Unexpected token. Expected Block Entry or Block End."
1959 setError("Could not find closing ]!", T);
1966 setError("Expected , between entries!", T);
2014 void Document::setError(const Twine &Message, Token &Location) const {
2015 stream.scanner->setError(Message, Location.Range.begin());
2033 setError("Already encountered an anchor for this node!", T);
2124 setError("Unexpected token", T);