|
Selector | nixd::idioms::mkVarSelector (const nixf::ExprVar &Var, const nixf::VariableLookupAnalysis &VLA, const nixf::ParentMapAnalysis &PM) |
| Construct a nixd::Selector from Var .
|
|
Selector | nixd::idioms::mkSelector (const nixf::AttrPath &AP, Selector BaseSelector) |
| Construct a nixd::Selector from AP .
|
|
Selector | nixd::idioms::mkSelector (const nixf::ExprSelect &Select, Selector BaseSelector) |
| Construct a nixd::Selector from Select .
|
|
Selector | nixd::idioms::mkSelector (const nixf::ExprSelect &Select, const nixf::VariableLookupAnalysis &VLA, const nixf::ParentMapAnalysis &PM) |
| Construct a nixd::Selector from Select .
|
|
const nixf::EnvNode * | nixd::upEnv (const nixf::Node &Desc, const nixf::VariableLookupAnalysis &VLA, const nixf::ParentMapAnalysis &PM) |
| Search up until there are some node associated with "EnvNode".
|
|
bool | nixd::havePackageScope (const nixf::Node &N, const nixf::VariableLookupAnalysis &VLA, const nixf::ParentMapAnalysis &PM) |
| Determine whether or not some node has enclosed "with pkgs; [ ]".
|
|
std::pair< std::vector< std::string >, std::string > | nixd::getScopeAndPrefix (const nixf::Node &N, const nixf::ParentMapAnalysis &PM) |
| get variable scope, and it's prefix name.
|
|
FindAttrPathResult | nixd::findAttrPath (const nixf::Node &N, const nixf::ParentMapAnalysis &PM, std::vector< std::string > &Path) |
| Heuristically find attrpath suitable for "attrpath" completion.
|
|
This file declares some common analysis (tree walk) on the AST.
Definition in file AST.h.