Class TypeCheckVisitor
java.lang.Object
org.eclipse.emf.ecore.util.Switch<T>
de.uka.ipd.sdq.stoex.util.StoexSwitch<Object>
de.uka.ipd.sdq.stoex.analyser.visitors.TypeCheckVisitor
-
Field Summary
Fields inherited from class de.uka.ipd.sdq.stoex.util.StoexSwitch
copyright, modelPackage
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the result of interpreting the object as an instance of 'Boolean Operator Expression'.caseIfElseExpression
(IfElseExpression object) Returns the result of interpreting the object as an instance of 'If Else Expression'.Returns the result of interpreting the object as an instance of 'Negative Expression'.caseNotExpression
(NotExpression object) Returns the result of interpreting the object as an instance of 'Not Expression'.Returns the result of interpreting the object as an instance of 'Product Expression'.caseTermExpression
(TermExpression object) Returns the result of interpreting the object as an instance of 'Term Expression'.static boolean
typesCompatible
(TypeEnum expectedType, TypeEnum foundType) Methods inherited from class de.uka.ipd.sdq.stoex.util.StoexSwitch
caseAbstractNamedReference, caseAtom, caseBooleanExpression, caseBoolLiteral, caseCompareExpression, caseComparison, caseDoubleLiteral, caseExpression, caseFunctionLiteral, caseIfElse, caseIntLiteral, caseNamespaceReference, caseNumericLiteral, caseParenthesis, casePower, casePowerExpression, caseProbabilityFunctionLiteral, caseProduct, caseRandomVariable, caseStringLiteral, caseTerm, caseUnary, caseUnitCarryingElement, caseVariable, caseVariableReference, defaultCase, doSwitch, isSwitchFor
-
Constructor Details
-
TypeCheckVisitor
-
-
Method Details
-
caseNegativeExpression
Description copied from class:StoexSwitch
Returns the result of interpreting the object as an instance of 'Negative Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseNegativeExpression
in classStoexSwitch<Object>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Negative Expression'.
- See Also:
-
caseBooleanOperatorExpression
Description copied from class:StoexSwitch
Returns the result of interpreting the object as an instance of 'Boolean Operator Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseBooleanOperatorExpression
in classStoexSwitch<Object>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Boolean Operator Expression'.
- See Also:
-
caseIfElseExpression
Description copied from class:StoexSwitch
Returns the result of interpreting the object as an instance of 'If Else Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseIfElseExpression
in classStoexSwitch<Object>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'If Else Expression'.
- See Also:
-
caseNotExpression
Description copied from class:StoexSwitch
Returns the result of interpreting the object as an instance of 'Not Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseNotExpression
in classStoexSwitch<Object>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Not Expression'.
- See Also:
-
caseProductExpression
Description copied from class:StoexSwitch
Returns the result of interpreting the object as an instance of 'Product Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseProductExpression
in classStoexSwitch<Object>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Product Expression'.
- See Also:
-
caseTermExpression
Description copied from class:StoexSwitch
Returns the result of interpreting the object as an instance of 'Term Expression'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseTermExpression
in classStoexSwitch<Object>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Term Expression'.
- See Also:
-
typesCompatible
-
getIssues
-