The class vhdlFile now takes a list instead of a file name.
This removes the responsibility of reading the file from the vhdlFile class.
Which allows for better integration into other tools.
Use list comprehensions rather than iterating and appending.
Don't worry about limiting the number of lines considered in
test_block_indent_assignment(). The other tests don't do this and the
comparison will work as expected even if the lists are different sizes.
Remove unnecessary comments. It is obvious that the result of a list
comprehension will be a list and that assertEqual will compare its two
arguments.
Add an array type and constant to the block unit test input file to
increase the range of scenarios covered.
Change the entity name from "ENTITY" to "BLOCK_EXAMPLE" so that it does
not conflict with the keyword.
Add an entity declaration so that the file is a valid standalone VHDL
design.
Adding initial support for blocks:
1) block structures are now detected
2) indenting enforced
NOTE: extensive testing of structures within a block have not been tested.