Ada Programming/Attributes/'Priority
Appearance
Description
[edit | edit source]Returns the priority of P.
Denotes a non-aliased component of the protected object P. This component is of type System.Any_Priority and its value is the priority of P. P'Priority denotes a variable if and only if P denotes a variable. A reference to this attribute shall appear only within the body of P.
Example
[edit | edit source]P’Priority return System.Any_Priority