Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::inspect::SourceJumpResult Struct Reference

Outcome of a source-jump resolution. More...

#include <source_jump.hpp>

Public Attributes

bool ok = false
std::string url
 Formatted editor URL (empty on failure).
std::string path
 Resolved source file path.
int line = 0
 Resolved 1-based line (0 = unknown).
int col = 0
 Resolved 1-based column (0 = unknown).
bool launched = false
 True if the URL was handed to the OS.
std::string error
 Human-readable failure reason (empty on ok).

Detailed Description

Outcome of a source-jump resolution.

ok is true only when the view carried a usable source location AND the editor URL formatted cleanly. On failure, error explains why (no view, no provenance, bad template) and url is empty.

Member Data Documentation

◆ col

int pulp::inspect::SourceJumpResult::col = 0

Resolved 1-based column (0 = unknown).

◆ error

std::string pulp::inspect::SourceJumpResult::error

Human-readable failure reason (empty on ok).

◆ launched

bool pulp::inspect::SourceJumpResult::launched = false

True if the URL was handed to the OS.

◆ line

int pulp::inspect::SourceJumpResult::line = 0

Resolved 1-based line (0 = unknown).

◆ ok

bool pulp::inspect::SourceJumpResult::ok = false

◆ path

std::string pulp::inspect::SourceJumpResult::path

Resolved source file path.

◆ url

std::string pulp::inspect::SourceJumpResult::url

Formatted editor URL (empty on failure).


The documentation for this struct was generated from the following file: