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

public class TypeCheckVisitor extends StoexSwitch<Object>
  • Constructor Details

  • Method Details

    • caseNegativeExpression

      public Object caseNegativeExpression(NegativeExpression object)
      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 class StoexSwitch<Object>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Negative Expression'.
      See Also:
    • caseBooleanOperatorExpression

      public Object caseBooleanOperatorExpression(BooleanOperatorExpression object)
      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 class StoexSwitch<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

      public Object caseIfElseExpression(IfElseExpression object)
      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 class StoexSwitch<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

      public Object caseNotExpression(NotExpression object)
      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 class StoexSwitch<Object>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Not Expression'.
      See Also:
    • caseProductExpression

      public Object caseProductExpression(ProductExpression object)
      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 class StoexSwitch<Object>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Product Expression'.
      See Also:
    • caseTermExpression

      public Object caseTermExpression(TermExpression object)
      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 class StoexSwitch<Object>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Term Expression'.
      See Also:
    • typesCompatible

      public static boolean typesCompatible(TypeEnum expectedType, TypeEnum foundType)
    • getIssues

      public Collection<IIssue> getIssues()