Lines Matching defs:PathParser
80 struct PathParser { struct
81 enum ParserState : unsigned char {
91 const string_view_t Path;
92 string_view_t RawEntry;
93 ParserState State;
96 PathParser(string_view_t P, ParserState State) noexcept : Path(P), in PathParser() function
100 PathParser(string_view_t P, string_view_t E, unsigned char S) in PathParser() function
105 static PathParser CreateBegin(string_view_t P) noexcept { in CreateBegin()
111 static PathParser CreateEnd(string_view_t P) noexcept { in CreateEnd()
116 PosPtr peek() const noexcept { in peek()
122 void increment() noexcept { in increment()
163 void decrement() noexcept { in decrement()
213 string_view_t operator*() const noexcept { in operator *()
232 explicit operator bool() const noexcept { in operator bool()
236 PathParser& operator++() noexcept { in operator ++()
241 PathParser& operator--() noexcept { in operator --()
246 bool atEnd() const noexcept { in atEnd()
250 bool inRootDir() const noexcept { in inRootDir()
254 bool inRootName() const noexcept { in inRootName()
258 bool inRootPath() const noexcept { in inRootPath()
263 void makeState(ParserState NewState, PosPtr Start, PosPtr End) noexcept { in makeState()
267 void makeState(ParserState NewState) noexcept { in makeState()
272 PosPtr getAfterBack() const noexcept { return Path.data() + Path.size(); } in getAfterBack()
274 PosPtr getBeforeFront() const noexcept { return Path.data() - 1; } in getBeforeFront()
278 PosPtr getNextTokenStartPos() const noexcept { in getNextTokenStartPos()
295 PosPtr getCurrentTokenStartPos() const noexcept { in getCurrentTokenStartPos()
311 PosPtr consumeAllSeparators(PosPtr P, PosPtr End) const noexcept { in consumeAllSeparators()
322 PosPtr consumeNSeparators(PosPtr P, PosPtr End, int N) const noexcept { in consumeNSeparators()
336 PosPtr consumeName(PosPtr P, PosPtr End) const noexcept { in consumeName()
355 PosPtr consumeDriveLetter(PosPtr P, PosPtr End) const noexcept { in consumeDriveLetter()
369 PosPtr consumeNetworkRoot(PosPtr P, PosPtr End) const noexcept { in consumeNetworkRoot()
378 PosPtr consumeRootName(PosPtr P, PosPtr End) const noexcept { in consumeRootName()