vhdl-style-guide/vsg/rules/__init__.py

109 lines
7.7 KiB
Python

from .token_indent import token_indent
from .token_indent_between_tokens import token_indent_between_tokens
from .remove_spaces_before_token_rule import remove_spaces_before_token_rule
from .move_token_next_to_another_token import move_token_next_to_another_token
from .move_token_next_to_another_token_if_it_exists_between_tokens import move_token_next_to_another_token_if_it_exists_between_tokens
from .move_token_to_the_right_of_several_possible_tokens import move_token_to_the_right_of_several_possible_tokens
from .blank_line_above_line_starting_with_token import blank_line_above_line_starting_with_token
from .insert_token_right_of_token_if_it_does_not_exist import insert_token_right_of_token_if_it_does_not_exist
from .single_space_between_tokens import single_space_between_tokens
from .line_length import line_length
from .token_case import token_case
from .token_case_in_range_bounded_by_tokens import token_case_in_range_bounded_by_tokens
from .blank_line_below_line_ending_with_token import blank_line_below_line_ending_with_token
from .insert_token_left_of_token_if_it_does_not_exist_between_tokens_using_value_from_token import insert_token_left_of_token_if_it_does_not_exist_between_tokens_using_value_from_token
from .is_token_value_one_of import is_token_value_one_of
from .align_tokens_in_region_between_tokens import align_tokens_in_region_between_tokens
from .align_tokens_in_region_between_tokens_unless_between_tokens import align_tokens_in_region_between_tokens_unless_between_tokens
from .align_tokens_in_region_between_tokens_skipping_lines_starting_with_tokens import align_tokens_in_region_between_tokens_skipping_lines_starting_with_tokens
from .align_left_token_with_right_token_if_right_token_starts_a_line import align_left_token_with_right_token_if_right_token_starts_a_line
from .remove_tokens import remove_tokens
from .remove_tokens_bounded_by_tokens_and_remove_trailing_whitespace import remove_tokens_bounded_by_tokens_and_remove_trailing_whitespace
from .remove_token_and_whitespace_before_it import remove_token_and_whitespace_before_it
from .insert_carriage_return_after_token_if_it_is_not_followed_by_a_comment import insert_carriage_return_after_token_if_it_is_not_followed_by_a_comment
from .insert_carriage_return_after_token_if_it_is_not_followed_by_a_comment_when_between_tokens import insert_carriage_return_after_token_if_it_is_not_followed_by_a_comment_when_between_tokens
from .insert_carriage_return_after_token_if_it_is_not_followed_by_a_comment_and_not_on_same_line_as_token import insert_carriage_return_after_token_if_it_is_not_followed_by_a_comment_and_not_on_same_line_as_token
from .align_consecutive_lines_starting_with_a_comment_above_line_starting_with_token import align_consecutive_lines_starting_with_a_comment_above_line_starting_with_token
from .align_consecutive_lines_after_line_starting_with_token_and_stopping_with_token import align_consecutive_lines_after_line_starting_with_token_and_stopping_with_token
from .whitespace_before_token import whitespace_before_token
from .whitespace_before_tokens_in_between_tokens import whitespace_before_tokens_in_between_tokens
from .remove_blank_lines_above_line_starting_with_token import remove_blank_lines_above_line_starting_with_token
from .single_space_after_token import single_space_after_token
from .single_space_before_token import single_space_before_token
from .blank_lines_between_token_pairs import blank_lines_between_token_pairs
from .single_space_between_token_pairs import single_space_between_token_pairs
from .single_space_between_token_pairs_bounded_by_tokens import single_space_between_token_pairs_bounded_by_tokens
from .n_spaces_between_token_pairs_when_bounded_by_tokens import n_spaces_between_token_pairs_when_bounded_by_tokens
from .n_spaces_before_and_after_tokens import n_spaces_before_and_after_tokens
from .n_spaces_after_tokens import n_spaces_after_tokens
from .consistent_token_case import consistent_token_case
from .token_prefix import token_prefix
from .token_prefix_between_tokens import token_prefix_between_tokens
from .token_suffix import token_suffix
from .token_suffix_between_tokens import token_suffix_between_tokens
from .split_line_at_token import split_line_at_token
from .split_line_at_token_when_between_tokens import split_line_at_token_when_between_tokens
from .insert_token_right_of_token_if_it_does_not_exist_before_token import insert_token_right_of_token_if_it_does_not_exist_before_token
from .insert_token_right_of_possible_tokens_if_it_does_not_exist_before_token import insert_token_right_of_possible_tokens_if_it_does_not_exist_before_token
from .remove_excessive_blank_lines_below_line_ending_with_token import remove_excessive_blank_lines_below_line_ending_with_token
from .remove_excessive_blank_lines_above_line_starting_with_token import remove_excessive_blank_lines_above_line_starting_with_token
from .formal_part_in_association_element_between_tokens import formal_part_in_association_element_between_tokens
from .move_token_sequences_left_of_token import move_token_sequences_left_of_token
from .remove_lines_starting_with_token_between_token_pairs import remove_lines_starting_with_token_between_token_pairs
from .token_case_subtype_indication import token_case_subtype_indication
from .separate_multiple_signal_identifiers_into_individual_statements import separate_multiple_signal_identifiers_into_individual_statements
from .remove_carriage_returns_between_token_pairs import remove_carriage_returns_between_token_pairs
from .split_line_at_token_if_on_same_line_as_token_if_token_pair_are_not_on_the_same_line import split_line_at_token_if_on_same_line_as_token_if_token_pair_are_not_on_the_same_line
from .remove_comments_from_end_of_lines_bounded_by_tokens import remove_comments_from_end_of_lines_bounded_by_tokens
from .token_case_formal_part_of_association_element_in_map_between_tokens import token_case_formal_part_of_association_element_in_map_between_tokens
from .token_case_n_token_after_tokens import token_case_n_token_after_tokens
from .token_case_n_token_after_tokens_between_tokens import token_case_n_token_after_tokens_between_tokens
from .existence_of_tokens_which_should_not_occur import existence_of_tokens_which_should_not_occur
from .multiline_alignment_between_tokens import multiline_alignment_between_tokens
from .remove_carriage_return_after_token import remove_carriage_return_after_token
from .move_token_to_the_right_of_several_possible_tokens_if_it_exists_between_tokens import move_token_to_the_right_of_several_possible_tokens_if_it_exists_between_tokens
from vsg.rules import after
from vsg.rules import architecture
from vsg.rules import assert_statement
from vsg.rules import attribute
from vsg.rules import case
from vsg.rules import comment
from vsg.rules import component
from vsg.rules import concurrent
from vsg.rules import constant
from vsg.rules import context
from vsg.rules import context_ref
from vsg.rules import entity
from vsg.rules import file_statement
from vsg.rules import for_loop
from vsg.rules import function
from vsg.rules import generate
from vsg.rules import generic
from vsg.rules import generic_map
from vsg.rules import if_statement
from vsg.rules import instantiation
from vsg.rules import length
from vsg.rules import library
from vsg.rules import package
from vsg.rules import port
from vsg.rules import port_map
from vsg.rules import process
from vsg.rules import procedure
from vsg.rules import ranges
from vsg.rules import sequential
from vsg.rules import signal
from vsg.rules import source_file
from vsg.rules import subtype
from vsg.rules import type_definition
from vsg.rules import variable_assignment
from vsg.rules import variable
from vsg.rules import wait
from vsg.rules import when
from vsg.rules import while_loop
from vsg.rules import whitespace
from vsg.rules import with_statement