by::tokenScan Class Reference

Base class for token scanning strategies. More...

#include <tokenScan.hpp>

Inheritance diagram for by::tokenScan:
by::tokenScanable by::typeProvidable by::clonable by::indentScan by::normalScan

Public Member Functions

virtual nint onScan (parser &ps, YYSTYPE *yylval, YYLTYPE *loc, yyscan_t yyscanner, nbool &isBypass) override
 
nint onScan (parser &ps, YYSTYPE *val, YYLTYPE *loc, yyscan_t scanner)
 
virtual nint onScan (parser &ps, YYSTYPE *yylval, YYLTYPE *loc, yyscan_t yyscanner, nbool &isBypass)=0
 
- Public Member Functions inherited from by::tokenScanable
nint onScan (parser &ps, YYSTYPE *val, YYLTYPE *loc, yyscan_t scanner)
 
- Public Member Functions inherited from by::typeProvidable
nbool operator== (const me &rhs) const
 
nbool operator!= (const me &rhs) const
 
virtual const typegetType () const =0
 
nbool isSub (const type &it) const
 
nbool isSub (const type *it) const BY_SIDE_FUNC(isSub)
 
nbool isSub (const me &it) const
 
nbool isSub (const me *it) const BY_SIDE_FUNC(isSub)
 
nbool isSuper (const type &it) const
 
nbool isSuper (const type *it) const BY_SIDE_FUNC(isSuper)
 
nbool isSuper (const me &it) const
 
nbool isSuper (const me *it) const BY_SIDE_FUNC(isSuper)
 
template<typename T >
nint isSub () const
 
template<typename T >
nint isSuper () const
 
template<typename T >
T * cast ()
 
template<typename T >
const T * cast () const BY_CONST_FUNC(cast< T >()) virtual void *cast(const type &to)
 
const void * cast (const type &to) const BY_CONST_FUNC(cast(to)) void *cast(const type *it) BY_SIDE_FUNC(cast)
 
- Public Member Functions inherited from by::clonable
virtual me * clone () const =0
 
virtual me * cloneDeep () const
 
virtual void onCloneDeep (const me &from)
 

Detailed Description

Base class for token scanning strategies.

Abstract base class for different token scanning modes in the parser. Handles token processing and provides foundation for specialized scanning.

Member Function Documentation

◆ onScan() [1/2]

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

Implements by::tokenScanable.

◆ onScan() [2/2]

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

Implements by::tokenScanable.


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