Phasor 3.1.1
Stack VM based Programming Language
Loading...
Searching...
No Matches
std::formatter< Phasor::Value > Struct Reference

#include <Value.hpp>

Public Types

enum class  Style {
  Value , TypeOnly , TypeValue , Debug ,
  Quoted
}

Public Member Functions

constexpr auto parse (std::format_parse_context &ctx)
template<typename FormatContext>
auto format (const Phasor::Value &v, FormatContext &ctx) const

Public Attributes

Style style = Style::Value
std::string_view passthrough

Static Private Member Functions

static std::string debug_repr (const Phasor::Value &v)
static std::string escape (const std::string &s)

Detailed Description

Definition at line 515 of file Value.hpp.

Member Enumeration Documentation

◆ Style

enum class std::formatter< Phasor::Value >::Style
strong
Enumerator
Value 
TypeOnly 
TypeValue 
Debug 
Quoted 

Definition at line 517 of file Value.hpp.

Member Function Documentation

◆ debug_repr()

std::string std::formatter< Phasor::Value >::debug_repr ( const Phasor::Value & v)
inlinestaticprivate

Definition at line 597 of file Value.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ escape()

std::string std::formatter< Phasor::Value >::escape ( const std::string & s)
inlinestaticprivate

Definition at line 632 of file Value.hpp.

◆ format()

template<typename FormatContext>
auto std::formatter< Phasor::Value >::format ( const Phasor::Value & v,
FormatContext & ctx ) const
inline

Definition at line 549 of file Value.hpp.

Here is the call graph for this function:

◆ parse()

auto std::formatter< Phasor::Value >::parse ( std::format_parse_context & ctx)
inlineconstexpr

Definition at line 521 of file Value.hpp.

Member Data Documentation

◆ passthrough

std::string_view std::formatter< Phasor::Value >::passthrough

Definition at line 519 of file Value.hpp.

◆ style

Style std::formatter< Phasor::Value >::style = Style::Value

Definition at line 518 of file Value.hpp.


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