Jeremiah Leary
62b716be7d
Updates for issue #541
...
Fixing comment_011 to handle comments at the beginning of the line.
1) Updated tests to expose the issue
2) Updated code
a) Updated token_map method
b) Updated extract function
2021-03-24 17:31:39 -05:00
Jeremiah Leary
61de3b1e11
Updates for issue #501 :
...
Fixing issue in token map where it was returning a list with None if the end pair token was not found.
2020-12-22 09:11:57 -06:00
Jeremiah Leary
7a25ded9ef
Updates for issues #457 and #444 :
...
Adding block rules.
1) Added documentation
2) Added tests
3) Added initial block rules
2020-12-10 13:48:21 -06:00
Jeremiah Leary
4721ae0322
Updates for Codacy flagged issues.
2020-12-04 13:27:19 -06:00
Jeremiah Leary
a0d6bc4af1
Refactoring get_sequence_of_tokens_not_matching
...
1) Moved from vsg.vhdlFile to vsg.vhdlFile.extract
2) Refactored to use token map
2020-12-02 14:19:21 -06:00
Jeremiah Leary
93f3f2970a
Adding copy option to token map get_token_indexes method.
2020-12-02 10:25:38 -06:00
Jeremiah Leary
af9a75dc38
Improving performace from last commit.
2020-12-02 10:21:36 -06:00
Jeremiah Leary
8d88659179
Fixed issue with rule if_002.
...
The base rule remove_excessive_blank_lines_above_line_starting_with_token was able to alter the token map.
This was due to the token map not returning a copy of it's lists.
2020-12-02 10:14:24 -06:00
Jeremiah Leary
9229214e85
Refactoring extract.get_n_token_after_tokens_between_tokens to use token map.
2020-12-01 08:35:28 -06:00
Jeremiah Leary
676df9b37f
Refactoring several extract rules to use local token class.
2020-12-01 08:05:50 -06:00
Jeremiah Leary
ccc3803613
Refactoring extract, base rules and token rules to use tokenMap.
2020-11-30 20:39:51 -06:00
Jeremiah Leary
17b5f2f21a
Performance enhancement: Upgrading several extract routines to use the tokenMap.
2020-11-28 19:40:46 -06:00
Jeremiah Leary
ca555d364c
Performance updates: Adding token_map.
2020-11-28 14:58:58 -06:00