aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/meta/annotation.lux
blob: 10f4d0aad334c56bc5eecef9cddf654759012187 (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
(.module:
  [library
   [lux {"-" [nat int rev]}
    ["$" documentation {"+" [documentation:]}]
    [data
     ["." text {"+" [\n]}
      ["%" format {"+" [format]}]]]
    [macro
     ["." template]]]]
  [\\library
   ["." /]])

(.def: .public documentation
  (.List $.Module)
  ($.module /._
            "Machinary for querying annotations on modules and definitions."
            [($.default /.value)
             ($.default /.bit)
             ($.default /.nat)
             ($.default /.int)
             ($.default /.rev)
             ($.default /.frac)
             ($.default /.text)
             ($.default /.identifier)
             ($.default /.tag)
             ($.default /.form)
             ($.default /.tuple)
             ($.default /.record)
             ($.default /.Annotation)
             ($.default /.flagged?)
             ($.default /.implementation?)]
            []))