RPNXCortado
C++23 JVM class-file, bytecode, validation, and JAR toolkit
Loading...
Searching...
No Matches
rpnx::cortado::validation_location Struct Reference

A structured location within an owning class_file model. More...

#include <validation.hpp>

Public Attributes

validation_location_kind kind {validation_location_kind::class_file}
 Model area to which the remaining coordinates apply.
 
std::size_t primary_index {}
 Primary zero-based collection index for kind, or zero when unused.
 
std::size_t secondary_index {}
 Nested zero-based collection index, or zero when unused.
 
code_offset offset {}
 Code-array byte offset for instruction diagnostics, or zero when unused.
 

Detailed Description

A structured location within an owning class_file model.

Definition at line 26 of file validation.hpp.

Member Data Documentation

◆ kind

validation_location_kind rpnx::cortado::validation_location::kind {validation_location_kind::class_file}

Model area to which the remaining coordinates apply.

Definition at line 28 of file validation.hpp.

◆ offset

code_offset rpnx::cortado::validation_location::offset {}

Code-array byte offset for instruction diagnostics, or zero when unused.

Definition at line 31 of file validation.hpp.

◆ primary_index

std::size_t rpnx::cortado::validation_location::primary_index {}

Primary zero-based collection index for kind, or zero when unused.

Definition at line 29 of file validation.hpp.

◆ secondary_index

std::size_t rpnx::cortado::validation_location::secondary_index {}

Nested zero-based collection index, or zero when unused.

Definition at line 30 of file validation.hpp.


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