![]() |
Plasma Engine
2.0
|
Represents one piece of tokenized text in a document. More...
#include <Tokenizer.h>
Public Attributes | |
plInt32 | m_iType |
Typically of type plTokenType, but users can put anything in there, that they like. | |
plUInt32 | m_uiLine |
The line in which the token appeared. | |
plUInt32 | m_uiColumn |
The column in the line, at which the token string started. | |
plStringView | m_DataView |
plUInt32 | m_uiCustomFlags |
For users to be able to store additional info for a token. | |
plHashedString | m_File |
The file in which the token appeared. | |
Represents one piece of tokenized text in a document.
plStringView plToken::m_DataView |
The actual string data that represents the token. Note that this is a view to a substring of some larger text data. To get only the relevant piece as one zero-terminated string, assign m_DataView to an plStringBuilder and read that instead.