Nix
2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Toggle main menu visibility
Loading...
Searching...
No Matches
attr-path.hh
Go to the documentation of this file.
1
#pragma once
3
4
#include "
nix/expr/eval.hh
"
5
6
#include <string>
7
#include <map>
8
9
namespace
nix {
10
11
MakeError(AttrPathNotFound,
Error
);
12
MakeError(NoPositionInfo,
Error
);
13
14
std::pair<Value *, PosIdx>
15
findAlongAttrPath(
EvalState
& state,
const
std::string & attrPath,
const
Bindings
& autoArgs,
Value
& vIn);
16
20
std::pair<SourcePath, uint32_t> findPackageFilename(
EvalState
& state,
Value
& v, std::string what);
21
22
struct
AttrPath
: std::vector<Symbol>
23
{
24
using
std::vector<
Symbol
>::vector;
25
26
static
AttrPath
parse(
EvalState
& state, std::string_view s);
27
28
std::string to_string(
EvalState
& state)
const
;
29
30
std::vector<SymbolStr> resolve(
EvalState
& state)
const
;
31
};
32
33
}
// namespace nix
nix::Bindings
Definition
attr-set.hh:67
nix::Error
Definition
error.hh:310
nix::EvalState
Definition
eval.hh:420
nix::Symbol
Definition
symbol-table.hh:24
eval.hh
nix::AttrPath
Definition
attr-path.hh:23
nix::Value
Definition
value.hh:1166
libexpr
include
nix
expr
attr-path.hh
Generated by
1.18.0