syntax: Refactor draw_syntax_random and add draw_syntax_texttoken
I realized draw_syntax_classified is the same as draw_syntax_random, so just merge them. Also add draw_syntax_texttoken explicitly meant to weed out cases where token type is not set. |
---|
|
tests/parse/test_clear_notes.py |
---|
tests/parse/test_note.py |
---|
tests/parse/test_parse.py |
---|
tests/test_syntax.py |
---|
tests/test_tokenize.py |
---|