Record Class ConstructTargetTuple
java.lang.Object
java.lang.Record
org.ek9lang.compiler.backend.ConstructTargetTuple
public record ConstructTargetTuple(IRConstruct construct, String relativeFileName, CompilerFlags compilerFlags, File targetFile)
extends Record
A given construct from a specific source should be output to the targetFile.
- 
Constructor SummaryConstructorsConstructorDescriptionConstructTargetTuple(IRConstruct construct, String relativeFileName, CompilerFlags compilerFlags, File targetFile) Creates an instance of aConstructTargetTuplerecord class.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the value of thecompilerFlagsrecord component.Returns the value of theconstructrecord 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 therelativeFileNamerecord component.Returns the value of thetargetFilerecord component.final StringtoString()Returns a string representation of this record class.
- 
Constructor Details- 
ConstructTargetTuplepublic ConstructTargetTuple(IRConstruct construct, String relativeFileName, CompilerFlags compilerFlags, File targetFile) Creates an instance of aConstructTargetTuplerecord class.- Parameters:
- construct- the value for the- constructrecord component
- relativeFileName- the value for the- relativeFileNamerecord component
- compilerFlags- the value for the- compilerFlagsrecord component
- targetFile- the value for the- targetFilerecord component
 
 
- 
- 
Method Details- 
toString
- 
hashCode
- 
equalsIndicates 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).
- 
constructReturns the value of theconstructrecord component.- Returns:
- the value of the constructrecord component
 
- 
relativeFileNameReturns the value of therelativeFileNamerecord component.- Returns:
- the value of the relativeFileNamerecord component
 
- 
compilerFlagsReturns the value of thecompilerFlagsrecord component.- Returns:
- the value of the compilerFlagsrecord component
 
- 
targetFileReturns the value of thetargetFilerecord component.- Returns:
- the value of the targetFilerecord component
 
 
-