= 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 * [wiki:Post post] - 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:Use use] - specify a namespace and contents to be used by this module * [http://cobra-language.com/docs/manual/control-statements/enumerable-for.html while] - loop while a condition is true * [wiki:Yield yield] - yield a result from a generator * [wiki:CtTrace ctTrace] {{{ #!comment from CobraParser.cobra 13-Oct-2008 }}}