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 Summary
ConstructorsConstructorDescriptionConstructTargetTuple(IRConstruct construct, String relativeFileName, CompilerFlags compilerFlags, File targetFile) Creates an instance of aConstructTargetTuplerecord class. -
Method Summary
Modifier 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
-
ConstructTargetTuple
public ConstructTargetTuple(IRConstruct construct, String relativeFileName, CompilerFlags compilerFlags, File targetFile) Creates an instance of aConstructTargetTuplerecord class.- Parameters:
construct- the value for theconstructrecord componentrelativeFileName- the value for therelativeFileNamerecord componentcompilerFlags- the value for thecompilerFlagsrecord componenttargetFile- the value for thetargetFilerecord 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). -
construct
Returns the value of theconstructrecord component.- Returns:
- the value of the
constructrecord component
-
relativeFileName
Returns the value of therelativeFileNamerecord component.- Returns:
- the value of the
relativeFileNamerecord component
-
compilerFlags
Returns the value of thecompilerFlagsrecord component.- Returns:
- the value of the
compilerFlagsrecord component
-
targetFile
Returns the value of thetargetFilerecord component.- Returns:
- the value of the
targetFilerecord component
-