aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/macro/syntax/export.lux
blob: b61a0df0773d49f475d75400556c85c063641b78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
(.using
 [library
  [lux (.except char)
   ["$" documentation (.only documentation:)]
   [data
    [text
     ["%" format (.only format)]]
    [collection
     ["[0]" list]]]]]
 [\\library
  ["[0]" /]])

(documentation: /.parser
  ""
  [(parser un_exported)])

(.def: .public documentation
  (.List $.Module)
  ($.module /._
            "Syntax for marking a definition as an export."
            [..parser
             ($.default /.default_policy)]
            []))