aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/documentation.lux
diff options
context:
space:
mode:
authorEduardo Julian2022-07-08 17:47:23 -0400
committerEduardo Julian2022-07-08 17:47:23 -0400
commit7976268575e7c6910dfba2d2733e8cc1883678e7 (patch)
tree0ce156081612235c0df5e2ad9167be3fc5d75c6c /stdlib/source/test/lux/documentation.lux
parent39325bb36c6f6459c861ef12f9e99b9e66b52594 (diff)
Re-named the "documentation" macro to "definition".
Diffstat (limited to '')
-rw-r--r--stdlib/source/test/lux/documentation.lux18
1 files changed, 9 insertions, 9 deletions
diff --git a/stdlib/source/test/lux/documentation.lux b/stdlib/source/test/lux/documentation.lux
index c9d9cbc43..0a306c771 100644
--- a/stdlib/source/test/lux/documentation.lux
+++ b/stdlib/source/test/lux/documentation.lux
@@ -43,8 +43,8 @@
Nat
123)
- (def documentation
- (/.documentation /.documentation
+ (def definition
+ (/.definition /.definition
'definition_description'))
(def .public test
@@ -67,12 +67,12 @@
_
false))
- (_.coverage [/.documentation]
- (case ..documentation
+ (_.coverage [/.definition]
+ (case ..definition
(list documentation)
(and (|> documentation
(the /.#definition)
- (text#= (template.text [/.documentation])))
+ (text#= (template.text [/.definition])))
(|> documentation
(the /.#documentation)
md.markdown
@@ -90,7 +90,7 @@
[]))
super (`` (/.module .._
(,, (template.text ['super_description']))
- [..documentation]
+ [..definition]
[sub]))]
(and (text.contains? (template.text ['sub_description'])
(/.markdown sub))
@@ -98,7 +98,7 @@
(/.markdown super))
(text.contains? (template.text ['super_description'])
(/.markdown super))
- (case ..documentation
+ (case ..definition
(list documentation)
(text.contains? (md.markdown (the /.#documentation documentation))
(/.markdown super))
@@ -111,11 +111,11 @@
[(macro_error <example>)]
[(/.default g!default)]
- [(/.documentation g!default
+ [(/.definition g!default
(,, (template.text ['definition_description'])))]
[(/.module g!default
""
- [..documentation]
+ [..definition]
[sub])]
)))))
)))))