Function Tag.attributes
Access all attributes that don't have a namespace
Returns a random access range of Attribute
objects that supports
numeric-indexing, string-indexing, slicing and length.
Since SDLang allows multiple attributes with the same name, string-indexing returns a random access range of all attributes with the given name.
The string-indexing does not support namespace prefixes.
Use namespace[string]
.attributes
or all
.attributes
for that.
See API Overview for a high-level overview (and examples) of how to use this.
Prototype
sdlang .ast .Tag .__T11MemberRangeTC6sdlang3ast9AttributeVAyaa13_616c6c41747472696275746573VAyaa17_617474726962757465496e646963696573VAyaa11_5f61747472696275746573Z .MemberRange attributes() @property;