Ejemplo n.º 1
0
 def __init__(self):
     single_space_before_rule.__init__(self)
     self.name = 'constant'
     self.identifier = '010'
     self.solution = 'Add a space before the := assignment.'
     self.sTrigger = 'isConstant'
     self.sWord = ':='
Ejemplo n.º 2
0
 def __init__(self):
     single_space_before_rule.__init__(self, 'process', '014', 'isSensitivityListEnd', 'is')
     self.solution = 'Ensure only a single space exists between the ) and "is" keyword.'
Ejemplo n.º 3
0
 def __init__(self):
     single_space_before_rule.__init__(self, 'if', '004', 'isThenKeyword',
                                       'then')
     self.solution = 'Ensure only a single space exists between the ) and "then" keyword.'
Ejemplo n.º 4
0
 def __init__(self):
     single_space_before_rule.__init__(self, 'type', '006', 'isTypeKeyword',
                                       'is', True)
     self.solution = 'Ensure a single space before the "is" keyword.'
Ejemplo n.º 5
0
 def __init__(self):
     single_space_before_rule.__init__(self, 'case', '005', 'isCaseWhenEnd',
                                       '=>')
     self.solution = 'Ensure a single space exists before the "=>" keyword.'
Ejemplo n.º 6
0
 def __init__(self):
     single_space_before_rule.__init__(self, 'entity', '007',
                                       'isEntityDeclaration', 'is')
     self.solution = 'Remove extra spaces before "is" keyword.'
Ejemplo n.º 7
0
 def __init__(self):
     single_space_before_rule.__init__(self, 'case', '003', 'isCaseIsKeyword', 'is')
     self.solution = 'Ensure a single space exists before the "is" keyword.'