diff options
| author | Li Jin <dragon-fly@qq.com> | 2020-01-10 16:30:34 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2020-01-10 16:30:34 +0800 |
| commit | 52a6536103f46c26a3ba9b149b0fe7b40d524d8c (patch) | |
| tree | 67e4759f8e1ea922079d0e162d84ecba5e558261 /spec/inputs/export.moon | |
| parent | 975167856ed0b11c2ede03c6eb750ca4e4a6a7fc (diff) | |
| download | yuescript-52a6536103f46c26a3ba9b149b0fe7b40d524d8c.tar.gz yuescript-52a6536103f46c26a3ba9b149b0fe7b40d524d8c.tar.bz2 yuescript-52a6536103f46c26a3ba9b149b0fe7b40d524d8c.zip | |
update.
Diffstat (limited to 'spec/inputs/export.moon')
| -rw-r--r-- | spec/inputs/export.moon | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/spec/inputs/export.moon b/spec/inputs/export.moon new file mode 100644 index 0000000..0a56379 --- /dev/null +++ b/spec/inputs/export.moon | |||
| @@ -0,0 +1,77 @@ | |||
| 1 | |||
| 2 | do | ||
| 3 | export a,b,c = 223, 343 | ||
| 4 | export cool = "dad" | ||
| 5 | |||
| 6 | do | ||
| 7 | export class Something | ||
| 8 | umm: "cool" | ||
| 9 | |||
| 10 | do | ||
| 11 | export a,b,c | ||
| 12 | a,b,c,d = "hello" | ||
| 13 | |||
| 14 | |||
| 15 | do | ||
| 16 | What = if this | ||
| 17 | 232 | ||
| 18 | else | ||
| 19 | 4343 | ||
| 20 | |||
| 21 | export ^ | ||
| 22 | |||
| 23 | another = 3434 | ||
| 24 | Another = 7890 | ||
| 25 | |||
| 26 | if inner then Yeah = "10000" | ||
| 27 | |||
| 28 | What = if this | ||
| 29 | 232 | ||
| 30 | else | ||
| 31 | 4343 | ||
| 32 | |||
| 33 | |||
| 34 | do | ||
| 35 | export * | ||
| 36 | |||
| 37 | What = if this | ||
| 38 | 232 | ||
| 39 | else | ||
| 40 | 4343 | ||
| 41 | |||
| 42 | x,y,z = 1,2,3 | ||
| 43 | |||
| 44 | y = -> | ||
| 45 | hallo = 3434 | ||
| 46 | |||
| 47 | with tmp | ||
| 48 | j = 2000 | ||
| 49 | |||
| 50 | |||
| 51 | do | ||
| 52 | export * | ||
| 53 | x = 3434 | ||
| 54 | if y then | ||
| 55 | x = 10 | ||
| 56 | |||
| 57 | do | ||
| 58 | export * | ||
| 59 | if y then | ||
| 60 | x = 10 | ||
| 61 | x = 3434 | ||
| 62 | |||
| 63 | do | ||
| 64 | do | ||
| 65 | export * | ||
| 66 | |||
| 67 | k = 1212 | ||
| 68 | |||
| 69 | do | ||
| 70 | h = 100 | ||
| 71 | |||
| 72 | y = -> | ||
| 73 | h = 100 | ||
| 74 | k = 100 | ||
| 75 | |||
| 76 | h = 100 | ||
| 77 | |||
