Class SymTypePredicateVisitor

java.lang.Object
de.monticore.types3.util.SymTypePredicateVisitor
All Implemented Interfaces:
ISymTypeVisitor, Predicate<SymTypeExpression>

public abstract class SymTypePredicateVisitor extends Object implements ISymTypeVisitor, Predicate<SymTypeExpression>
a visitor that is a predicate over SymTypeExpressions
  • Field Details

    • result

      protected boolean result
  • Constructor Details

    • SymTypePredicateVisitor

      public SymTypePredicateVisitor()
  • Method Details

    • setResult

      protected void setResult(boolean result)
    • setDefaultValue

      protected abstract void setDefaultValue()
      sets the default value
    • test

      public boolean test(SymTypeExpression symType)
      uses this visitor with the provided symType and returns the result. it is reset during the process.
      Specified by:
      test in interface Predicate<SymTypeExpression>