VarName
Description
VarName represents identifiers in Nix code: variable names, attribute names, parameter names, etc.
Nix Source ↔ AST
# Nix
myVariable
# AST (inside Sym)
{ "tag": "Sym", "contents": "myVariable" }
Used as the contents field of:
Sym: variable referencesParam: function parametersStaticKey: static attribute keysInherit: inherited namesParamSet: parameter set parameter names
Related
Nix Library Access
syntax.mkSym "myVariable"