aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/macro/code.lux
blob: 6102046b16d250776e72869206770d023486f719 (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
37
38
39
40
41
42
43
44
(.module:
  [library
   [lux (#- char)
    ["$" documentation (#+ documentation:)]
    [data
     [text
      ["%" format (#+ format)]]
     [collection
      ["." list]]]]]
  [\\library
   ["." /]])

(documentation: /.local_identifier
  "Produces a local identifier (an identifier with no module prefix).")

(documentation: /.local_tag
  "Produces a local tag (a tag with no module prefix).")

(documentation: /.replaced
  ""
  [(replaced original substitute ast)])

(.def: .public documentation
  (.List $.Module)
  ($.module /._
            ""
            [..local_identifier
             ..local_tag
             ..replaced
             ($.default /.bit)
             ($.default /.nat)
             ($.default /.int)
             ($.default /.rev)
             ($.default /.frac)
             ($.default /.text)
             ($.default /.identifier)
             ($.default /.tag)
             ($.default /.form)
             ($.default /.tuple)
             ($.default /.record)
             
             ($.default /.equivalence)
             ($.default /.format)]
            []))