Skip to main content

Module path

Module path 

Source
Expand description

Segment and AttrPath: typed attribute paths.

Segment is a single attribute name. AttrPath is a non-empty sequence of them. Both store values unquoted. The "..." quotes Nix requires for names containing dots or leading digits live on the rendering boundary (fmt::Display / Segment::render).

Structs§

AttrPath
Segment

Enums§

AttrPathParseError
SegmentError

Functions§

strip_outer_quotes
Strip a single outer pair of "..." from CST source text.