public class ContainsAssignmentCondition extends VariableConditionAdapter
Constructor and Description |
---|
ContainsAssignmentCondition(SchemaVariable x,
boolean negated)
creates an instance of the variable condition
|
Modifier and Type | Method and Description |
---|---|
boolean |
check(SchemaVariable var,
SVSubstitute instCandidate,
SVInstantiations instMap,
Services services)
checks if the condition for a correct instantiation is fulfilled
|
java.lang.String |
toString() |
check
public ContainsAssignmentCondition(SchemaVariable x, boolean negated)
x
- the schemavariable whose instantiation is to be checkednegated
- true iff the check should ensure the absence of an assignment statementjava.lang.IllegalArgumentException
- if the given schemavariable is not a ProgramSV
public boolean check(SchemaVariable var, SVSubstitute instCandidate, SVInstantiations instMap, Services services)
check
in class VariableConditionAdapter
var
- the template Variable to be instantiatedinstMap
- the MatchCondition with the current matching state and in particular
the SVInstantiations that are already known to be neededservices
- the program information objectpublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2003-2019 The KeY-Project.