Lines Matching defs:PathParser
54 struct PathParser { struct
55 enum ParserState : unsigned char {
65 const string_view_t Path;
66 string_view_t RawEntry;
67 ParserState State;
70 PathParser(string_view_t P, ParserState State) noexcept : Path(P), in PathParser() argument
74 PathParser(string_view_t P, string_view_t E, unsigned char S) in PathParser() argument
79 static PathParser CreateBegin(string_view_t P) noexcept { in CreateBegin()
85 static PathParser CreateEnd(string_view_t P) noexcept { in CreateEnd()
90 PosPtr peek() const noexcept { in peek()
96 void increment() noexcept { in increment()
132 void decrement() noexcept { in decrement()
170 string_view_t operator*() const noexcept { in operator *()
186 explicit operator bool() const noexcept { in operator bool()
190 PathParser& operator++() noexcept { in operator ++()
195 PathParser& operator--() noexcept { in operator --()
200 bool atEnd() const noexcept { in atEnd()
204 bool inRootDir() const noexcept { in inRootDir()
208 bool inRootName() const noexcept { in inRootName()
212 bool inRootPath() const noexcept { in inRootPath()
217 void makeState(ParserState NewState, PosPtr Start, PosPtr End) noexcept { in makeState()
221 void makeState(ParserState NewState) noexcept { in makeState()
226 PosPtr getAfterBack() const noexcept { return Path.data() + Path.size(); } in getAfterBack()
228 PosPtr getBeforeFront() const noexcept { return Path.data() - 1; } in getBeforeFront()
232 PosPtr getNextTokenStartPos() const noexcept { in getNextTokenStartPos()
249 PosPtr getCurrentTokenStartPos() const noexcept { in getCurrentTokenStartPos()
264 PosPtr consumeSeparator(PosPtr P, PosPtr End) const noexcept { in consumeSeparator()
274 PosPtr consumeName(PosPtr P, PosPtr End) const noexcept { in consumeName()