Package pylilac :: Module TokenDict :: Class TokenDict
[frames | no frames]

Class TokenDict

Known Subclasses:
AlternativeTokenDict

A token dictionary to tokenize a stream.

Version: 0.9

To Do for Version 1.0: alternative tokendict

Method Summary
  __init__(self, dict)
  __contains__(self, key)
  __getitem__(self, key)
  __len__(self)
  __setitem__(self, key, value)
  get_token(self, stream, position)
Read the next token from the strean, starting from a position.

Method Details

get_token(self, stream, position)

Read the next token from the strean, starting from a position.

Generated by Epydoc 2.1 on Sat Aug 26 09:33:46 2006 http://epydoc.sf.net