载入中...
搜索中...
未找到
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.h13 行定义.

类成员变量说明

◆ function

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

Function name, when Squirrel debug info knows it.

在文件 ScriptError.h15 行定义.

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

◆ line

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

1-based source line; -1 when unknown.

在文件 ScriptError.h16 行定义.

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

◆ source

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

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

在文件 ScriptError.h14 行定义.

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


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