Next: , Previous: Deep_Inheritance_Hierarchies, Up: Predefined Rules


23.7.10 Deeply_Nested_Generics

Flags a generic declaration nested in another generic declaration if the nesting level of the inner generic exceeds a value specified by the N rule parameter. The nesting level is the number of generic declaratons that enclose the given (generic) declaration. Formal packages are not flagged by this rule.

This rule has the following (mandatory) parameters for the +R option:

N
Positive integer specifying the maximal allowed nesting level for a generic declaration.