69 const std::string&
errString()
const {
return errString_; }
解释器上下文守卫
定义 Interpreter.hpp:106
void clearErrString()
清除错误字符串
定义 Interpreter.hpp:82
std::unique_ptr< ISymbolScope > symbolScope_
当前作用域
定义 Interpreter.hpp:85
void setErrString(StringView err)
设置错误字符串
定义 Interpreter.hpp:76
std::string errString_
错误字符串
定义 Interpreter.hpp:86
ISymbolScope * currentScope()
获取当前作用域
定义 Interpreter.hpp:55
const std::string & errString() const
获取错误字符串
定义 Interpreter.hpp:69
Interpreter * aScript_SwapInterpreter(Interpreter *interpreter)
交换解释器指针
定义 ScriptContext.cpp:80
void aScript_SetInterpreter(Interpreter *interpreter)
设置解释器指针
定义 ScriptContext.cpp:90
Interpreter * aNewInterpreter()
创建新的解释器,用于解释执行脚本中的代码。
定义 Interpreter.cpp:50
void aDelInterpreter(Interpreter *interpreter)
删除解释器,释放其占用的资源。
定义 Interpreter.cpp:61