tokenize.py: Add "flags" for each token ... in particular FLAG_OPEN/FLAG_CLOSE
commite05df0bf55968890381eba83d79ea7266cbaad4d
authorOwen W. Taylor <otaylor@fishsoup.net>
Sat, 3 Nov 2007 16:58:18 +0000 (3 12:58 -0400)
committerOwen W. Taylor <otaylor@fishsoup.net>
Sat, 3 Nov 2007 16:58:18 +0000 (3 12:58 -0400)
tree9356b47cbbb5846ad1bf17030991f8da4ad3d54e
parentfd7107a1c7600d7367764b56a0cf4fdfe63ed91e
tokenize.py: Add "flags" for each token ... in particular FLAG_OPEN/FLAG_CLOSE
  to indicate changes to the stack
tokenized_statement.py: Add iterators over the token (used internally), and
  a facility to find the matching paired token for a token
shell_buffer.py: Track the "pair location"
shell_view.py: Highlight the pair location by drawing a stroked rectangle
lib/reinteract/shell_buffer.py
lib/reinteract/shell_view.py
lib/reinteract/tokenize.py
lib/reinteract/tokenized_statement.py