public final class LocalVariableCondition extends VariableConditionAdapter
Modifier and Type | Field and Description |
---|---|
private boolean |
neg |
private SchemaVariable |
var |
Constructor and Description |
---|
LocalVariableCondition(SchemaVariable var,
boolean neg) |
Modifier and Type | Method and Description |
---|---|
boolean |
check(SchemaVariable var,
SVSubstitute candidate,
SVInstantiations svInst,
Services services)
checks if the condition for a correct instantiation is fulfilled
|
java.lang.String |
toString() |
check
private final SchemaVariable var
private final boolean neg
public LocalVariableCondition(SchemaVariable var, boolean neg)
public boolean check(SchemaVariable var, SVSubstitute candidate, SVInstantiations svInst, Services services)
VariableConditionAdapter
check
in class VariableConditionAdapter
var
- the template Variable to be instantiatedsvInst
- 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