CexSwitch

open class CexSwitch<T> : Switch<T>

The Switch for the model's inheritance hierarchy. It supports the call doSwitch(object) to invoke the caseXXX method for each class of the model, starting with the actual class of the object and proceeding up the inheritance hierarchy until a non-null result is returned, which is the result of the switch.

See also

Constructors

Link copied to clipboard
constructor()
Creates an instance of the switch.

Functions

Link copied to clipboard
Returns the result of interpreting the object as an instance of 'Arithmetic Unary Operator'.
Link copied to clipboard
open fun caseCexModel(object: CexModel): T
Returns the result of interpreting the object as an instance of 'Model'.
Link copied to clipboard
Returns the result of interpreting the object as an instance of 'Expl State Value'.
Link copied to clipboard
Returns the result of interpreting the object as an instance of 'Expl Variable Value'.
Link copied to clipboard
open fun caseExpression(object: Expression): T
Returns the result of interpreting the object as an instance of 'Expression'.
Link copied to clipboard
Returns the result of interpreting the object as an instance of 'Literal Boolean'.
Link copied to clipboard
open fun caseLiteralEnum(object: LiteralEnum): T
Returns the result of interpreting the object as an instance of 'Literal Enum'.
Link copied to clipboard
Returns the result of interpreting the object as an instance of 'Literal Expression'.
Link copied to clipboard
Returns the result of interpreting the object as an instance of 'Literal Integer'.
Link copied to clipboard
Returns the result of interpreting the object as an instance of 'Simple Cex Model'.
Link copied to clipboard
open fun caseStateEdge(object: StateEdge): T
Returns the result of interpreting the object as an instance of 'State Edge'.
Link copied to clipboard
open fun caseStateValue(object: StateValue): T
Returns the result of interpreting the object as an instance of 'State Value'.
Link copied to clipboard
Returns the result of interpreting the object as an instance of 'Summary Cex Model'.
Link copied to clipboard
open fun caseXstsState(object: XstsState): T
Returns the result of interpreting the object as an instance of 'Xsts State'.
Link copied to clipboard
open fun defaultCase(object: EObject): T
Returns the result of interpreting the object as an instance of 'EObject'.