mirror of
https://github.com/NixOS/nix
synced 2025-06-25 02:21:16 +02:00
`///@file` makes them show up in the internal API dos. A tiny few were missing `#pragma once`.
31 lines
602 B
C++
31 lines
602 B
C++
#pragma once
|
|
///@file
|
|
|
|
#include <rapidcheck/gen/Arbitrary.h>
|
|
|
|
#include <value/context.hh>
|
|
|
|
namespace rc {
|
|
using namespace nix;
|
|
|
|
template<>
|
|
struct Arbitrary<NixStringContextElem::Opaque> {
|
|
static Gen<NixStringContextElem::Opaque> arbitrary();
|
|
};
|
|
|
|
template<>
|
|
struct Arbitrary<NixStringContextElem::Built> {
|
|
static Gen<NixStringContextElem::Built> arbitrary();
|
|
};
|
|
|
|
template<>
|
|
struct Arbitrary<NixStringContextElem::DrvDeep> {
|
|
static Gen<NixStringContextElem::DrvDeep> arbitrary();
|
|
};
|
|
|
|
template<>
|
|
struct Arbitrary<NixStringContextElem> {
|
|
static Gen<NixStringContextElem> arbitrary();
|
|
};
|
|
|
|
}
|