Uses of Interface
com.tnsai.invariants.InvariantExpression
Packages that use InvariantExpression
-
Uses of InvariantExpression in com.tnsai.invariants
Classes in com.tnsai.invariants that implement InvariantExpressionModifier and TypeClassDescriptionstatic final recordLogical AND (invalid input: '&'invalid input: '&').static final recordBinary comparison (==, !static final recordField reference (e.g., "state", "numberOfLiveNeighbors").static final recordLiteral value (number, string, boolean, enum).static final recordMethod call (e.g., "isEmpty()").static final recordLogical NOT (!).static final recordLogical OR (||).Methods in com.tnsai.invariants that return InvariantExpressionModifier and TypeMethodDescriptionInvariantExpression.Not.expr()Returns the value of theexprrecord component.InvariantExpression.And.left()Returns the value of theleftrecord component.InvariantExpression.Comparison.left()Returns the value of theleftrecord component.InvariantExpression.Or.left()Returns the value of theleftrecord component.Parses an invariant string into an expression tree.InvariantExpression.And.right()Returns the value of therightrecord component.InvariantExpression.Comparison.right()Returns the value of therightrecord component.InvariantExpression.Or.right()Returns the value of therightrecord component.InvariantExpression.MethodCall.target()Returns the value of thetargetrecord component.Methods in com.tnsai.invariants that return types with arguments of type InvariantExpressionModifier and TypeMethodDescriptionInvariantExpression.MethodCall.args()Returns the value of theargsrecord component.Methods in com.tnsai.invariants with parameters of type InvariantExpressionModifier and TypeMethodDescriptionInvariantEvaluator.evaluate(InvariantExpression expr) Evaluates the expression and returns the result.booleanInvariantEvaluator.evaluateAsBoolean(InvariantExpression expr) Evaluates the expression as a boolean.Constructors in com.tnsai.invariants with parameters of type InvariantExpressionModifierConstructorDescriptionAnd(InvariantExpression left, InvariantExpression right) Creates an instance of aAndrecord class.Comparison(InvariantExpression left, InvariantExpression.ComparisonOp op, InvariantExpression right) Creates an instance of aComparisonrecord class.MethodCall(InvariantExpression target, String methodName, List<InvariantExpression> args) Creates an instance of aMethodCallrecord class.Not(InvariantExpression expr) Creates an instance of aNotrecord class.Or(InvariantExpression left, InvariantExpression right) Creates an instance of aOrrecord class.Constructor parameters in com.tnsai.invariants with type arguments of type InvariantExpressionModifierConstructorDescriptionMethodCall(InvariantExpression target, String methodName, List<InvariantExpression> args) Creates an instance of aMethodCallrecord class.