69 const std::string&
errString()
const {
return errString_; }
86 std::string errString_{};
91AST_SCRIPT_API Interpreter* aNewInterpreter();
96AST_SCRIPT_API Interpreter* aNewInterpreter(ISymbolScope* symbolScope);
101AST_SCRIPT_API
void aDelInterpreter(Interpreter* interpreter);
解释器上下文守卫
定义 Interpreter.hpp:106
void clearErrString()
清除错误字符串
定义 Interpreter.hpp:82
std::unique_ptr< ISymbolScope > symbolScope_
当前作用域
定义 Interpreter.hpp:85
void setErrString(StringView err)
设置错误字符串
定义 Interpreter.hpp:76
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