Example #1
0
 def __init__(self):
     move_token_next_to_another_token.__init__(self, 'generic_map', '003', token.map_keyword, token.open_parenthesis)
     self.solution = 'Move the ( to the same line as the *generic map* keywords.'
Example #2
0
 def __init__(self):
     move_token_next_to_another_token.__init__(self, 'entity', '005', token.identifier, token.is_keyword)
     self.subphase = 1
     self.solution = 'Move *is* keyword next to identifier'
Example #3
0
 def __init__(self):
     move_token_next_to_another_token.__init__(self, 'architecture', '006',
                                               token.entity_name,
                                               token.is_keyword)
     self.solution = 'Ensure *is* keyword is on the same line as the entity name.'
Example #4
0
 def __init__(self):
     move_token_next_to_another_token.__init__(self, 'context', '005', token.context_keyword, token.identifier)
     self.subphase = 1
     self.solution = 'Move identifier next to context keyword'
Example #5
0
 def __init__(self):
     move_token_next_to_another_token.__init__(self, 'context', '010',
                                               token.end_context_keyword,
                                               token.context_simple_name)
     self.subphase = 2
     self.solution = 'Move context_simple_name next to context keyword'
Example #6
0
 def __init__(self):
     move_token_next_to_another_token.__init__(self, 'instantiation', '026',
                                               token.map_keyword,
                                               token.open_parenthesis)
     self.solution = 'Move the ( to the same line as the "generic map" keyword.'
Example #7
0
 def __init__(self):
     move_token_next_to_another_token.__init__(self, 'context', '006',
                                               token.identifier,
                                               token.is_keyword)
     self.subphase = 2
     self.solution = 'Move *is* keyword next to context identifier'
Example #8
0
 def __init__(self):
     move_token_next_to_another_token.__init__(self, 'port', '021', token.port_keyword, token.open_parenthesis)
     self.solution = 'Move the ( to the same line as the "port" keyword.'
Example #9
0
 def __init__(self):
     move_token_next_to_another_token.__init__(self, 'component', '005', token.identifier, token.is_keyword)
     self.solution = 'Ensure "is" keyword is on the same line as the entity name.'
Example #10
0
 def __init__(self):
     move_token_next_to_another_token.__init__(self, 'generic', '018',
                                               token.generic_keyword,
                                               token.open_parenthesis)
     self.solution = 'Move the ( to the same line as the *generic* keyword.'
Example #11
0
 def __init__(self):
     move_token_next_to_another_token.__init__(self, 'architecture', '005',
                                               token.identifier,
                                               token.of_keyword)
     self.solution = 'Ensure "of" keyword is on the same line as the architecture identifier.'
Example #12
0
 def __init__(self):
     move_token_next_to_another_token.__init__(self, 'context', '009',
                                               token.end_keyword,
                                               token.end_context_keyword)
     self.subphase = 1
     self.solution = 'Move identifier next to end keyword'
Example #13
0
 def __init__(self):
     move_token_next_to_another_token.__init__(self, 'package', '005',
                                               token.identifier,
                                               token.is_keyword)
     self.solution = 'Ensure *is* keyword is on the same line as the "package" keyword.'
Example #14
0
 def __init__(self):
     move_token_next_to_another_token.__init__(self, 'package_body', '001', token.package_simple_name, token.is_keyword)
     self.solution = 'Ensure *is* keyword is on the same line as the "package" keyword.'