Refactoring of library and base rules:
1) Most library rules refactored to use new base item rules
2) Base item rules refactored to use the region method on vhdlFile
3) Tests updated
4) Documentation updated
Adding rules for context references.
1) Added context reference rules 001 through 005
2) Refactored base rules to allow it to pull code from rule defined regions
3) Refactored context rules to match base rule changes
4) Added tests
5) Updated documentation
6) Updated context classifier
7) Added set_indent_levels method to vhdlFile class
Additional context rules added:
1) New rules added
a) context_007
b) context_021
c) context_022
2) New base rules added
a) insert_item_after_item_rule
b) copy_item_value_and_insert_new_item_after_item_rule
c) move_items_after_item_to_next_line_rule
3) Updated classifiers to use objects
a) library
b) use
4) Added tests
Adding new rules for context declarations:
1) Added context rule documentation
2) Added parsing of context declarations
a) Experimenting with using objects
3) Adding rules 002, 003, 004 and 005.
NOTE: These new rules need to be refactored before they are merged back to master.
Fixing issue where signal_015 would crash if commas existed after the : in the signal declaration.
1) Adding test to expose issue
2) Updated rule signal_015 to make the test pass
(cherry picked from commit 305124a55f8deb038ec32b63e3553c382e05f81d)
Adding ability to configure grouping by comments and blank lines.
1) Added tests
2) Updated documentation
3) Updated code based on keyword_alignment_rule
Adding rules to align declaration identifiers:
1) Updated documentation
2) Removed the following rules
file_003, constant_003, attribute_003, signal_003, subtype_003, type_003 and variable_003
3) Added new rules:
architecture_029, function_015, package_019, procedure_010 and process_037
4) Added tests for new rules
5) Updated classifiers to support new rules
Adding rule architecture_029 to align idenifiers in signal, constant, variable, file, type and subtype declarations.
1) Updated documentation
2) Added tests
3) line class updates
a) Added new architecture attribute
b) Added new method to update the line attributes from tokens
4) Added rule architecture_029
VSG was not handling more than two port assignments on a single line correctly for rule instantiation_021:
1) Updated tests to expose issue
2) Added tokenizing logic
3) Added three new utility functions
a) extract_port_assignments
b) extract_string_before_string
c) extract_string_after_string
4) Updated code to handle multiple port assignments correctly
Rule instantiation_024 could not handle functions in generic or port assignments:
1) Added test to expose the issue
2) Added remove_parenthesis function to utils
3) Updated rule instantiation_024 to handle functions in generic/port assignments
Rule port_013 was including a port assignment when determining how many ports were defined on a single line.
1) Added tests to expose the issue
2) Updated code to address the port_013 issue
Adding support for case generate statements:
1) Updated case classifications to differentiate between generate and case statements
2) Updated documentation
3) Added tests for generate case statements
4) Added rule generate_016 to enforce indention on when statements
The rule process_031 was attempting to align variables defined in function and procedures with variables outside functions and procedures in the process declarative region.
1) Updated tests to expose issue
2) Fixed to make tests pass
Additional issue found with handling indents on processes with just 'process is' when updating tests.
1) Fixed code to make tests pass