载入中...
搜索中...
未找到
eve::script::ScriptFrame结构体 参考

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 第 34 行定义.

类成员变量说明

◆ function

std::string eve::script::ScriptFrame::function

Function name, when Squirrel debug info knows it.

在文件 ScriptError.h 第 36 行定义.

◆ line

int eve::script::ScriptFrame::line = -1

1-based source line; -1 when unknown.

在文件 ScriptError.h 第 37 行定义.

◆ source

std::string eve::script::ScriptFrame::source

Source name of the frame ("main.nut", "buffer", ...).

在文件 ScriptError.h 第 35 行定义.

被这些函数引用 eve::script::captureScriptError().


该结构体的文档由以下文件生成: