17 lines
315 B
Python
17 lines
315 B
Python
|
|
from vsg.rules import token_case
|
|
|
|
from vsg import token
|
|
|
|
lTokens = []
|
|
lTokens.append(token.attribute_declaration.identifier)
|
|
|
|
|
|
class rule_501(token_case):
|
|
'''
|
|
Checks the identifier has proper case.
|
|
'''
|
|
|
|
def __init__(self):
|
|
token_case.__init__(self, 'attribute_declaration', '501', lTokens)
|