Indentation-aware token scanning mode. More...
#include <tokenScan.hpp>
Public Member Functions | |
| nint | onScan (parser &ps, YYSTYPE *yylval, YYLTYPE *loc, yyscan_t yyscanner, nbool &isBypass) override |
| Pure virtual method for concrete token scanning implementations. | |
Public Member Functions inherited from by::tokenScan | |
| nint | onScan (parser &ps, YYSTYPE *val, YYLTYPE *loc, yyscan_t scanner) |
| Default entry point for token scanning. | |
| virtual nint | onScan (parser &ps, YYSTYPE *yylval, YYLTYPE *loc, yyscan_t yyscanner, nbool &isBypass)=0 |
| Pure virtual method for concrete token scanning implementations. | |
Public Member Functions inherited from by::tokenScanable | |
| nint | onScan (parser &ps, YYSTYPE *val, YYLTYPE *loc, yyscan_t scanner) |
| Default entry point for token scanning. | |
Static Public Attributes | |
| static indentScan | instance |
Indentation-aware token scanning mode.
Specialized scanning that handles Python-like indentation. Generates indent and dedent tokens based on whitespace changes.
|
overridevirtual |
Pure virtual method for concrete token scanning implementations.
| ps | The parser instance. |
| yylval | The YYSTYPE value pointer for the token. |
| loc | The YYLTYPE location pointer for the token. |
| yyscanner | The Flex scanner instance. |
| isBypass | Flag indicating if indentation bypass is active. |
Reimplemented from by::tokenScan.