Version 3 (modified by hopscc, 15 years ago) |
---|
All Cobra Statements
All supported cobra statements (alpha order)
- assert - assert condition
- branch - multiway branch
- expect - assert receiving an exception
- lock - lock and execute code in a critical section
- if-then-else - conditional execution
- pass - specify non operation
- raise - raise/fire an event
- return - return from a method
- throw - generate an exception
- trace - emit trace/debug info
- try-catch - try a block and handle any thrown exceptions
- use - specify a namespace and contents to be used by this module
- while - loop while a condition is true
- yield - yield a result from a generator