Dynamic Generalized Parser
Public Member Functions | Public Attributes | List of all members
DynGenPar::TextByteLexerStateData Class Reference

You should not have to use this class directly, ever. More...

Inheritance diagram for DynGenPar::TextByteLexerStateData:
Inheritance graph

Public Member Functions

 TextByteLexerStateData (qint64 streamPosition, TextPosition textPosition)
virtual AbstractLexerStateDataclone ()
- Public Member Functions inherited from DynGenPar::AbstractLexerStateData
virtual ~AbstractLexerStateData ()

Public Attributes

qint64 streamPos
TextPosition textPos

Detailed Description

You should not have to use this class directly, ever.

TextByteTokenSource needs lexer states to store the true position, since our token positions don't count the stripped CRs.

This also stores the text position, use TextByteTokenSource::textPosition to retrieve it.

Definition at line 116 of file bytetokensource.h.

Constructor & Destructor Documentation

◆ TextByteLexerStateData()

DynGenPar::TextByteLexerStateData::TextByteLexerStateData ( qint64  streamPosition,
TextPosition  textPosition 

Definition at line 118 of file bytetokensource.h.

Member Function Documentation

◆ clone()

virtual AbstractLexerStateData* DynGenPar::TextByteLexerStateData::clone ( )

Implements DynGenPar::AbstractLexerStateData.

Definition at line 121 of file bytetokensource.h.

Member Data Documentation

◆ streamPos

qint64 DynGenPar::TextByteLexerStateData::streamPos

Definition at line 124 of file bytetokensource.h.

◆ textPos

TextPosition DynGenPar::TextByteLexerStateData::textPos

Definition at line 125 of file bytetokensource.h.

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