|
FE 0.15.0
A C++23 toolkit for writing compiler/interpreter frontends.
|
#include <fe/parser.h>
Public Member Functions | |
| Tracker (Pos start, Loc &curr) | |
| Loc | loc () const |
If nothing was consumed since this Tracker started (a total parse failure for whatever it was tracking), curr_'s end still precedes start_; yield a zero-width Loc at start_ instead of a backwards one. | |
| Loc | operator() () const |
| operator Loc () const | |
|
inline |
|
inline |
If nothing was consumed since this Tracker started (a total parse failure for whatever it was tracking), curr_'s end still precedes start_; yield a zero-width Loc at start_ instead of a backwards one.
Definition at line 85 of file parser.h.
Referenced by operator Loc(), and operator()().
|
inline |
|
inline |