nixd
|
Attribute set after deduplication. More...
#include <Attrs.h>
Public Member Functions | |
SemaAttrs (Misc *Recursive) | |
SemaAttrs (std::map< std::string, Attribute > Static, std::vector< Attribute > Dynamic, Misc *Recursive) | |
const std::map< std::string, Attribute > & | staticAttrs () const |
Static attributes, do not require evaluation to get the key. | |
const std::vector< Attribute > & | dynamicAttrs () const |
Dynamic attributes, require evaluation to get the key. | |
bool | isRecursive () const |
If the attribute set is rec . | |
Friends | |
class | Sema |
Attribute set after deduplication.
Represeting the attribute set suitable for variable lookups, evaluation.
The attrset cannot have duplicate keys, and keys will be desugared to strict K-V form.
e.g. { a.b.c = 1 }
-> { a = { b = { c = 1; }; }; }
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |