nixd
|
A set of variable definitions, which may inherit parent environment. More...
#include <VariableLookup.h>
Public Types | |
using | DefMap = std::map<std::string, std::shared_ptr<Definition>> |
Public Member Functions | |
EnvNode (std::shared_ptr< EnvNode > Parent, DefMap Defs, const Node *Syntax) | |
EnvNode * | parent () const |
const Node * | syntax () const |
Where this node comes from. | |
bool | isWith () const |
const DefMap & | defs () const |
bool | isLive () const |
A set of variable definitions, which may inherit parent environment.
Definition at line 83 of file VariableLookup.h.
using nixf::EnvNode::DefMap = std::map<std::string, std::shared_ptr<Definition>> |
Definition at line 85 of file VariableLookup.h.
|
inline |
Definition at line 95 of file VariableLookup.h.
|
inlinenodiscard |
Definition at line 107 of file VariableLookup.h.
|
nodiscard |
Definition at line 35 of file VariableLookup.cpp.
|
inlinenodiscard |
Definition at line 103 of file VariableLookup.h.
References nixf::Node::kind().
Referenced by nixd::havePackageScope().
|
inlinenodiscard |
Definition at line 98 of file VariableLookup.h.
Referenced by nixd::havePackageScope().
|
inlinenodiscard |
Where this node comes from.
Definition at line 101 of file VariableLookup.h.
Referenced by nixd::havePackageScope().