로딩중...
검색중...
일치하는것 없음
by::tokenScanable 클래스 참조abstract

Interface for token scanning functionality 더 자세히 ...

#include <tokenScanable.hpp>

by::tokenScanable에 대한 상속 다이어그램 :
by::parser by::tokenScan by::indentScan by::normalScan

Public 멤버 함수

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.
 

상세한 설명

Interface for token scanning functionality

Defines the contract for token scanning implementations. Provides hooks for custom token processing during parsing.

멤버 함수 문서화

◆ onScan() [1/2]

nint by::tokenScanable::onScan ( parser & ps,
YYSTYPE * val,
YYLTYPE * loc,
yyscan_t scanner )

Default entry point for token scanning.

This non-virtual method acts as a wrapper that internally dispatches to the pure virtual onScan method, which must be implemented by concrete scanner strategies.

매개변수
psThe parser instance.
valThe YYSTYPE value pointer for the token.
locThe YYLTYPE location pointer for the token.
scannerThe Flex scanner instance.
반환값
The token ID.

◆ onScan() [2/2]

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

Pure virtual method for concrete token scanning implementations.

매개변수
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.
반환값
The token ID.

by::parser, by::tokenScan, by::normalScan, by::indentScan, by::tokenScan, by::parser에서 구현되었습니다.


이 클래스에 대한 문서화 페이지는 다음의 파일로부터 생성되었습니다.:
to Top