aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/documentation')
-rw-r--r--stdlib/source/documentation/lux/ffi.jvm.lux32
-rw-r--r--stdlib/source/documentation/lux/ffi.old.lux32
-rw-r--r--stdlib/source/documentation/lux/ffi.rb.lux2
-rw-r--r--stdlib/source/documentation/lux/macro.lux2
4 files changed, 34 insertions, 34 deletions
diff --git a/stdlib/source/documentation/lux/ffi.jvm.lux b/stdlib/source/documentation/lux/ffi.jvm.lux
index c6d2a97ae..029999d03 100644
--- a/stdlib/source/documentation/lux/ffi.jvm.lux
+++ b/stdlib/source/documentation/lux/ffi.jvm.lux
@@ -83,22 +83,22 @@
(documentation: /.class:
"Allows defining JVM classes in Lux code."
- [(class: #final (TestClass A) [Runnable]
+ [(class: "final" (TestClass A) [Runnable]
... Fields
- (#private foo boolean)
- (#private bar A)
- (#private baz java/lang/Object)
+ ("private" foo boolean)
+ ("private" bar A)
+ ("private" baz java/lang/Object)
... Methods
- (#public [] (new [value A]) []
- (exec
- (:= ::foo #1)
- (:= ::bar value)
- (:= ::baz "")
- []))
- (#public (virtual) java/lang/Object
- "")
- (#public "static" (static) java/lang/Object
- "")
+ ("public" [] (new [value A]) []
+ (exec
+ (:= ::foo #1)
+ (:= ::bar value)
+ (:= ::baz "")
+ []))
+ ("public" (virtual) java/lang/Object
+ "")
+ ("public" "static" (static) java/lang/Object
+ "")
(Runnable [] (run) void
[])
)
@@ -115,7 +115,7 @@
(documentation: /.interface:
"Allows defining JVM interfaces."
[(interface: TestInterface
- ([] foo [boolean String] void #throws [Exception]))])
+ ([] foo [boolean String] void "throws" [Exception]))])
(documentation: /.object
"Allows defining anonymous classes."
@@ -194,7 +194,7 @@
["#::."
(new [[byte]])
("static" valueOf [char] java/lang/String)
- ("static" valueOf #as int_valueOf [int] java/lang/String)])
+ ("static" valueOf "as" int_valueOf [int] java/lang/String)])
(import: (java/util/List e)
["#::."
diff --git a/stdlib/source/documentation/lux/ffi.old.lux b/stdlib/source/documentation/lux/ffi.old.lux
index 86e9a23b6..80d981b89 100644
--- a/stdlib/source/documentation/lux/ffi.old.lux
+++ b/stdlib/source/documentation/lux/ffi.old.lux
@@ -50,22 +50,22 @@
(documentation: /.class:
"Allows defining JVM classes in Lux code."
- [(class: #final (TestClass A) [Runnable]
+ [(class: "final" (TestClass A) [Runnable]
... Fields
- (#private foo boolean)
- (#private bar A)
- (#private baz java/lang/Object)
+ ("private" foo boolean)
+ ("private" bar A)
+ ("private" baz java/lang/Object)
... Methods
- (#public [] (new [value A]) []
- (exec
- (:= ::foo #1)
- (:= ::bar value)
- (:= ::baz "")
- []))
- (#public (virtual) java/lang/Object
- "")
- (#public "static" (static) java/lang/Object
- "")
+ ("public" [] (new [value A]) []
+ (exec
+ (:= ::foo #1)
+ (:= ::bar value)
+ (:= ::baz "")
+ []))
+ ("public" (virtual) java/lang/Object
+ "")
+ ("public" "static" (static) java/lang/Object
+ "")
(Runnable [] (run) void
[]))
"The tuple corresponds to parent interfaces."
@@ -80,7 +80,7 @@
(documentation: /.interface:
"Allows defining JVM interfaces."
[(interface: TestInterface
- ([] foo [boolean String] void #throws [Exception]))])
+ ([] foo [boolean String] void "throws" [Exception]))])
(documentation: /.object
"Allows defining anonymous classes."
@@ -158,7 +158,7 @@
["#::."
(new [[byte]])
("static" valueOf [char] java/lang/String)
- ("static" valueOf #as int_valueOf [int] java/lang/String)])
+ ("static" valueOf "as" int_valueOf [int] java/lang/String)])
(import: (java/util/List e)
["#::."
diff --git a/stdlib/source/documentation/lux/ffi.rb.lux b/stdlib/source/documentation/lux/ffi.rb.lux
index a257a7b26..5e6f96164 100644
--- a/stdlib/source/documentation/lux/ffi.rb.lux
+++ b/stdlib/source/documentation/lux/ffi.rb.lux
@@ -17,7 +17,7 @@
(executable? [] Bit)
(size Int)])
- (import: File #as RubyFile
+ (import: File "as" RubyFile
["#::."
("static" SEPARATOR ..String)
("static" open [Path ..String] "io" "try" RubyFile)
diff --git a/stdlib/source/documentation/lux/macro.lux b/stdlib/source/documentation/lux/macro.lux
index f222d778c..a5125ff99 100644
--- a/stdlib/source/documentation/lux/macro.lux
+++ b/stdlib/source/documentation/lux/macro.lux
@@ -57,7 +57,7 @@
(format "Performs a macro-expansion and logs the resulting code."
\n "You can either use the resulting code, or omit them."
\n "By omitting them, this macro produces nothing (just like the lux.comment macro).")
- [(<macro> #omit
+ [(<macro> "omit"
(def: (foo bar baz)
(-> Int Int Int)
(int.+ bar baz)))])]