17 lines
397 B
Python
17 lines
397 B
Python
|
|
from vsg.rules import case_rule
|
|
from vsg import utils
|
|
|
|
|
|
class rule_004(case_rule):
|
|
'''
|
|
Process rule 004 checks the "begin" keyword has proper case.
|
|
'''
|
|
|
|
def __init__(self):
|
|
case_rule.__init__(self, 'process', '004', 'isProcessBegin')
|
|
self.solution = 'Change "begin" keyword to '
|
|
|
|
def _extract(self, oLine):
|
|
return utils.extract_words(oLine, ['begin'])
|