18 lines
572 B
Python
18 lines
572 B
Python
|
|
from vsg import token
|
|
|
|
from vsg.rules import token_case_formal_part_of_association_element_in_map_between_tokens
|
|
|
|
oStart = token.component_instantiation_statement.instantiation_label
|
|
oEnd = token.component_instantiation_statement.semicolon
|
|
|
|
sMapType = 'generic'
|
|
|
|
|
|
class rule_002(token_case_formal_part_of_association_element_in_map_between_tokens):
|
|
'''
|
|
Checks the generic name has proper case.
|
|
'''
|
|
def __init__(self):
|
|
token_case_formal_part_of_association_element_in_map_between_tokens.__init__(self, 'generic_map', '002', sMapType, oStart, oEnd)
|