aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/macro/syntax/type/variable.lux
blob: 2144f9b4f81af2ccaf4cf4aecd05b2880f9f27f7 (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
(.using
  [library
   [lux {"-" char}
    ["$" documentation {"+" documentation:}]
    [data
     [text
      ["%" format {"+" format}]]
     [collection
      ["[0]" list]]]]]
  [\\library
   ["[0]" /]])

(documentation: /.Variable
  "A variable's name.")

(documentation: /.parser
  "Parser for the common type variable/parameter used by many macros.")

(.def: .public documentation
  (.List $.Module)
  ($.module /._
            ""
            [..Variable
             ..parser
             ($.default /.equivalence)
             ($.default /.format)]
            []))