[ ] Remove in-document error display on fill and raise errors on scan instead
[ ] Enhance regexes and move them in utils (to avoid import another regex module) if possible
\[\s*if\s*\$([a-zA-Z0-9_]+)\s*(\=\=|\!\=)\s*([a-zA-Z0-9_\-\.\,]+)\s*\] → \[\s*if\s*\$(\w+)\s*(==|!=)\s*(.+(?<!\s))\s*\](\[\s*endif\s*\])$ → \[\s*endif\s*\]
[ ] Rewrite IfStatement (e.g. line 88 & IfStatement.getResult) - optionnaly, get rid of the class if useful
[ ] General improvements
Changes
Added : parsing of if/endif statement
Added : tests of the contents of the generated docs (for vars and if/endif for the moment)
Added : documentation in the README for if/endif statement
Added : document in the README to run tests
Added : Makefile to shorten some commom operations (run tests)
Added : ability to export the generated document in TXT or RTF
Checklist
[ ] If code changed were made, they have been tested.
Close #4
To do
\[\s*if\s*\$([a-zA-Z0-9_]+)\s*(\=\=|\!\=)\s*([a-zA-Z0-9_\-\.\,]+)\s*\]
→\[\s*if\s*\$(\w+)\s*(==|!=)\s*(.+(?<!\s))\s*\]
(\[\s*endif\s*\])$
→\[\s*endif\s*\]
IfStatement
(e.g. line 88 &IfStatement.getResult
) - optionnaly, get rid of the class if usefulChanges
Checklist