Struct SLexerStoreCallback#
Defined in File lexer.h
Inheritance Relationships#
Base Type#
public ILexerCallback
(Struct ILexerCallback)
Struct Documentation#
-
struct SLexerStoreCallback : public ILexerCallback#
Callback interface for the lexer storing the provided information.
Public Functions
-
inline void Clear()#
Clear the value of the callback structure.
-
inline virtual void InsertWhitespace(const CToken &rtoken) override#
Insert whitespace. Overload of ILexerCallback::InsertWhitespace.
- Parameters:
rtoken – [in] Reference to token containing the whitespace.
-
inline virtual void InsertComment(const CToken &rtoken) override#
Insert a comment. Overload of ILexerCallback::InsertComment.
- Parameters:
rtoken – [in] Reference to the token containing the comment.
-
inline virtual void ProcessPreprocDirective(CCodePos &rCode) override#
Process a preprocessor directive. Overload of ILexerCallback::ProcessPreprocDirective.
- Parameters:
rCode – [in] Reference to the source code to process the preproc directive for.
-
inline void Clear()#