Skip to content

Latest commit

 

History

History
117 lines (63 loc) · 2.28 KB

entity_specification_rules.rst

File metadata and controls

117 lines (63 loc) · 2.28 KB

Entity Specification Rules

entity_specification_100

This rule checks for a single space after the colon.

Violation

attribute coordinate of comp_1 :component is (0.0, 17.5);
attribute coordinate of comp_1 :    component is (0.0, 17.5);

Fix

attribute coordinate of comp_1 : component is (0.0, 17.5);
attribute coordinate of comp_1 : component is (0.0, 17.5);

entity_specification_101

This rule checks for at least a single space before the colon.

Violation

attribute coordinate of comp_1: component is (0.0, 17.5);

attribute coordinate of comp_1     : component is (0.0, 17.5);

Fix

attribute coordinate of comp_1 : component is (0.0, 17.5);

attribute coordinate of comp_1     : component is (0.0, 17.5);

entity_specification_500

This rule checks the others keyword has proper case.

Violation

attribute coordinate of OTHERS : component is (0.0, 17.5);

Fix

attribute coordinate of others : component is (0.0, 17.5);

entity_specification_501

This rule checks the all keyword has proper case.

Violation

attribute coordinate of ALL : component is (0.0, 17.5);

Fix

attribute coordinate of all : component is (0.0, 17.5);

entity_specification_502

This rule has been deprecated. The case of entity_designator should be enforced by other rules.

entity_specification_503

This rule checks the entity_class has proper case.

Violation

attribute coordinate of comp_1 : COMPONENT is (0.0, 17.5);

Fix

attribute coordinate of comp_1 : component is (0.0, 17.5);