forked from lix-project/lix
f4ab297b31
`///@file` makes them show up in the internal API dos. A tiny few were missing `#pragma once`.
25 lines
556 B
C++
25 lines
556 B
C++
#pragma once
|
|
///@file
|
|
|
|
#include "eval.hh"
|
|
|
|
#include <string>
|
|
#include <map>
|
|
|
|
namespace nix {
|
|
|
|
MakeError(AttrPathNotFound, Error);
|
|
MakeError(NoPositionInfo, Error);
|
|
|
|
std::pair<Value *, PosIdx> findAlongAttrPath(
|
|
EvalState & state,
|
|
const std::string & attrPath,
|
|
Bindings & autoArgs,
|
|
Value & vIn);
|
|
|
|
/* Heuristic to find the filename and lineno or a nix value. */
|
|
std::pair<std::string, uint32_t> findPackageFilename(EvalState & state, Value & v, std::string what);
|
|
|
|
std::vector<Symbol> parseAttrPath(EvalState & state, std::string_view s);
|
|
|
|
}
|