diff options
| author | Li Jin <dragon-fly@qq.com> | 2026-04-22 16:41:46 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2026-04-22 16:41:46 +0800 |
| commit | 56b76f68f127e438880bbd1a6178c67bd7d59cab (patch) | |
| tree | 95a21814cf4751807023b60ad5c3f2effa41fa99 /spec | |
| parent | d4e8b147694f35ac37c48dbfdd4b179c892beb01 (diff) | |
| download | yuescript-56b76f68f127e438880bbd1a6178c67bd7d59cab.tar.gz yuescript-56b76f68f127e438880bbd1a6178c67bd7d59cab.tar.bz2 yuescript-56b76f68f127e438880bbd1a6178c67bd7d59cab.zip | |
Updated docs.
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/outputs/codes_from_doc_de.lua | 24 | ||||
| -rw-r--r-- | spec/outputs/codes_from_doc_en.lua | 24 | ||||
| -rw-r--r-- | spec/outputs/codes_from_doc_id-id.lua | 24 | ||||
| -rw-r--r-- | spec/outputs/codes_from_doc_pt-br.lua | 24 | ||||
| -rw-r--r-- | spec/outputs/codes_from_doc_zh.lua | 24 |
5 files changed, 120 insertions, 0 deletions
diff --git a/spec/outputs/codes_from_doc_de.lua b/spec/outputs/codes_from_doc_de.lua index 28ed4e7..2530977 100644 --- a/spec/outputs/codes_from_doc_de.lua +++ b/spec/outputs/codes_from_doc_de.lua | |||
| @@ -125,6 +125,18 @@ end | |||
| 125 | print("yuescript") | 125 | print("yuescript") |
| 126 | print(2) | 126 | print(2) |
| 127 | print("Gültiger Enum-Typ:", "Static") | 127 | print("Gültiger Enum-Typ:", "Static") |
| 128 | love.conf = function(t) | ||
| 129 | do | ||
| 130 | t.identity = 'LOVE' | ||
| 131 | t.version = "11.5" | ||
| 132 | end | ||
| 133 | end | ||
| 134 | love.conf = function(t) | ||
| 135 | do | ||
| 136 | t.identity = 'LOVE' | ||
| 137 | t.version = "11.5" | ||
| 138 | end | ||
| 139 | end | ||
| 128 | do | 140 | do |
| 129 | print(123, "hallo") | 141 | print(123, "hallo") |
| 130 | end | 142 | end |
| @@ -164,6 +176,18 @@ end | |||
| 164 | print("yuescript") | 176 | print("yuescript") |
| 165 | print(2) | 177 | print(2) |
| 166 | print("Gültiger Enum-Typ:", "Static") | 178 | print("Gültiger Enum-Typ:", "Static") |
| 179 | love.conf = function(t) | ||
| 180 | do | ||
| 181 | t.identity = 'LOVE' | ||
| 182 | t.version = "11.5" | ||
| 183 | end | ||
| 184 | end | ||
| 185 | love.conf = function(t) | ||
| 186 | do | ||
| 187 | t.identity = 'LOVE' | ||
| 188 | t.version = "11.5" | ||
| 189 | end | ||
| 190 | end | ||
| 167 | do | 191 | do |
| 168 | print(123, "hallo") | 192 | print(123, "hallo") |
| 169 | end | 193 | end |
diff --git a/spec/outputs/codes_from_doc_en.lua b/spec/outputs/codes_from_doc_en.lua index 1fdc56d..18f0227 100644 --- a/spec/outputs/codes_from_doc_en.lua +++ b/spec/outputs/codes_from_doc_en.lua | |||
| @@ -125,6 +125,18 @@ end | |||
| 125 | print("yuescript") | 125 | print("yuescript") |
| 126 | print(2) | 126 | print(2) |
| 127 | print("Valid enum type:", "Static") | 127 | print("Valid enum type:", "Static") |
| 128 | love.conf = function(t) | ||
| 129 | do | ||
| 130 | t.identity = 'LOVE' | ||
| 131 | t.version = "11.5" | ||
| 132 | end | ||
| 133 | end | ||
| 134 | love.conf = function(t) | ||
| 135 | do | ||
| 136 | t.identity = 'LOVE' | ||
| 137 | t.version = "11.5" | ||
| 138 | end | ||
| 139 | end | ||
| 128 | do | 140 | do |
| 129 | print(123, "hello") | 141 | print(123, "hello") |
| 130 | end | 142 | end |
| @@ -164,6 +176,18 @@ end | |||
| 164 | print("yuescript") | 176 | print("yuescript") |
| 165 | print(2) | 177 | print(2) |
| 166 | print("Valid enum type:", "Static") | 178 | print("Valid enum type:", "Static") |
| 179 | love.conf = function(t) | ||
| 180 | do | ||
| 181 | t.identity = 'LOVE' | ||
| 182 | t.version = "11.5" | ||
| 183 | end | ||
| 184 | end | ||
| 185 | love.conf = function(t) | ||
| 186 | do | ||
| 187 | t.identity = 'LOVE' | ||
| 188 | t.version = "11.5" | ||
| 189 | end | ||
| 190 | end | ||
| 167 | do | 191 | do |
| 168 | print(123, "hello") | 192 | print(123, "hello") |
| 169 | end | 193 | end |
diff --git a/spec/outputs/codes_from_doc_id-id.lua b/spec/outputs/codes_from_doc_id-id.lua index 2201dee..452d88d 100644 --- a/spec/outputs/codes_from_doc_id-id.lua +++ b/spec/outputs/codes_from_doc_id-id.lua | |||
| @@ -125,6 +125,18 @@ end | |||
| 125 | print("yuescript") | 125 | print("yuescript") |
| 126 | print(2) | 126 | print(2) |
| 127 | print("Valid enum type:", "Static") | 127 | print("Valid enum type:", "Static") |
| 128 | love.conf = function(t) | ||
| 129 | do | ||
| 130 | t.identity = 'LOVE' | ||
| 131 | t.version = "11.5" | ||
| 132 | end | ||
| 133 | end | ||
| 134 | love.conf = function(t) | ||
| 135 | do | ||
| 136 | t.identity = 'LOVE' | ||
| 137 | t.version = "11.5" | ||
| 138 | end | ||
| 139 | end | ||
| 128 | do | 140 | do |
| 129 | print(123, "hello") | 141 | print(123, "hello") |
| 130 | end | 142 | end |
| @@ -164,6 +176,18 @@ end | |||
| 164 | print("yuescript") | 176 | print("yuescript") |
| 165 | print(2) | 177 | print(2) |
| 166 | print("Valid enum type:", "Static") | 178 | print("Valid enum type:", "Static") |
| 179 | love.conf = function(t) | ||
| 180 | do | ||
| 181 | t.identity = 'LOVE' | ||
| 182 | t.version = "11.5" | ||
| 183 | end | ||
| 184 | end | ||
| 185 | love.conf = function(t) | ||
| 186 | do | ||
| 187 | t.identity = 'LOVE' | ||
| 188 | t.version = "11.5" | ||
| 189 | end | ||
| 190 | end | ||
| 167 | do | 191 | do |
| 168 | print(123, "hello") | 192 | print(123, "hello") |
| 169 | end | 193 | end |
diff --git a/spec/outputs/codes_from_doc_pt-br.lua b/spec/outputs/codes_from_doc_pt-br.lua index b3bf0b3..f9784d7 100644 --- a/spec/outputs/codes_from_doc_pt-br.lua +++ b/spec/outputs/codes_from_doc_pt-br.lua | |||
| @@ -125,6 +125,18 @@ end | |||
| 125 | print("yuescript") | 125 | print("yuescript") |
| 126 | print(2) | 126 | print(2) |
| 127 | print("Valid enum type:", "Static") | 127 | print("Valid enum type:", "Static") |
| 128 | love.conf = function(t) | ||
| 129 | do | ||
| 130 | t.identity = 'LOVE' | ||
| 131 | t.version = "11.5" | ||
| 132 | end | ||
| 133 | end | ||
| 134 | love.conf = function(t) | ||
| 135 | do | ||
| 136 | t.identity = 'LOVE' | ||
| 137 | t.version = "11.5" | ||
| 138 | end | ||
| 139 | end | ||
| 128 | do | 140 | do |
| 129 | print(123, "hello") | 141 | print(123, "hello") |
| 130 | end | 142 | end |
| @@ -164,6 +176,18 @@ end | |||
| 164 | print("yuescript") | 176 | print("yuescript") |
| 165 | print(2) | 177 | print(2) |
| 166 | print("Valid enum type:", "Static") | 178 | print("Valid enum type:", "Static") |
| 179 | love.conf = function(t) | ||
| 180 | do | ||
| 181 | t.identity = 'LOVE' | ||
| 182 | t.version = "11.5" | ||
| 183 | end | ||
| 184 | end | ||
| 185 | love.conf = function(t) | ||
| 186 | do | ||
| 187 | t.identity = 'LOVE' | ||
| 188 | t.version = "11.5" | ||
| 189 | end | ||
| 190 | end | ||
| 167 | do | 191 | do |
| 168 | print(123, "hello") | 192 | print(123, "hello") |
| 169 | end | 193 | end |
diff --git a/spec/outputs/codes_from_doc_zh.lua b/spec/outputs/codes_from_doc_zh.lua index 5756793..4c254a2 100644 --- a/spec/outputs/codes_from_doc_zh.lua +++ b/spec/outputs/codes_from_doc_zh.lua | |||
| @@ -125,6 +125,18 @@ end | |||
| 125 | print("yuescript") | 125 | print("yuescript") |
| 126 | print(2) | 126 | print(2) |
| 127 | print("有效的枚举类型:", "Static") | 127 | print("有效的枚举类型:", "Static") |
| 128 | love.conf = function(t) | ||
| 129 | do | ||
| 130 | t.identity = 'LOVE' | ||
| 131 | t.version = "11.5" | ||
| 132 | end | ||
| 133 | end | ||
| 134 | love.conf = function(t) | ||
| 135 | do | ||
| 136 | t.identity = 'LOVE' | ||
| 137 | t.version = "11.5" | ||
| 138 | end | ||
| 139 | end | ||
| 128 | do | 140 | do |
| 129 | print(123, "hello") | 141 | print(123, "hello") |
| 130 | end | 142 | end |
| @@ -164,6 +176,18 @@ end | |||
| 164 | print("yuescript") | 176 | print("yuescript") |
| 165 | print(2) | 177 | print(2) |
| 166 | print("有效的枚举类型:", "Static") | 178 | print("有效的枚举类型:", "Static") |
| 179 | love.conf = function(t) | ||
| 180 | do | ||
| 181 | t.identity = 'LOVE' | ||
| 182 | t.version = "11.5" | ||
| 183 | end | ||
| 184 | end | ||
| 185 | love.conf = function(t) | ||
| 186 | do | ||
| 187 | t.identity = 'LOVE' | ||
| 188 | t.version = "11.5" | ||
| 189 | end | ||
| 190 | end | ||
| 167 | do | 191 | do |
| 168 | print(123, "hello") | 192 | print(123, "hello") |
| 169 | end | 193 | end |
