ScummVM API documentation
SQLexer Struct Reference

Public Member Functions

void Init (SQSharedState *ss, SQLEXREADFUNC rg, SQUserPointer up, CompilerErrorFunc efunc, void *ed)
 
void Error (const SQChar *err)
 
SQInteger Lex ()
 
const SQChar * Tok2Str (SQInteger tok)
 

Public Attributes

SQInteger _prevtoken = 0
 
SQInteger _currentline = 0
 
SQInteger _lasttokenline = 0
 
SQInteger _currentcolumn = 0
 
const SQChar * _svalue = nullptr
 
SQInteger _nvalue = 0
 
SQFloat _fvalue = 0.f
 
SQLEXREADFUNC _readf = nullptr
 
SQUserPointer _up = nullptr
 
LexChar _currdata = 0
 
SQSharedState_sharedstate = nullptr
 
sqvector< SQChar > _longstr
 
CompilerErrorFunc _errfunc = nullptr
 
void * _errtarget = nullptr
 

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