com.veromodo.tempo.filters.rules.concrete
Class EvolvePredicate

java.lang.Object
  extended by com.veromodo.tempo.filters.rules.concrete.EvolvePredicate
All Implemented Interfaces:
SemanticPredicate<ASTTrajectory>

public class EvolvePredicate
extends java.lang.Object
implements SemanticPredicate<ASTTrajectory>


Constructor Summary
EvolvePredicate(SemanticPredicate<ASTToken> op, SemanticRule val, boolean vlv)
           
EvolvePredicate(SemanticRule var, boolean vrv, SemanticPredicate<ASTToken> op, SemanticRule val, boolean vlv)
           
 
Method Summary
 boolean eval(ASTTrajectory d)
          evaluates the object n.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvolvePredicate

public EvolvePredicate(SemanticRule var,
                       boolean vrv,
                       SemanticPredicate<ASTToken> op,
                       SemanticRule val,
                       boolean vlv)

EvolvePredicate

public EvolvePredicate(SemanticPredicate<ASTToken> op,
                       SemanticRule val,
                       boolean vlv)
Method Detail

eval

public boolean eval(ASTTrajectory d)
Description copied from interface: SemanticPredicate
evaluates the object n. Returns true if the object matches the critera, false otherwise. Reports errors if nessisary.

Specified by:
eval in interface SemanticPredicate<ASTTrajectory>
Parameters:
d - an object to be checked.
Returns:
true if the object matches.