61 size_t m_SourceLength;
64 con_set<const uchar *, sourceinfo_t> *m_ProgToSource;
67 size_t cachedInfoIndex;
73 const_str ConstFilename(
void);
74 bool GetSourceAt(
size_t sourcePos, str *sourceLine,
int& column,
int& line);
75 bool GetSourceAt(
const unsigned char *sourcePos, str *sourceLine,
int& column,
int& line);
77 void PrintSourcePos(
size_t sourcePos,
bool dev);
78 void PrintSourcePos(
unsigned char *m_pCodePos,
bool dev);
79 void PrintSourcePos(str sourceLine,
int column,
int line,
bool dev);
164class ScriptThreadLabel
174 void Execute(Listener *listener = NULL)
const;
175 void Execute(Listener *listener, Event& ev)
const;
176 void Execute(Listener *listener, Event *ev)
const;
177 void Execute(Listener *pSelf,
const SafePtr<Listener>& listener,
const SafePtr<Listener>& param)
const;
180 void Set(
const char *label);
181 void Set(const_str label);
183 void SetScript(
const char *label);
184 void SetScript(const_str label);
187 bool TrySet(const_str label);
188 bool TrySet(
const char *label);
189 bool TrySetScript(const_str label);
190 bool TrySetScript(
const char *label);
192 bool IsSet(
void)
const;
193 bool IsFile(const_str filename)
const;
199 friend bool operator==(
const ScriptThreadLabel& a,
const ScriptThreadLabel& b);