Lines Matching defs:PathParser
77 struct PathParser { struct
78 enum ParserState : unsigned char {
88 const string_view_t Path;
89 string_view_t RawEntry;
90 ParserState State;
93 PathParser(string_view_t P, ParserState State) noexcept : Path(P), in PathParser() argument
97 PathParser(string_view_t P, string_view_t E, unsigned char S) in PathParser() argument
102 static PathParser CreateBegin(string_view_t P) noexcept { in CreateBegin()
108 static PathParser CreateEnd(string_view_t P) noexcept { in CreateEnd()
113 PosPtr peek() const noexcept { in peek()
119 void increment() noexcept { in increment()
160 void decrement() noexcept { in decrement()
210 string_view_t operator*() const noexcept { in operator *()
229 explicit operator bool() const noexcept { in operator bool()
233 PathParser& operator++() noexcept { in operator ++()
238 PathParser& operator--() noexcept { in operator --()
243 bool atEnd() const noexcept { in atEnd()
247 bool inRootDir() const noexcept { in inRootDir()
251 bool inRootName() const noexcept { in inRootName()
255 bool inRootPath() const noexcept { in inRootPath()
260 void makeState(ParserState NewState, PosPtr Start, PosPtr End) noexcept { in makeState()
264 void makeState(ParserState NewState) noexcept { in makeState()
269 PosPtr getAfterBack() const noexcept { return Path.data() + Path.size(); } in getAfterBack()
271 PosPtr getBeforeFront() const noexcept { return Path.data() - 1; } in getBeforeFront()
275 PosPtr getNextTokenStartPos() const noexcept { in getNextTokenStartPos()
292 PosPtr getCurrentTokenStartPos() const noexcept { in getCurrentTokenStartPos()
308 PosPtr consumeAllSeparators(PosPtr P, PosPtr End) const noexcept { in consumeAllSeparators()
319 PosPtr consumeNSeparators(PosPtr P, PosPtr End, int N) const noexcept { in consumeNSeparators()
333 PosPtr consumeName(PosPtr P, PosPtr End) const noexcept { in consumeName()
352 PosPtr consumeDriveLetter(PosPtr P, PosPtr End) const noexcept { in consumeDriveLetter()
366 PosPtr consumeNetworkRoot(PosPtr P, PosPtr End) const noexcept { in consumeNetworkRoot()
375 PosPtr consumeRootName(PosPtr P, PosPtr End) const noexcept { in consumeRootName()