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

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

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