class
GUIStyleSheetToken
Token generated by scanning style sheet code through GUIStyleSheetLexer.
Public
Constructors
GUIStyleSheetToken
GUIStyleSheetToken() noexcept = default
GUIStyleSheetToken
GUIStyleSheetToken
GUIStyleSheetToken(const SourceCodePosition &sourceCodePosition, GUIStyleSheetTokenTypes type, const String &spelling)
GUIStyleSheetToken
GUIStyleSheetToken(const SourceCodePosition &sourceCodePosition, GUIStyleSheetTokenTypes type, String &&spelling)
GUIStyleSheetToken
GUIStyleSheetToken(const GUIStyleSheetToken &other)
GUIStyleSheetToken
GUIStyleSheetToken(GUIStyleSheetToken &&other)
Methods
staticTypeToString
static String TypeToString(GUIStyleSheetTokenTypes type)
Returns a descriptive string for the specified token type.
SpellContent
String SpellContent() const
Returns the token spelling of the content (e.g. only the content of a string literal within the quotes).
GetSourceCodePosition
Returns the token source position.
GetSpelling
const String &GetSpelling() const
Returns the token spelling.
Operators
operator=
GUIStyleSheetToken &operator=(GUIStyleSheetToken &&other)
operator=
Private
Fields
mType
GUIStyleSheetTokenTypes mType
mPosition
SourceCodePosition mPosition
mSpelling
String mSpelling