Loading...
Searching...
No Matches
by::normalScan Class Reference

Normal token scanning mode. More...

#include <tokenScan.hpp>

Inheritance diagram for by::normalScan:
by::tokenScan by::tokenScanable

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 normalScan instance
 

Detailed Description

Normal token scanning mode.

Standard token scanning without special indentation handling. Used for regular parsing contexts.

Member Function Documentation

◆ onScan()

nint by::normalScan::onScan ( parser & ps,
YYSTYPE * yylval,
YYLTYPE * loc,
yyscan_t yyscanner,
nbool & isBypass )
overridevirtual

Pure virtual method for concrete token scanning implementations.

Parameters
psThe parser instance.
yylvalThe YYSTYPE value pointer for the token.
locThe YYLTYPE location pointer for the token.
yyscannerThe Flex scanner instance.
isBypassFlag indicating if indentation bypass is active.
Returns
The token ID.

Reimplemented from by::tokenScan.


The documentation for this class was generated from the following files:
to Top