LLZK 3.0.0
An open-source IR for Zero Knowledge (ZK) circuits
Loading...
Searching...
No Matches
llzk::detail::NestedTextualOptions Struct Reference

Shared storage and helpers for nested textual pass and pipeline options. More...

#include <Parsers.h>

Inheritance diagram for llzk::detail::NestedTextualOptions:
[legend]

Public Member Functions

template<typename ValueT, typename CreateFnT, typename InitializeFnT>
std::unique_ptr< ValueT > createValidatedValue (CreateFnT &&createValue, llvm::StringRef kind, InitializeFnT &&initializeValue) const
 Recreate a nested value from the stored option string and re-validate it.

Public Attributes

std::string str
 The validated textual form without the outer {...} delimiters.

Detailed Description

Shared storage and helpers for nested textual pass and pipeline options.

Definition at line 32 of file Parsers.h.

Member Function Documentation

◆ createValidatedValue()

template<typename ValueT, typename CreateFnT, typename InitializeFnT>
std::unique_ptr< ValueT > llzk::detail::NestedTextualOptions::createValidatedValue ( CreateFnT && createValue,
llvm::StringRef kind,
InitializeFnT && initializeValue ) const
inline

Recreate a nested value from the stored option string and re-validate it.

The CLI parser validates str before storing it, but callers still need a fresh initialized pass or pipeline options object when materializing the nested configuration later.

Definition at line 42 of file Parsers.h.

Member Data Documentation

◆ str

std::string llzk::detail::NestedTextualOptions::str

The validated textual form without the outer {...} delimiters.

Definition at line 34 of file Parsers.h.


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