Lines Matching refs:setError
266 void setError(const Twine &Message, StringRef::iterator Position) { in setError() function in llvm::yaml::Scanner
1031 setError("Cannot consume non-ascii characters", Current); in consume()
1037 setError("Cannot consume non-ascii characters", Current); in consume()
1106 setError( "Could not find expected : for simple key" in removeStaleSimpleKeyCandidates()
1438 setError("Expected quote at end of scalar", Current); in scanFlowScalar()
1486 setError("Found invalid tab character in indentation", Tmp); in scanPlainScalar()
1507 setError("Got empty plain scalar", Start); in scanPlainScalar()
1542 setError("Got empty alias or anchor", Start); in scanAliasOrAnchor()
1633 setError("Expected a line break after block scalar header", Current); in scanBlockScalarHeader()
1656 setError( in findBlockScalarIndent()
1710 setError("A text line is less indented than the block scalar", Current); in scanBlockScalarIndent()
1911 setError("Unrecognized character while tokenizing.", Current); in fetchMoreTokens()
1985 setError(Twine("Unknown tag handle ") + TagHandle, T); in getVerbatimTag()
2024 void Node::setError(const Twine &Msg, Token &Tok) const { in setError() function in Node
2025 Doc->setError(Msg, Tok); in setError()
2121 setError("Unrecognized escape code", T); in getDoubleQuotedValue()
2130 setError("Unrecognized escape code", T); in getDoubleQuotedValue()
2290 setError("Null key in Key Value.", peekNext()); in getValue()
2309 setError("Unexpected token in Key Value.", t); in getValue()
2351 setError("Unexpected token. Expected Key or Block End", T); in increment()
2372 setError( "Unexpected token. Expected Key, Flow Entry, or Flow " in increment()
2406 setError( "Unexpected token. Expected Block Entry or Block End." in increment()
2446 setError("Could not find closing ]!", T); in increment()
2453 setError("Expected , between entries!", T); in increment()
2505 void Document::setError(const Twine &Message, Token &Location) const { in setError() function in Document
2506 stream.scanner->setError(Message, Location.Range.begin()); in setError()
2525 setError("Already encountered an anchor for this node!", T); in parseBlockNode()
2533 setError("Already encountered a tag for this node!", T); in parseBlockNode()
2615 setError("Unexpected token", T); in parseBlockNode()
2659 setError("Unexpected token", T); in expectToken()