aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/data/format/xml.lux
blob: ec9df6b043c8b56e1ddadc1ec4dfb3c851fe9170 (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
(.using
 [library
  [lux {"-" 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)]
            []))