Skip to content

Latest commit

 

History

History
133 lines (71 loc) · 3.01 KB

entity_specification_rules.rst

File metadata and controls

133 lines (71 loc) · 3.01 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.

Refer to the section Configuring Uppercase and Lowercase Rules for information on changing the default 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.

Refer to the section Configuring Uppercase and Lowercase Rules for information on changing the default 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 checks the entity_designator has proper case.

Refer to the section Configuring Uppercase and Lowercase Rules for information on changing the default case.

Violation

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

Fix

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

entity_specification_503

This rule checks the entity_class has proper case.

Refer to the section Configuring Uppercase and Lowercase Rules for information on changing the default 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);