Lines Matching refs:position
35 bool skipExactly(const CharType*& position, const CharType* end, CharType delimiter)
37 if (position < end && *position == delimiter) {
38 ++position;
45 bool skipExactly(const CharType*& position, const CharType* end)
47 if (position < end && characterPredicate(*position)) {
48 ++position;
55 void skipUntil(const CharType*& position, const CharType* end, CharType delimiter)
57 while (position < end && *position != delimiter)
58 ++position;
62 void skipUntil(const CharType*& position, const CharType* end)
64 while (position < end && !characterPredicate(*position))
65 ++position;
69 void skipWhile(const CharType*& position, const CharType* end)
71 while (position < end && characterPredicate(*position))
72 ++position;
76 void reverseSkipWhile(const CharType*& position, const CharType* start)
78 while (position >= start && characterPredicate(*position))
79 --position;