Script token structure. More...
#include <spUtilityTokenParser.hpp>
Public Member Functions | |
| SToken () | |
| SToken (const ETokenTypes TokenType, s32 TokenRow=0, s32 TokenColumn=0) | |
| SToken (const ETokenTypes TokenType, const io::stringc &TokenStr, s32 TokenRow=0, s32 TokenColumn=0) | |
| ~SToken () | |
| io::stringc | getRowColumnString () const |
| bool | isName (const io::stringc &Name) const |
Public Attributes | |
| ETokenTypes | Type |
| Token type. | |
| io::stringc | Str |
| Token string. This is only used when the token type is TOKEN_NAME or TOKEN_STRING. | |
| s32 | Row |
| Row (or rather line) in string. | |
| s32 | Column |
| Column in string. | |
Script token structure.
| sp::tool::SToken::SToken | ( | ) |
| sp::tool::SToken::SToken | ( | const ETokenTypes | TokenType, | |
| s32 | TokenRow = 0, |
|||
| s32 | TokenColumn = 0 | |||
| ) |
| sp::tool::SToken::SToken | ( | const ETokenTypes | TokenType, | |
| const io::stringc & | TokenStr, | |||
| s32 | TokenRow = 0, |
|||
| s32 | TokenColumn = 0 | |||
| ) |
| sp::tool::SToken::~SToken | ( | ) |
| io::stringc sp::tool::SToken::getRowColumnString | ( | ) | const |
| bool sp::tool::SToken::isName | ( | const io::stringc & | Name | ) | const |
Column in string.
Row (or rather line) in string.
Token string. This is only used when the token type is TOKEN_NAME or TOKEN_STRING.
Token type.
1.7.1