Record Class ConstraintExpr.Combination
java.lang.Object
java.lang.Record
org.ek9lang.compiler.symbols.ConstraintExpr.Combination
- Record Components:
booleanOp- "and" or "or" (compared case-insensitively)left- left operandright- right operand
- All Implemented Interfaces:
Serializable, ConstraintExpr
- Enclosing interface:
ConstraintExpr
public static record ConstraintExpr.Combination(String booleanOp, ConstraintExpr left, ConstraintExpr right)
extends Record
implements ConstraintExpr
A boolean combination of two constraints.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface ConstraintExpr
ConstraintExpr.Combination, ConstraintExpr.Comparison -
Constructor Summary
ConstructorsConstructorDescriptionCombination(String booleanOp, ConstraintExpr left, ConstraintExpr right) Creates an instance of aCombinationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebooleanOprecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.left()Returns the value of theleftrecord component.right()Returns the value of therightrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
booleanOp
-
left
-
right
-