Exemplo n.º 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.'
Exemplo n.º 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'
Exemplo n.º 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.'
Exemplo n.º 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'
Exemplo n.º 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'
Exemplo n.º 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.'
Exemplo n.º 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'
Exemplo n.º 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.'
Exemplo n.º 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.'
Exemplo n.º 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.'
Exemplo n.º 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.'
Exemplo n.º 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'
Exemplo n.º 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.'
Exemplo n.º 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.'