aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/data/format/xml.lux
blob: b433ceb2053aad01595629b3a593be2b0bbd9af2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
(.require
 [library
  [lux (.except nat int rev list type or and)
   ["$" documentation (.only documentation:)]
   [data
    [text (.only \n)
     ["%" \\format (.only format)]]]
   [macro
    ["[0]" template]]]]
 [\\library
  ["[0]" /]])

(documentation: /.attributes
  "An empty set of XML attributes.")

(documentation: /.tag
  "The text format of a XML tag."
  [(tag name)])

(documentation: /.attribute
  "The text format of a XML attribute.")

(.def .public documentation
  (.List $.Module)
  ($.module /._
            ""
            [..attributes
             ..tag
             ..attribute
             ($.default /.Tag)
             ($.default /.Attribute)
             ($.default /.Attrs)
             ($.default /.XML)
             ($.default /.codec)
             ($.default /.equivalence)]
            []))