Subprogram Instantiation Rules
subprogram_instantiation_001
This rule checks the new subprogram identifier is on the same line as the procedure keyword.
Violation
procedure
my_proc is new my_generic_proc
Fix
procedure my_proc is new my_generic_proc
subprogram_instantiation_002
This rule checks the new subprogram identifier is on the same line as the function keyword.
Violation
function
my_func is new my_generic_func
Fix
function my_func is new my_generic_func
subprogram_instantiation_003
This rule checks the is keyword is on the same line as the new subprogram identifier.
Violation
procedure my_proc
is new my_generic_proc
Fix
procedure my_proc is new my_generic_proc
subprogram_instantiation_004
This rule checks the new keyword is on the same line as the is keyword.
Violation
procedure my_proc is
new my_generic_proc
Fix
procedure my_proc is new my_generic_proc
subprogram_instantiation_005
This rule checks the uninstantiated subprogram name is on the same line as the new keyword.
Violation
procedure my_proc is new
my_generic_proc
Fix
procedure my_proc is new my_generic_proc
subprogram_instantiation_100
This rule checks for a single space between the procedure keyword and the new subprogram identifier.
Refer to Configuring Whitespace Rules for options on changing the number of whitespaces..
Violation
procedure my_proc is new my_generic_proc
Fix
procedure my_proc is new my_generic_proc
subprogram_instantiation_101
This rule checks for a single space between the function keyword and the new subprogram identifier.
Refer to Configuring Whitespace Rules for options on changing the number of whitespaces..
Violation
function my_func is new my_generic_func
Fix
function my_func is new my_generic_func
subprogram_instantiation_102
This rule checks for a single space between the new subprogram identifier and the is keyword.
Refer to Configuring Whitespace Rules for options on changing the number of whitespaces..
Violation
procedure my_proc is new my_generic_proc
Fix
procedure my_proc is new my_generic_proc
subprogram_instantiation_103
This rule checks for a single space between the is keyword and the new keyword.
Refer to Configuring Whitespace Rules for options on changing the number of whitespaces..
Violation
procedure my_proc is new my_generic_proc
Fix
procedure my_proc is new my_generic_proc
subprogram_instantiation_104
This rule checks for a single space between new keyword and the uninstantiated subprogram name.
Refer to Configuring Whitespace Rules for options on changing the number of whitespaces..
Violation
procedure my_proc is new my_generic_proc
Fix
procedure my_proc is new my_generic_proc
subprogram_instantiation_500
This rule checks the instantiated package name has proper case.
Refer to Configuring Uppercase and Lowercase Rules for more information.
Violation
procedure MY_PROC is new my_generic_proc
Fix
procedure my_proc is new my_generic_proc
subprogram_instantiation_501
This rule checks the is keyword has proper case.
Refer to Configuring Uppercase and Lowercase Rules for more information.
Violation
procedure my_proc IS new my_generic_proc
Fix
procedure my_proc is new my_generic_proc
subprogram_instantiation_502
This rule checks the new keyword has proper case.
Refer to Configuring Uppercase and Lowercase Rules for more information.
Violation
procedure my_proc is NEW my_generic_proc
Fix
procedure my_proc is new my_generic_proc
subprogram_instantiation_503
This rule checks the uninstantiated subprogram name has proper case.
Refer to Configuring Uppercase and Lowercase Rules for more information.
Violation
procedure my_proc is new MY_GENERIC_PROC
Fix
procedure my_proc is new my_generic_proc