Record Class SymbolicPathConditionWalker.AnalysisResult
java.lang.Object
java.lang.Record
org.ek9lang.compiler.phase5.flow.SymbolicPathConditionWalker.AnalysisResult
- Enclosing class:
SymbolicPathConditionWalker
public static record SymbolicPathConditionWalker.AnalysisResult(PathCondition baseCondition, SymbolicPathConditionWalker.BranchResult ifBranch)
extends Record
The base (pre-branch) path condition and the verdict for the function's
if branch.-
Constructor Summary
ConstructorsConstructorDescriptionAnalysisResult(PathCondition baseCondition, SymbolicPathConditionWalker.BranchResult ifBranch) Creates an instance of aAnalysisResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebaseConditionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.ifBranch()Returns the value of theifBranchrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AnalysisResult
public AnalysisResult(PathCondition baseCondition, SymbolicPathConditionWalker.BranchResult ifBranch) Creates an instance of aAnalysisResultrecord class.- Parameters:
baseCondition- the value for thebaseConditionrecord componentifBranch- the value for theifBranchrecord 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). -
baseCondition
Returns the value of thebaseConditionrecord component.- Returns:
- the value of the
baseConditionrecord component
-
ifBranch
Returns the value of theifBranchrecord component.- Returns:
- the value of the
ifBranchrecord component
-