= All Cobra Statements = All supported cobra statements (alpha order) * [wiki:Assert assert] - assert condition * [wiki:Branch branch] - multiway branch * [wiki:Break break] - break out of enclosing loop * [wiki:Continue continue] - continue enclosing loop * [wiki:Expect expect] - assert receiving an exception * [wiki:Lock lock] - lock and execute code in a critical section * [wiki:NumericFor for-numeric] * [http://cobra-language.com/docs/manual/control-statements/enumerable-for.html for-Enumeration] * [http://cobra-language.com/docs/manual/control-statements/if.html if-then-else] - conditional execution * [wiki:Ignore ignore] - remove handlers for event * [wiki:Listen listen] - specify handler for event * [wiki:Pass pass] - specify non operation * [http://cobra-language.com/docs/manual/control-statements/while.html post (while)] - loop while condition true testing condition at end of block. do-while equivalent * [wiki:Print print] - output something * [wiki:Raise raise] - raise/fire an event * [wiki:Return return] - return from a method * [wiki:Throw throw] - generate an exception * [wiki:Trace trace] - emit trace/debug info * [wiki:Try try-catch] - try a block and handle any thrown exceptions * [wiki:Using using] - specify a block with initialization and automatic (and correct) cleanup of IDisposable objects. A construct to support [http://en.wikipedia.org/wiki/Resource_Acquisition_Is_Initialization RAII] for IDisposables. * [wiki:Use use] - specify a namespace and contents to be used by this module * [http://cobra-language.com/docs/manual/control-statements/while.html while] - loop while a condition is true * [wiki:Yield yield] - yield a result from a generator * [wiki:CtTrace ct_Trace] {{{ #!comment from CobraParser.cobra 13-Oct-2008 }}}