Unit 'TypInfo' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#rtl]

TParameterLocation

Describe a method argument (parameter) location.

Declaration

Source position: typinfo.pp line 156

type TParameterLocation = packed record

public

  RegSub: TSubRegister;

  

Sub register indicator.

  RegNumber: Word;

  

Register number.

  Offset: SizeInt;

  

Stack offset or index of register.

  property Reference: Boolean; [r]

  

Is the offset a stack offset or register index.

  property RegType: TRegisterType; [r]

  

Register type.

  property ShiftVal: Int8; [r]

  

Register shift.

end;

Description

TParameterLocation is used by RTTI to describe the location of a parameter (argument) when arguments are passed to a method call. It has the same memory layout as the actual RTTI data. It offers the following fields and properties:

RegSub
Sub register indicator.
RegNumber
Register number.
Offset
Stack offset or index of register.
Property Reference
Is the offset a stack offset or register index.
Property RegType
Register type.
Property ShiftVal
Register shift.

See also

TParameterLocation

  

Describe a method argument (parameter) location.

TRegisterType

  

Register type.

TSubRegister

  

CPU Sub register size/location.


Documentation generated on: Jul 24 2023