Index: library/lib/doc-assets/api.css =================================================================== diff -u -r239888ee1ee6ed6d7b9afa5e170f49c5224a186d -re4a5c3979effc10d1e807063956d51c72994db6e --- library/lib/doc-assets/api.css (.../api.css) (revision 239888ee1ee6ed6d7b9afa5e170f49c5224a186d) +++ library/lib/doc-assets/api.css (.../api.css) (revision e4a5c3979effc10d1e807063956d51c72994db6e) @@ -285,4 +285,8 @@ span.mismatch { display:inline; background-position: -24px 0; +} + +code span.var { + font-style: italic; } \ No newline at end of file Index: library/lib/doc-assets/attributemethod.html.tmpl =================================================================== diff -u -r9e98d057e87eb5d9bf8cd3a25dc679ed02cd6399 -re4a5c3979effc10d1e807063956d51c72994db6e --- library/lib/doc-assets/attributemethod.html.tmpl (.../attributemethod.html.tmpl) (revision 9e98d057e87eb5d9bf8cd3a25dc679ed02cd6399) +++ library/lib/doc-assets/attributemethod.html.tmpl (.../attributemethod.html.tmpl) (revision e4a5c3979effc10d1e807063956d51c72994db6e) @@ -3,64 +3,46 @@ [$owning_attribute print_name -status]
[:? {[info exists :@return] && [${:@return} spec] ne ""} {<[${:@return} spec]>} ]
- [:? {[$owning_attribute pinfo get -default 0 bundle incremental]} {
- /obj/ ${:name} ?value?
- /obj/ ${:name} add|assign|delete value
- /obj/ ${:name} get
- } - {
- /obj/ ${:name} ?value?
- }]
+ obj ${:name} ?value?
+
[$param print_name]
- [:? {[$param eval {info exists :spec}] && [$param spec] ne ""} {<[$param spec]>}]
-
- [$param statusmark]
- [$param as_text]
- [$param pinfo get -default "" validation]
- [:? {[$param eval {info exists :default}]} {
- [:? {[${:@return} eval {info exists :spec}] && [${:@return} spec] ne ""} {[${:@return} spec]}]
-
value <optional>
+
+ If provided, list of values to
+ be set for the attribute ${:name}
+ [:? {[${:@return} eval {info exists :spec}] && [${:@return} spec] ne ""} {[${:@return} spec]}]
+
[:? {[info exists :@return] && [${:@return} spec] ne ""} {<[${:@return} spec]>} ]
+ obj
+ ${:name} add
+ value
+
+ value <required>
+
+ ...
+ [:? {[info exists :@return] && [${:@return} spec] ne ""} {<[${:@return} spec]>} ]
+ obj
+ ${:name} delete
+ value
+
+ value <required>
+
+ ...
+ [:? {[info exists :@return] && [${:@return} spec] ne ""} {<[${:@return} spec]>} ]
- /obj/
+ obj
${:name}
- [:pinfo get -default "" bundle parametersyntax]
+ [:pinfo get -default "" bundle parametersyntax]
[:? {[info exists :@return] && [${:@return} spec] ne ""} {<[${:@return} spec]>} ]
- /obj/
+ obj
$name
- [:pinfo get -default "" bundle parametersyntax]
+ [:pinfo get -default "" bundle parametersyntax]