vhdl-style-guide/vsg/tests/architecture
Jeremiah Leary 7225df8b9d
Updates for issue #539 (#751)
* Updates for issue #539

Adding multiline structural rule for rule signal_016.

  1)  Added test cases
  2)  Update rule signal_016
  3)  Updated documentation

* Adding test for arrays.

* Adding functions to combine slices into a single object

* Adding array_first_paren_new_line option.

* Removing unused code.

* Adding tests for the following parameter options:

  1)  array_first_paren_new_line (yes/no)
  2)  first_paren_new_line (yes/no)

* Adding documentation for configuring multiline constraint rules.

* Minor grammar updates.

* Updating per feedback:

  1)  Made symbols in table with a transparent background
  2)  Minor grammar updates
  3)  Fixed indenting in code examples

* Adding correct red penta star png file.

* Upated third example to correctly show behavior.

* Updated figure with correct indenting.
Fixed indenting in example 2.

* Adjusting indent on example 3 and example 4.

* Initial rewrite to classify constraints.

* Converting variable_declaration to call subtype_indication.classify.

* Changing constant_declaration to use subtype_indication.classify

* Changing unbounded_array_definition to use subtype_indication.classify

* Changing subtype_declaration to use subtype_indication.classify

* Changed interface_variable_declaration to call subtype_indication.classify

* Changing the following to use subtype_indication.classify:

  interface_constant_declaration
  interface_file_declaration
  interface_signal_declaration
  interface_unkown_declaration

* Changing the following to use subtype_indication.classify:

  constrained_array_definition

* Changing the following to use subtype_indication.classify

  element_subtype_definition

* Changing the following to use subtype_indication.classify:

  alias_declaration

* removing commented out line.

* Changing the following to use subtype_indication.classify:

  file_declaration

* Changing the following to use subtype_indication.classify

  access_type_definition

* Removing subtype_indication.classify_until

* Initial commit of rule signal_017

  * Implemented record_constraint_open_paren = add_new_line

* Minor refactoring.

* Extracted the following functions:

  _check_add_new_line
  _token_at_beginning_of_line

* Adding the following options to rule signal_017

  *  record_constraint_open_paren :: remove_new_line

* Adding the following options:

  record_constraint_close_paren :: add_new_line
  record_constraint_close_paren :: remove_new_line

* Adding the following options:

  record_constraint_comma :: remove_new_line

* Adding the following option:

  record_constraint_element :: add_new_line
  record_constraint_element :: remove_new_line

* Adding the following option:

  * array_constraint :: all_in_one_line

* Fixing issue with array_constraint::all_in_one_line not detecting multiline array_constraints.

* Adding the following options:

  array_constraint :: one_line_per_dimension

* Adding rule signal_400 to handle indenting of multiline signal constraints.

* Fixing issues for Codacy.

* Refactoring to reduce complexity and improve readability.

* Adding links to new rules.

* Refactoring to improve readability.

* Refactoring to improve readability.

* Fixing style issues.

* Updating for style issues.

* Updating formatting issues.

* Removing unused file.

* Removing commented out debug statements.

* Minor formatting updates.

* Adding metadata attribute and methods.

* Refactoring _check_array_contraint_one_line_per_dimension function to improve readability.

* Refactoring _check_array_constraint_all_in_one_line function to improve readability.

* Refactoring _create_violation to just take oToi as a parameter.

* Adding exception logic.

* Refactoring to improve readability.

* Refactored analyze_exception_one to improve readability.

* Refactoring the following functions:

  * _check_array_constraint_all_in_one_line
  * _check_array_constraint_one_line_per_dimension

* Refactoring the following functions:

  *  add_index_constraint_open_parenthesis
  *  add_index_constraint_close_parenthesis
  *  add_record_constraint_open_parenthesis
  *  add_record_constraint_close_parenthesis

* Refactoring to improve readability.

* Minor formatting updates.

* Adjusting signal_400 to remove extra level of indent.

* Updates for rule signal_400:

  1)  Modified base rule multiline_alignment_between_tokens to support signal_400
  2)  Added tests for the four variants of options.

* Fixing style issues.

* Simplifying _check_new_line_after_comma function.

* Deprecating rule signal_016.

* Removing unused base rule multiline_declaration_structure.

* Style and minor refactorings.

* Moving filtering of toi's from _analyze to _get_tokens_of_interest.

* Extracted update_open_paren_counter from _classify_assignment

* Extracted update_close_paren_counter form _classify_assignment

* Refactoring _fix_violation to reduce complexity

* Refactored _create_violation:

  1)  Placed violation information into oToi object

* Refactoring to reduce complexity.

* Adding rule constant_017

* Adding rule variable_017

* Updating links to rules.

* Adding rule variable_400.

* Minor cleanup of documentation.

* Adding default values for options.

* Minor updates for formatting:
2022-07-08 08:26:29 -05:00
..
__init__.py
…
rule_001_test_input.fixed.vhd
…
rule_001_test_input.vhd
…
rule_003_test_input.fixed.vhd
…
rule_003_test_input.vhd
…
rule_004_test_input.fixed_lower.vhd
…
rule_004_test_input.fixed_upper.vhd
…
rule_004_test_input.vhd
…
rule_005_test_input.fixed.vhd
…
rule_005_test_input.vhd
…
rule_006_test_input.fixed.vhd
…
rule_006_test_input.vhd
…
rule_007_test_input.fixed.vhd
…
rule_007_test_input.vhd
…
rule_008_test_input.fixed.vhd
…
rule_008_test_input.vhd
…
rule_009_test_input.fixed_lower.vhd
…
rule_009_test_input.fixed_upper.vhd
…
rule_009_test_input.vhd
…
rule_010_test_input.fixed_add.vhd Updates for issue #684 (#693) 2021-12-12 09:48:19 -06:00
rule_010_test_input.fixed_remove.vhd Updates for issue #684 (#693) 2021-12-12 09:48:19 -06:00
rule_010_test_input.vhd Updates for issue #684 (#693) 2021-12-12 09:48:19 -06:00
rule_011_test_input.fixed_lower.vhd
…
rule_011_test_input.fixed_upper.vhd
…
rule_011_test_input.vhd
…
rule_012_test_input.fixed.vhd Refactored rule architecture_012 for new parser. 2020-09-22 20:20:45 -05:00
rule_012_test_input.vhd Refactored rule architecture_012 for new parser. 2020-09-22 20:20:45 -05:00
rule_013_test_input.fixed_lower.vhd
…
rule_013_test_input.fixed_upper.vhd
…
rule_013_test_input.vhd
…
rule_014_test_input.fixed_lower.vhd Refactored rule architecture_014 for new parser. 2020-09-22 08:05:00 -05:00
rule_014_test_input.fixed_upper.vhd Refactored rule architecture_014 for new parser. 2020-09-22 08:05:00 -05:00
rule_014_test_input.vhd Refactored rule architecture_014 for new parser. 2020-09-22 08:05:00 -05:00
rule_015_test_input.fixed_no_blank.vhd Updates for issue #504: 2021-01-29 19:43:33 -06:00
rule_015_test_input.fixed_require_blank.vhd Updates for issue #504: 2021-01-29 19:43:33 -06:00
rule_015_test_input.vhd Refactoring rule architecture_015 for new parser. 2020-09-23 08:12:08 -05:00
rule_016_test_input.fixed_no_blank.vhd Updates for issue #504: 2021-01-30 20:28:22 -06:00
rule_016_test_input.fixed_require_blank.vhd Updates for issue #504: 2021-01-30 20:28:22 -06:00
rule_016_test_input.vhd Refactoring architecture_016 for new parser. 2020-09-23 17:39:35 -05:00
rule_017_test_input.fixed.vhd Refactoring rule architecture_017 for new parser. 2020-09-23 17:50:50 -05:00
rule_017_test_input.vhd Refactoring rule architecture_017 for new parser. 2020-09-23 17:50:50 -05:00
rule_018_test_input.fixed.vhd Refactored rule architecture_018 for new parser. 2020-09-23 19:38:15 -05:00
rule_018_test_input.vhd Refactored rule architecture_018 for new parser. 2020-09-23 19:38:15 -05:00
rule_019_test_input.fixed_lower.vhd Refactoring rule architecture_019 for new parser. 2020-09-22 08:10:50 -05:00
rule_019_test_input.fixed_upper.vhd Refactoring rule architecture_019 for new parser. 2020-09-22 08:10:50 -05:00
rule_019_test_input.vhd Refactoring rule architecture_019 for new parser. 2020-09-22 08:10:50 -05:00
rule_020_test_input.fixed_lower.vhd Refactoring rule architecture_020 for new parser. 2020-09-22 08:15:41 -05:00
rule_020_test_input.fixed_upper.vhd Refactoring rule architecture_020 for new parser. 2020-09-22 08:15:41 -05:00
rule_020_test_input.vhd Refactoring rule architecture_020 for new parser. 2020-09-22 08:15:41 -05:00
rule_021_test_input.fixed_lower.vhd Refactoring rule architecture_021 for new parser. 2020-09-22 08:20:33 -05:00
rule_021_test_input.fixed_upper.vhd Refactoring rule architecture_021 for new parser. 2020-09-22 08:20:33 -05:00
rule_021_test_input.vhd Refactoring rule architecture_021 for new parser. 2020-09-22 08:20:33 -05:00
rule_022_test_input.fixed.vhd Refactoring rule architecture_022 for new parser. 2020-09-23 19:47:39 -05:00
rule_022_test_input.vhd Refactoring rule architecture_022 for new parser. 2020-09-23 19:47:39 -05:00
rule_024_test_input.fixed_add.vhd Updates for issue #456 2020-12-12 10:49:44 -06:00
rule_024_test_input.fixed_remove.vhd Updates for issue #456 2020-12-12 10:49:44 -06:00
rule_024_test_input.vhd Refactoring rule architecture_024 for new parser. 2020-09-23 21:43:25 -05:00
rule_025_test_input.vhd Refactoring rule architecture_025 for new parser. 2020-09-23 22:37:06 -05:00
rule_026_test_input.fixed.vhd Updates for issue #661: (#718) 2022-02-04 18:16:08 -06:00
rule_026_test_input.fixed_allowing_blank_lines.vhd Updates for issue #661: (#718) 2022-02-04 18:16:08 -06:00
rule_026_test_input.fixed_allowing_comments.vhd Updates for issue #661: (#718) 2022-02-04 18:16:08 -06:00
rule_026_test_input.fixed_allowing_comments_and_blank_lines.vhd Updates for issue #661: (#718) 2022-02-04 18:16:08 -06:00
rule_026_test_input.fixed_allowing_comments_and_blank_lines_without_condensed.vhd Updates for issue #661: (#718) 2022-02-04 18:16:08 -06:00
rule_026_test_input.vhd Updates for issue #661: (#718) 2022-02-04 18:16:08 -06:00
rule_027_test_input.fixed.vhd Fixing bug with architecture_027 in which consecutive skip lines were not fixed. 2020-11-10 07:38:33 -06:00
rule_027_test_input.vhd Fixing bug with architecture_027 in which consecutive skip lines were not fixed. 2020-11-10 07:38:33 -06:00
rule_028_test_input.fixed_lower.vhd Refactoring rule architecture_028 for new parser. 2020-09-22 08:30:44 -05:00
rule_028_test_input.fixed_upper.vhd Refactoring rule architecture_028 for new parser. 2020-09-22 08:30:44 -05:00
rule_028_test_input.vhd Refactoring rule architecture_028 for new parser. 2020-09-22 08:30:44 -05:00
rule_029_test_input.fixed.vhd Updates for issue #539 (#751) 2022-07-08 08:26:29 -05:00
rule_029_test_input.vhd Updates for issue #539 (#751) 2022-07-08 08:26:29 -05:00
rule_030_test_input.fixed.vhd Refactored rule architecture_002 for new parser. 2020-09-26 10:21:53 -05:00
rule_030_test_input.vhd Refactored rule architecture_002 for new parser. 2020-09-26 10:21:53 -05:00
rule_031_test_input.fixed.vhd Refactored rule architecture_002 for new parser. 2020-09-26 10:21:53 -05:00
rule_031_test_input.vhd Refactored rule architecture_002 for new parser. 2020-09-26 10:21:53 -05:00
rule_032_test_input.fixed.vhd Refactored rule architecture_002 for new parser. 2020-09-26 10:21:53 -05:00
rule_032_test_input.vhd Refactored rule architecture_002 for new parser. 2020-09-26 10:21:53 -05:00
rule_033_test_input.fixed.vhd Refactored rule architecture_002 for new parser. 2020-09-26 10:21:53 -05:00
rule_033_test_input.vhd Refactored rule architecture_002 for new parser. 2020-09-26 10:21:53 -05:00
rule_200_test_input.fixed.vhd Updates for issue #487 2020-12-19 11:51:54 -06:00
rule_200_test_input.vhd Updates for issue #487 2020-12-19 11:51:54 -06:00
rule_400_test_input.fixed.vhd Updates for issue #784: (#785) 2022-05-16 18:25:58 -05:00
rule_400_test_input.vhd Updates for issue #784: (#785) 2022-05-16 18:25:58 -05:00
rule_600_test_input.fixed.vhd Updates for issue #539 (#751) 2022-07-08 08:26:29 -05:00
rule_600_test_input.vhd Updates for issue #539 (#751) 2022-07-08 08:26:29 -05:00
rule_601_test_input.fixed.vhd Issue 554a (#659) 2021-11-03 08:18:40 -05:00
rule_601_test_input.vhd Issue 554a (#659) 2021-11-03 08:18:40 -05:00
test_rule_001.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_003.py Updates for issue #504: 2021-01-25 19:24:52 -06:00
test_rule_004.py Updates for issue #651 (#662) 2022-01-01 17:46:43 -06:00
test_rule_005.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_006.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_007.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_008.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_009.py Updates for issue #651 (#662) 2022-01-01 17:46:43 -06:00
test_rule_010.py Updates for issue #684 (#693) 2021-12-12 09:48:19 -06:00
test_rule_011.py Updates for issue #651 (#662) 2022-01-01 17:46:43 -06:00
test_rule_012.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_013.py Updates for issue #651 (#662) 2022-01-01 17:46:43 -06:00
test_rule_014.py Updates for issue #651 (#662) 2022-01-01 17:46:43 -06:00
test_rule_015.py Updates for issue #504: 2021-02-03 19:20:29 -06:00
test_rule_016.py Updates for issue #504: 2021-02-03 19:20:29 -06:00
test_rule_017.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_018.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_019.py Updates for issue #651 (#662) 2022-01-01 17:46:43 -06:00
test_rule_020.py Updates for issue #651 (#662) 2022-01-01 17:46:43 -06:00
test_rule_021.py Updates for issue #651 (#662) 2022-01-01 17:46:43 -06:00
test_rule_022.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_024.py Updates for issue #651 (#662) 2022-01-01 17:46:43 -06:00
test_rule_025.py Updates for issue #651 (#662) 2022-01-01 17:46:43 -06:00
test_rule_026.py Updates for issue #661: (#718) 2022-02-04 18:16:08 -06:00
test_rule_027.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_028.py Updates for issue #651 (#662) 2022-01-01 17:46:43 -06:00
test_rule_029.py Updates for issue #661: (#718) 2022-02-04 18:16:08 -06:00
test_rule_030.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_031.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_032.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_033.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_200.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_400.py Updates for issue #784: (#785) 2022-05-16 18:25:58 -05:00
test_rule_600.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_601.py Updates for issue #651 (#662) 2022-01-01 17:46:43 -06:00