Example #1
0
 def __init__(self):
     remove_spaces_before_token_rule.__init__(self,
                                              'whitespace',
                                              '006',
                                              parser.close_parenthesis,
                                              bIgnoreIfLineStart=True)
     self.solution = 'Remove spaces before close ).'
Example #2
0
 def __init__(self):
     remove_spaces_before_token_rule.__init__(self, 'whitespace', '004', parser.comma)
     self.solution = 'Remove spaces before commas.'
Example #3
0
 def __init__(self):
     remove_spaces_before_token_rule.__init__(
         self, 'localized', '009',
         token.interface_constant_declaration.colon)
     self.solution = 'Ensure no space exists between interface / parameter constant declaration and :'
Example #4
0
 def __init__(self):
     remove_spaces_before_token_rule.__init__(
         self, 'localized', '002', token.signal_declaration.colon)
     self.solution = 'Ensure no space exists between signal declaration and :'
Example #5
0
 def __init__(self):
     remove_spaces_before_token_rule.__init__(
         self, 'localized', '001', token.process_statement.label_colon)
     self.solution = 'Ensure no space exists between process label and :'
Example #6
0
 def __init__(self):
     remove_spaces_before_token_rule.__init__(
         self, 'localized', '011', token.interface_file_declaration.colon)
     self.solution = 'Ensure no space exists between interface / parameter unknown declaration and :'
Example #7
0
 def __init__(self):
     remove_spaces_before_token_rule.__init__(self, 'whitespace', '003', parser.semicolon)
     self.solution = 'Remove spaces before semicolons.'
Example #8
0
 def __init__(self):
     remove_spaces_before_token_rule.__init__(
         self, 'localized', '006', token.variable_declaration.colon)
     self.solution = 'Ensure no space exists between variable declaration and :'
Example #9
0
 def __init__(self):
     remove_spaces_before_token_rule.__init__(self, 'localized', '004',
                                              token.label_colon)
     self.solution = 'Ensure no space exists between for loop label and :'
Example #10
0
 def __init__(self):
     remove_spaces_before_token_rule.__init__(self, 'localized', '005',
                                              token.open_parenthesis)
     self.solution = 'Ensure no space exists between function name and the ('