Lines Matching defs:Start
189 /// which could legally be the start of a simple key. When peekNext is called,
446 /// @brief Skip whitespace and comments until the start of the next token.
461 /// @brief Scan a [ or { and generate the proper flow collection start token.
545 /// @brief Are we at the start of the stream?
548 /// @brief Can the next token be the start of a simple key?
608 OS << "Stream-Start: ";
620 OS << "Document-Start: ";
632 OS << "Block-Sequence-Start: ";
635 OS << "Block-Mapping-Start: ";
641 OS << "Flow-Sequence-Start: ";
647 OS << "Flow-Mapping-Start: ";
922 StringRef::iterator Start = Current;
938 return StringRef(Start, Current - Start);
1073 // New lines may start a simple key.
1116 StringRef::iterator Start = Current;
1127 T.Range = StringRef(Start, Current - Start);
1135 T.Range = StringRef(Start, Current - Start);
1240 // We may also need to add a Block-Mapping-Start token.
1278 StringRef::iterator Start = Current;
1289 && wasEscaped(Start + 1, Current));
1324 T.Range = StringRef(Start, Current - Start);
1335 StringRef::iterator Start = Current;
1395 if (Start == Current) {
1396 setError("Got empty plain scalar", Start);
1401 T.Range = StringRef(Start, Current - Start);
1413 StringRef::iterator Start = Current;
1429 if (Start == Current) {
1430 setError("Got empty alias or anchor", Start);
1436 T.Range = StringRef(Start, Current - Start);
1481 auto Start = Current;
1494 T.Range = StringRef(Start, Current - Start);
1597 auto Start = Current;
1637 // New lines may start a simple key.
1643 T.Range = StringRef(Start, Current - Start);
1650 StringRef::iterator Start = Current;
1666 T.Range = StringRef(Start, Current - Start);
1780 scanner->printError( N->getSourceRange().Start
1790 // Skip Stream-Start.
1809 SMLoc Start = SMLoc::getFromPointer(peekNext().Range.begin());
1810 SourceRange = SMRange(Start, Start);