vhdl-style-guide/vsg/tests/if_statement
Jeremiah Leary 9f65068692
Updates for issue #559: (#798)
* Updates for issue #559:

Adding documentation for configuring indent rules.

* Adding documentation:

  1)  Updated whitespace_002
  2)  Added whitespace_014
  3)  Added configuring tabs vs spaces

* Adding example documentation.
Fixing table.

* Updated documentation:

  1)  Removed whitespace_014
  2)  Updated whitespace_002 to only work on middle tabs
  3)  Removed configuring_tabs_vs_spaces document
  4)  Removed tabs as an option for indenting

* Updating token indent rules.

* Adding smart_tabs test for rule assert_statement_001

* Updating rule assert_400 to allow smart tabs.

* Refactoring assert_400 to improve readability.

* Refactoring to reduce complexity.

* Updates for rule case_011 and assert_400:

  1) Replaced align_consecutive_lines_after_line_starting_with_token_and_stopping_with_token with assert_400
  2) Updated rule assert_400 to inherit align rule
  3) Changed rule case_011 to use align rule

* Removing rule case_021.

The function of the rule is now covered by comment_010.

* Deprecating rule case_generate_alternative_300.

* Refactoring analyze to _analyze.

* Splitting configuration of rule assert_400 into its own page.

* Updating multiline_alignment_between_tokens to handle smart tabs.

* Deprecating rules if_032 and if_033.  They are covered by comment_010.

* Updated report_statement_400 to use align_consecutive_lines_after_line_starting_with_token_and_stopping_with_token.

* Updating rule process_028 to handle smart-tabs

 1) Updated tests
 2) Updated base rule align_left_token_with_right_token_if_right_token_starts_a_line

* Updating rule library_009 to handle smart-tabs

  1)  Updated tests
  2)  Updated base rule align_consecutive_lines_starting_with_a_comment_above_line_starting_with_token

* Minor formatting updates.

* Adding methods to support multiline alignment base class.

* Refactored rule constant_012 to split indent and alignment whitespace.

* Adding smart-tab support to rule constant_012.

* Removing old classify code.

* Removing debug print statement.

* Updating documentation for assert and report_statement rules.

* Updating rule concurrent_009 to support smart-tabs.

  1)  Added tests
  2)  Updated rule to support smart-tabs

* Updating documentation to match current implementation.

* Taking a different approach for multiline_alignment_between_tokens.

  1)  Reverted smart_tabs changes
  2)  Updated base rule to method employed on concurrent_009
  3)  Commented out smart_tab tests

* Updated missing meta data to Toi in rule constant_014

Fixed error in align_left_no_align_paren_no analyzer.

* Adding smart-tab support to base rule multiline_alignment_between_tokens.

* Updating alignment rules to support smart tabs.

  1)  Updated base rules
      a) vsg/rules/align_tokens_in_region_between_tokens.py
      b) vsg/rules/align_tokens_in_region_between_tokens_skipping_lines_starting_with_tokens.py
      c) vsg/rules/align_tokens_in_region_between_tokens_unless_between_tokens.py
  2)  Updated rule concurrent_008
  3)  Added tests

* Fixing issue with rule port_map_009 misfiring if the following token sequence occured:  comma, whitespace, carraige return.

* Updating solution for indent rules to give required tabs and spaces.
Fixing several bugs in indent implementation:
  1)  checking for smart-tabs instead of smart_tabs

* Updates for Codacy issues.

* Additional Codacy updates.

* Fixing style issues identified by CodeClimate.

* Additional style fixes identified by CodeClimate.

* Refactoring alignment rules:

  1)  Created utils file specifically for alignment rules
  2)  Refactored rules to move identical code into utils file

* Moving update_column_width into alignment_utils file.

* Moving functions into alignment_utils:
  1)  get_first_line_info
  2)  starts_with_paren

* Using functions in alignment_utils.

* Collapsing branches to improve readability.

* Refactoring to improve readability.
2022-10-07 08:01:03 -05:00
..
__init__.py Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_001_test_input.fixed.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_001_test_input.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_002_test_input.fixed_parenthesis_insert.vhd Updates for issue #668 (#670) 2021-12-18 07:16:42 -06:00
rule_002_test_input.fixed_parenthesis_remove.vhd Updates for issue #668 (#670) 2021-12-18 07:16:42 -06:00
rule_002_test_input.vhd Updates for issue #668 (#670) 2021-12-18 07:16:42 -06:00
rule_003_test_input.fixed.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_003_test_input.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_004_test_input.fixed.vhd Refactoring additional if and process rules for new parser. 2020-10-22 19:16:53 -05:00
rule_004_test_input.vhd Refactoring additional if and process rules for new parser. 2020-10-22 19:16:53 -05:00
rule_005_test_input.fixed.vhd Updates for issue #673 (#744) 2022-02-20 07:49:15 -06:00
rule_005_test_input.vhd Updates for issue #673 (#744) 2022-02-20 07:49:15 -06:00
rule_006_test_input.fixed.vhd Resolving conflict between if rules and loop_statement rules regarding blank lines. (#749) 2022-03-31 15:11:26 -05:00
rule_006_test_input.vhd Resolving conflict between if rules and loop_statement rules regarding blank lines. (#749) 2022-03-31 15:11:26 -05:00
rule_007_test_input.fixed.vhd Resolving conflict between if rules and loop_statement rules regarding blank lines. (#749) 2022-03-31 15:11:26 -05:00
rule_007_test_input.vhd Resolving conflict between if rules and loop_statement rules regarding blank lines. (#749) 2022-03-31 15:11:26 -05:00
rule_008_test_input.fixed.vhd Resolving conflict between if rules and loop_statement rules regarding blank lines. (#749) 2022-03-31 15:11:26 -05:00
rule_008_test_input.vhd Resolving conflict between if rules and loop_statement rules regarding blank lines. (#749) 2022-03-31 15:11:26 -05:00
rule_009_test_input.fixed.vhd Updates for issue #570 2021-04-29 21:11:33 -05:00
rule_009_test_input.vhd Updates for issue #570 2021-04-29 21:11:33 -05:00
rule_010_test_input.fixed.vhd Resolving conflict between if rules and loop_statement rules regarding blank lines. (#749) 2022-03-31 15:11:26 -05:00
rule_010_test_input.vhd Resolving conflict between if rules and loop_statement rules regarding blank lines. (#749) 2022-03-31 15:11:26 -05:00
rule_011_test_input.fixed.vhd Resolving conflict between if rules and loop_statement rules regarding blank lines. (#749) 2022-03-31 15:11:26 -05:00
rule_011_test_input.vhd Resolving conflict between if rules and loop_statement rules regarding blank lines. (#749) 2022-03-31 15:11:26 -05:00
rule_012_test_input.fixed.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_012_test_input.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_013_test_input.fixed.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_013_test_input.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_014_test_input.fixed.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_014_test_input.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_015_test_input.fixed.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_015_test_input.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_020_test_input.fixed.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_020_test_input.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_021_test_input.fixed.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_021_test_input.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_022_test_input.fixed.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_022_test_input.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_023_test_input.fixed.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_023_test_input.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_024_test_input.fixed.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_024_test_input.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_025_test_input.fixed_lower.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_025_test_input.fixed_upper.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_025_test_input.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_026_test_input.fixed_lower.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_026_test_input.fixed_upper.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_026_test_input.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_027_test_input.fixed_lower.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_027_test_input.fixed_upper.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_027_test_input.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_028_test_input.fixed_lower.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_028_test_input.fixed_upper.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_028_test_input.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_029_test_input.fixed_lower.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_029_test_input.fixed_upper.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_029_test_input.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_030_test_input.fixed_no_blank.vhd Updates for issue #504: 2021-01-29 19:43:33 -06:00
rule_030_test_input.fixed_require_blank.vhd Updates for issue #504: 2021-01-29 19:43:33 -06:00
rule_030_test_input.vhd Refactoring additional if_statement rules for new parser. 2020-10-24 17:01:50 -05:00
rule_031_test_input.fixed.vhd Refactoring additional if_statement rules for new parser. 2020-10-24 17:01:50 -05:00
rule_031_test_input.vhd Refactoring additional if_statement rules for new parser. 2020-10-24 17:01:50 -05:00
rule_034_test_input.fixed_lower.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_034_test_input.fixed_upper.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_034_test_input.vhd Refactoring if rules for new parser. 2020-10-09 08:37:20 -05:00
rule_035_test_input.fixed.vhd remove trailing whitespace 2021-01-11 21:55:56 +01:00
rule_035_test_input.vhd remove trailing whitespace 2021-01-11 21:55:56 +01:00
rule_036_test_input.fixed.vhd Updates for issue #592 2021-05-29 10:11:38 -05:00
rule_036_test_input.vhd Updates for issue #592 2021-05-29 10:11:38 -05:00
test_rule_001.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_002.py Updates for issue #651 (#662) 2022-01-01 17:46:43 -06:00
test_rule_003.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_004.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_005.py Updates for issue #673 (#744) 2022-02-20 07:49:15 -06: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 #570 2021-04-29 21:11:33 -05:00
test_rule_010.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_011.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_012.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_013.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_014.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_015.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_020.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_021.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_022.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_023.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_024.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_025.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_026.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_027.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_028.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_029.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_030.py Updates for issue #504: 2021-02-03 19:20:29 -06:00
test_rule_031.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_034.py Distinguish between file errors 2021-01-22 15:21:41 +01:00
test_rule_035.py Updates for issue #651 (#662) 2022-01-01 17:46:43 -06:00
test_rule_036.py Updates for issue #651 (#662) 2022-01-01 17:46:43 -06:00