Indentation-aware token scanning mode. More...
#include <stelaTokenScan.hpp>
Public Member Functions | |
| nint | onScan (stelaParser &ps, ZZSTYPE *yylval, ZZLTYPE *loc, zzscan_t yyscanner, nbool &isBypass) override |
| Pure virtual method for concrete token scanning implementations. | |
Public Member Functions inherited from by::stelaTokenScan | |
| nint | onScan (stelaParser &ps, ZZSTYPE *val, ZZLTYPE *loc, zzscan_t scanner) |
| Default entry point for token scanning. | |
| virtual nint | onScan (stelaParser &ps, ZZSTYPE *yylval, ZZLTYPE *loc, zzscan_t yyscanner, nbool &isBypass)=0 |
| Pure virtual method for concrete token scanning implementations. | |
Public Member Functions inherited from by::stelaTokenScanable | |
| nint | onScan (stelaParser &ps, ZZSTYPE *val, ZZLTYPE *loc, zzscan_t scanner) |
| Default entry point for token scanning. | |
Static Public Attributes | |
| static stelaIndentScan | instance |
Indentation-aware token scanning mode.
Specialized token 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 stelaParser 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::stelaTokenScan.