Public Member Functions | Public Attributes

sp::tool::SToken Struct Reference

Script token structure. More...

#include <spUtilityTokenParser.hpp>

List of all members.

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.

Detailed Description

Script token structure.


Constructor & Destructor Documentation

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 (  ) 

Member Function Documentation

io::stringc sp::tool::SToken::getRowColumnString (  )  const
bool sp::tool::SToken::isName ( const io::stringc Name  )  const

Member Data Documentation

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.

See also:
ETokenTypes

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines