Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
|
|
@ -0,0 +1,10 @@
|
|||
if(s == "Hello World")
|
||||
{
|
||||
foo();
|
||||
}
|
||||
else if(s == "Bye World")
|
||||
bar();
|
||||
else
|
||||
{
|
||||
baz();
|
||||
}
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
if(obj isnt null and obj.foo())
|
||||
doSomething();
|
||||
|
|
@ -0,0 +1 @@
|
|||
var t = if(s == "Hello World") foo() else bar();
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
switch (num)
|
||||
{
|
||||
case (0)
|
||||
{ /* empty case requires braces */ }
|
||||
case (1)
|
||||
{ var one = "one"; result = one; }
|
||||
case (2,3) // case may contain a nonempty list of values
|
||||
result = "a few";
|
||||
default
|
||||
result = "a lot";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue