From 52a6536103f46c26a3ba9b149b0fe7b40d524d8c Mon Sep 17 00:00:00 2001 From: Li Jin Date: Fri, 10 Jan 2020 16:30:34 +0800 Subject: update. --- spec/inputs/export.moon | 77 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 spec/inputs/export.moon (limited to 'spec/inputs/export.moon') 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 @@ + +do + export a,b,c = 223, 343 + export cool = "dad" + +do + export class Something + umm: "cool" + +do + export a,b,c + a,b,c,d = "hello" + + +do + What = if this + 232 + else + 4343 + + export ^ + + another = 3434 + Another = 7890 + + if inner then Yeah = "10000" + + What = if this + 232 + else + 4343 + + +do + export * + + What = if this + 232 + else + 4343 + + x,y,z = 1,2,3 + + y = -> + hallo = 3434 + + with tmp + j = 2000 + + +do + export * + x = 3434 + if y then + x = 10 + +do + export * + if y then + x = 10 + x = 3434 + +do + do + export * + + k = 1212 + + do + h = 100 + + y = -> + h = 100 + k = 100 + + h = 100 + -- cgit v1.2.3-55-g6feb