|
void | dupAttr (const AttrPath &attrPath, const PosIdx pos, const PosIdx prevPos) |
|
void | dupAttr (Symbol attr, const PosIdx pos, const PosIdx prevPos) |
|
void | addAttr (ExprAttrs *attrs, AttrPath &&attrPath, const ParserLocation &loc, Expr *e, const ParserLocation &exprLoc) |
|
void | addAttr (ExprAttrs *attrs, AttrPath &attrPath, const Symbol &symbol, ExprAttrs::AttrDef &&def) |
|
Formals * | validateFormals (Formals *formals, PosIdx pos=noPos, Symbol arg={}) |
|
Expr * | stripIndentation (const PosIdx pos, std::vector< std::pair< PosIdx, std::variant< Expr *, StringToken > > > &&es) |
|
PosIdx | at (const ParserLocation &loc) |
|
◆ addAttr()
Precondition: attrPath is used for error messages and should already contain symbol as its last element.
The documentation for this struct was generated from the following file:
- /home/buildozer/aports/community/nix/src/nix-2.26.3/src/libexpr/parser-state.hh