| 1 | = All Cobra Statements = |
| 2 | |
| 3 | All supported cobra statements (alpha order) |
| 4 | |
| 5 | * [wiki:Assert assert] - assert condition |
| 6 | |
| 7 | * [wiki:Branch branch] - multiway branch |
| 8 | |
| 9 | * [wiki:Break break] - break out of enclosing loop |
| 10 | * [wiki:Continue continue] - continue enclosing loop |
| 11 | |
| 12 | * [wiki:Expect expect] - assert receiving an exception |
| 13 | |
| 14 | * [wiki:NumericFor for-numeric] |
| 15 | * [http://cobra-language.com/docs/manual/control-statements/enumerable-for.html for-Enumeration] |
| 16 | |
| 17 | * [http://cobra-language.com/docs/manual/control-statements/if.html if-then-else] - conditional execution |
| 18 | |
| 19 | * [wiki:Ignore ignore] - remove handlers for event |
| 20 | * [wiki:Listen listen] - specify handler for event |
| 21 | |
| 22 | * [wiki:Pass pass] - specify non operation |
| 23 | |
| 24 | * [wiki:Post post] - do-while equivalent |
| 25 | * [wiki:Print print] - output something |
| 26 | |
| 27 | * [wiki:Raise raise] - raise/fire an event |
| 28 | |
| 29 | * [wiki:Return return] - return from a method |
| 30 | |
| 31 | * [wiki:Throw throw] - generate an exception |
| 32 | |
| 33 | * [wiki:Trace trace] - emit trace/debug info |
| 34 | |
| 35 | * [wiki:Try try-catch] - try a block and handle any thrown exceptions |
| 36 | |
| 37 | * [wiki:Using using] |
| 38 | |
| 39 | * [http://cobra-language.com/docs/manual/control-statements/enumerable-for.html while] - loop while a condition is true |
| 40 | |
| 41 | * [wiki:Yield yield] - yield a result from a generator |
| 42 | |
| 43 | * [wiki:CtTrace ctTrace] |
| 44 | {{{ |
| 45 | #!comment |
| 46 | from CobraParser.cobra 13-Oct-2008 |
| 47 | }}} |
| 48 | |
| 49 | |