Uses of Record Class
org.ek9lang.compiler.ir.data.CallConventions
Packages that use CallConventions
Package
Description
IR Data Structures - Metadata and detail classes for IR instructions.
IR Instruction Classes - The instruction set for EK9 intermediate representation.
-
Uses of CallConventions in org.ek9lang.compiler.ir.data
Fields in org.ek9lang.compiler.ir.data declared as CallConventionsModifier and TypeFieldDescriptionstatic final CallConventionsCallConventions.DEFAULTArguments borrowed, result owned, may throw - today's meaning of every call.Methods in org.ek9lang.compiler.ir.data that return CallConventionsModifier and TypeMethodDescriptionCallDetails.conventions()Returns the value of theconventionsrecord component.CallConventions.withNoThrow()The same conventions, proven never to throw.CallConventions.withOwnedArgument(int position) The same conventions with the argument atpositionconsumed by the callee.CallConventions.withUnmanagedResult()The same conventions with an UNMANAGED result.Methods in org.ek9lang.compiler.ir.data with parameters of type CallConventionsModifier and TypeMethodDescriptionCallDetails.withConventions(CallConventions newConventions) This call with different ownership conventions (EK9_IR_OWNERSHIP_MODEL.md §5); everything else unchanged.Constructors in org.ek9lang.compiler.ir.data with parameters of type CallConventionsModifierConstructorDescriptionCallDetails(String targetObject, String targetTypeName, String methodName, List<String> parameterTypes, String returnTypeName, List<String> arguments, CallMetaDataDetails metaData, boolean isVirtualCall, boolean isTraitCall, boolean isExplicitTraitDefaultCall, boolean isExternTarget, boolean statementOwned, boolean boundToNamedType, CallConventions conventions) Creates an instance of aCallDetailsrecord class. -
Uses of CallConventions in org.ek9lang.compiler.ir.instructions
Methods in org.ek9lang.compiler.ir.instructions that return CallConventionsModifier and TypeMethodDescriptionCallInstr.getConventions()The call's ownership conventions (EK9_IR_OWNERSHIP_MODEL.md §5): which arguments it consumes, whether its result is owned, whether it may throw.