Lines Matching refs:setError
266 void setError(const Twine &Message, StringRef::iterator Position) { in setError() function in llvm::yaml::Scanner
1022 setError("Cannot consume non-ascii characters", Current); in consume()
1028 setError("Cannot consume non-ascii characters", Current); in consume()
1088 setError( "Could not find expected : for simple key" in removeStaleSimpleKeyCandidates()
1410 setError("Expected quote at end of scalar", Current); in scanFlowScalar()
1441 setError("Found unexpected ':' while scanning a plain scalar", Current); in scanPlainScalar()
1469 setError("Found invalid tab character in indentation", Tmp); in scanPlainScalar()
1490 setError("Got empty plain scalar", Start); in scanPlainScalar()
1524 setError("Got empty alias or anchor", Start); in scanAliasOrAnchor()
1614 setError("Expected a line break after block scalar header", Current); in scanBlockScalarHeader()
1637 setError( in findBlockScalarIndent()
1691 setError("A text line is less indented than the block scalar", Current); in scanBlockScalarIndent()
1894 setError("Unrecognized character while tokenizing.", Current); in fetchMoreTokens()
1968 setError(Twine("Unknown tag handle ") + TagHandle, T); in getVerbatimTag()
2007 void Node::setError(const Twine &Msg, Token &Tok) const { in setError() function in Node
2008 Doc->setError(Msg, Tok); in setError()
2078 setError("Unrecognized escape code", T); in unescapeDoubleQuoted()
2086 setError("Unrecognized escape code", T); in unescapeDoubleQuoted()
2226 setError("Null key in Key Value.", peekNext()); in getValue()
2245 setError("Unexpected token in Key Value.", t); in getValue()
2287 setError("Unexpected token. Expected Key or Block End", T); in increment()
2308 setError( "Unexpected token. Expected Key, Flow Entry, or Flow " in increment()
2342 setError( "Unexpected token. Expected Block Entry or Block End." in increment()
2382 setError("Could not find closing ]!", T); in increment()
2389 setError("Expected , between entries!", T); in increment()
2441 void Document::setError(const Twine &Message, Token &Location) const { in setError() function in Document
2442 stream.scanner->setError(Message, Location.Range.begin()); in setError()
2461 setError("Already encountered an anchor for this node!", T); in parseBlockNode()
2469 setError("Already encountered a tag for this node!", T); in parseBlockNode()
2551 setError("Unexpected token", T); in parseBlockNode()
2595 setError("Unexpected token", T); in expectToken()