载入中...
搜索中...
未找到
One call-stack frame captured while the script error is still live. 更多...
#include <ScriptError.h>
Public 属性 | |
| std::string | source |
| Source name of the frame ("main.nut", "buffer", ...). | |
| std::string | function |
| Function name, when Squirrel debug info knows it. | |
| int | line = -1 |
| 1-based source line; -1 when unknown. | |
详细描述
One call-stack frame captured while the script error is still live.
在文件 ScriptError.h 第 13 行定义.
类成员变量说明
◆ function
| std::string eve::script::ScriptFrame::function |
Function name, when Squirrel debug info knows it.
在文件 ScriptError.h 第 15 行定义.
被这些函数引用 eve::script::captureScriptError().
◆ line
| int eve::script::ScriptFrame::line = -1 |
1-based source line; -1 when unknown.
在文件 ScriptError.h 第 16 行定义.
被这些函数引用 eve::script::captureScriptError().
◆ source
| std::string eve::script::ScriptFrame::source |
Source name of the frame ("main.nut", "buffer", ...).
在文件 ScriptError.h 第 14 行定义.
被这些函数引用 eve::script::captureScriptError().
该结构体的文档由以下文件生成:
- src/engine/common/ScriptError.h