Record Class SafeAccessConjuncts.Proof
java.lang.Object
java.lang.Record
org.ek9lang.compiler.phase5.SafeAccessConjuncts.Proof
- Enclosing class:
SafeAccessConjuncts
One fact a conjunct proves:
access (ok/error/get/next) on symbol is safe.-
Constructor Summary
ConstructorsConstructorDescriptionProof(ISymbol symbol, CommonValues access) Creates an instance of aProofrecord class. -
Method Summary
Modifier and TypeMethodDescriptionaccess()Returns the value of theaccessrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.symbol()Returns the value of thesymbolrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Proof
Proof(ISymbol symbol, CommonValues access) Creates an instance of aProofrecord class.- Parameters:
symbol- the value for thesymbolrecord componentaccess- the value for theaccessrecord 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). -
symbol
Returns the value of thesymbolrecord component.- Returns:
- the value of the
symbolrecord component
-
access
Returns the value of theaccessrecord component.- Returns:
- the value of the
accessrecord component
-