nixd
|
Represents a definition. More...
#include <VariableLookup.h>
Public Types | |
enum | DefinitionSource { DS_With , DS_Let , DS_LambdaArg , DS_LambdaNoArg_Formal , DS_LambdaWithArg_Arg , DS_LambdaWithArg_Formal , DS_Rec , DS_Builtin } |
"Source" information so we can know where the def comes from. More... | |
Public Member Functions | |
Definition (const Node *Syntax, DefinitionSource Source) | |
Definition (std::vector< const ExprVar * > Uses, const Node *Syntax, DefinitionSource Source) | |
const Node * | syntax () const |
const std::vector< const ExprVar * > & | uses () const |
DefinitionSource | source () const |
void | usedBy (const ExprVar &User) |
bool | isBuiltin () const |
Represents a definition.
Definition at line 26 of file VariableLookup.h.
"Source" information so we can know where the def comes from.
Definition at line 29 of file VariableLookup.h.
|
inline |
Definition at line 63 of file VariableLookup.h.
|
inline |
Definition at line 65 of file VariableLookup.h.
|
inlinenodiscard |
Definition at line 79 of file VariableLookup.h.
References DS_Builtin.
|
inlinenodiscard |
Definition at line 75 of file VariableLookup.h.
|
inlinenodiscard |
Definition at line 69 of file VariableLookup.h.
Referenced by nixd::idioms::mkVarSelector().
|
inline |
Definition at line 77 of file VariableLookup.h.
|
inlinenodiscard |
Definition at line 71 of file VariableLookup.h.