Record Class Ir.Quantified
java.lang.Object
java.lang.Record
org.clafer.frontend.Ir.Quantified
- Enclosing class:
Ir
public static record Ir.Quantified(SourceSpan span, Ir.Quantifier quantifier, List<Ir.Decl> decls, Ir.Exp body)
extends Record
implements Ir.Exp
q decls | body.-
Constructor Summary
ConstructorsConstructorDescriptionQuantified(SourceSpan span, Ir.Quantifier quantifier, List<Ir.Decl> decls, Ir.Exp body) Creates an instance of aQuantifiedrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbody()Returns the value of thebodyrecord component.decls()Returns the value of thedeclsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thequantifierrecord component.span()Returns the value of thespanrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Quantified
Creates an instance of aQuantifiedrecord class.- Parameters:
span- the value for thespanrecord componentquantifier- the value for thequantifierrecord componentdecls- the value for thedeclsrecord componentbody- the value for thebodyrecord component
-
-
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). -
span
Returns the value of thespanrecord component. -
quantifier
Returns the value of thequantifierrecord component.- Returns:
- the value of the
quantifierrecord component
-
decls
-
body
-