class
VisualScriptTextView
- Module
- VisualScripting
- Header
#include "VisualScripting/VisualScriptTextView.h"- Namespace
Mowo
Public functions
| Returns | Name | Description |
|---|---|---|
VisualScriptTextDocument | Build | Build the listing for a class. |
std::string | GraphKey | "event:BeginPlay" / "function:Double" / "macro:X" for a graph owned by cls or any of its Visual Script parents; empty when the graph is unknown. |
int32_t | LineForNode | Line (1-based) that lists node of graphKey, or -1. |
bool | NodeForLine | Resolve a line to a node. |
std::string | KindName | Human name of a node kind ("CallFunction", "Branch", ...). |
std::string | DescribeNode | The listed form of one node, without the leading indent. |
Function details
Build
C++
static VisualScriptTextDocument Build(const VisualScriptClass& cls)Build the listing for a class. Graphs are emitted in declaration order: events, then functions, then macros.
GraphKey
C++
static std::string GraphKey(const VisualScriptClass* cls, const VisualScriptGraph* graph)"event:BeginPlay" / "function:Double" / "macro:X" for a graph owned by cls or any of its Visual Script parents; empty when the graph is unknown.
LineForNode
C++
static int32_t LineForNode(const VisualScriptTextDocument& doc, const std::string& graphKey, int32_t node)Line (1-based) that lists node of graphKey, or -1.
NodeForLine
C++
static bool NodeForLine(const VisualScriptTextDocument& doc, int32_t line, std::string& outGraphKey, int32_t& outNode, int32_t& outLine)Resolve a line to a node. A line that lists no node (header, blank, "end") snaps FORWARD to the next node line in the document — the behaviour an IDE expects when a breakpoint lands between statements. Returns false when nothing follows.
KindName
C++
static std::string KindName(const VisualScriptNode& node)Human name of a node kind ("CallFunction", "Branch", ...).
DescribeNode
C++
static std::string DescribeNode(const VisualScriptNode& node, int32_t index)The listed form of one node, without the leading indent.
Generated from VisualScripting/VisualScriptTextView.h via visualscripting.json · Nov 5, 2026Version 1.0.0