示例#1
0
 def __init__(self):
     single_space_between_tokens.__init__(self, 'context_ref', '002',
                                          token.keyword,
                                          token.selected_name)
     self.solution = 'Reduce spaces between *context* keyword and selected_name.'
示例#2
0
 def __init__(self):
     single_space_between_tokens.__init__(self, 'context', '019', token.end_context_keyword, token.context_simple_name)
     self.solution = 'Reduce spaces between context keyword and context_simple_name to a single space.'
示例#3
0
 def __init__(self):
     single_space_between_tokens.__init__(self, 'function', '002',
                                          token.function_keyword,
                                          token.designator)
     self.solution = 'Reduce spaces between *function* keyword and designator to a single space.'
示例#4
0
 def __init__(self):
     single_space_between_tokens.__init__(self, 'entity', '011',
                                          token.end_keyword,
                                          token.end_entity_keyword)
     self.solution = 'Reduce spaces between *end* keyword and *entity* keyword to a single space.'
示例#5
0
 def __init__(self):
     single_space_between_tokens.__init__(self, 'entity', '002', token.entity_keyword, token.identifier)
     self.solution = 'Reduce spaces between *entity* keyword and identifier to a single space.'
示例#6
0
 def __init__(self):
     single_space_between_tokens.__init__(self, 'case', '003', parser.todo, token.is_keyword)
     self.solution = 'Reduce spaces between the expression and the *is* keyword.'
示例#7
0
 def __init__(self):
     single_space_between_tokens.__init__(self, 'architecture', '030', token.architecture_keyword, token.identifier)
     self.solution = 'Reduce spaces between architecture keyword and identifier to a single space.'
示例#8
0
 def __init__(self):
     single_space_between_tokens.__init__(self, 'case', '002',
                                          token.case_keyword, parser.todo)
     self.solution = 'Reduce spaces between *case* keyword and expression.'
示例#9
0
 def __init__(self):
     single_space_between_tokens.__init__(self, 'architecture', '022',
                                          token.end_architecture_keyword,
                                          token.architecture_simple_name)
     self.solution = 'Reduce spaces between *architecture* keyword and architecture_simple_name to a single space.'
示例#10
0
 def __init__(self):
     single_space_between_tokens.__init__(self, 'context', '018',
                                          token.end_keyword,
                                          token.end_context_keyword)
     self.solution = 'Reduce spaces between *end* keyword and *context* keyword to a single space.'
示例#11
0
 def __init__(self):
     single_space_between_tokens.__init__(self, 'case', '005', parser.todo,
                                          token.assignment)
     self.solution = 'Reduce spaces between the choices and the assignment operator.'
示例#12
0
 def __init__(self):
     single_space_between_tokens.__init__(self, 'architecture', '033',
                                          token.entity_name,
                                          token.is_keyword)
     self.solution = 'Reduce spaces between the entity_name and the *is* keyword to a single space.'
示例#13
0
 def __init__(self):
     single_space_between_tokens.__init__(self, 'case', '006', token.end_keyword, token.end_case_keyword)
     self.solution = 'Reduce spaces between the *end* and *case* keywords to one space.'
示例#14
0
 def __init__(self):
     single_space_between_tokens.__init__(self, 'component', '002',
                                          token.component_keyword,
                                          token.identifier)
     self.solution = 'Reduce spaces between *component* keyword and identifier.'
示例#15
0
 def __init__(self):
     single_space_between_tokens.__init__(self, 'component', '011',
                                          token.end_keyword,
                                          token.end_component_keyword)
     self.solution = 'Reduce spaces between *end* keyword and *component* keyword.'
示例#16
0
 def __init__(self):
     single_space_between_tokens.__init__(self, 'architecture', '032',
                                          token.of_keyword,
                                          token.entity_name)
     self.solution = 'Reduce spaces between *of* keyword and entity_name to a single space.'
示例#17
0
 def __init__(self):
     single_space_between_tokens.__init__(self, 'entity', '007',
                                          token.identifier,
                                          token.is_keyword)
     self.solution = 'Reduce spaces between identifier and *is* keyword to a single space.'
示例#18
0
 def __init__(self):
     single_space_between_tokens.__init__(self, 'architecture', '012',
                                          token.end_keyword,
                                          token.end_architecture_keyword)
     self.solution = 'Reduce spaces between *end* and *architecture* keywords to a single space.'
示例#19
0
 def __init__(self):
     single_space_between_tokens.__init__(self, 'for_loop', '004',
                                          token.loop_label,
                                          token.label_colon)
     self.solution = 'Ensure a single space between label and :.'
示例#20
0
 def __init__(self):
     single_space_between_tokens.__init__(self, 'architecture', '031', token.identifier, token.of_keyword)
     self.solution = 'Reduce spaces between identifier and *of* keyword to a single space.'
示例#21
0
 def __init__(self):
     single_space_between_tokens.__init__(self, 'for_loop', '005',
                                          token.label_colon,
                                          iteration_scheme.for_keyword)
     self.solution = 'Ensure a single space between label and :.'
示例#22
0
 def __init__(self):
     single_space_between_tokens.__init__(self, 'entity', '013',
                                          token.end_entity_keyword,
                                          token.entity_simple_name)
     self.solution = 'Reduce spaces between *entity* keyword and the entity simple name to a single space.'