Externals-FieldLimits¶
User-provided summary of possible struct or class field values
This rule enables the user to define a lower and/or upper limit for the fields of a struct, union, or class. The limit applies to all instances of the specified types, rather than just individual instances. It can, e.g., be used to define possible initial or environment-based values for the fields.Possible Messages
This rule has no predefined messages.
Options¶
The following places define options that affect this rule: Analysis-GlobalOptions
fields¶
fields : set[bauhaus.analysis.config.QualifiedName] = set()
Namespace::MyStruct.x or MyTypedef.y.
max¶
max : int | None = None
min¶
min : int | None = None