Struct Anchor¶
Defined in File Anchor.hpp
Struct Documentation¶
-
struct
sgpl::local::Anchor¶ Marks a program location local jump instructions may route to.
Local jump instructions enable conditionals and looping within modules. This program location is tagged with the instruction’s tag.
As described in
dish2::global::Anchor’s docstring, this operation also plays a role in determining whether global anchor instructions close a module.Public Static Functions
-
template<typename
Spec>
voidrun(sgpl::Core<Spec>&, const sgpl::Instruction<Spec>&, const sgpl::Program<Spec>&, typename Spec::peripheral_t&) noexcept¶
-
std::string
name()¶
-
size_t
prevalence()¶
-
template<typename
Spec>
autodescriptors(const sgpl::Instruction<Spec> &inst)¶
-
template<typename
Spec>
std::set<std::string>categories(const sgpl::Instruction<Spec>&)¶
-
template<typename