lesscode.org


Parser

Send colored python source.


Methods

f __init__(self, filename, out=<open file '<stdout>', mode 'w' at 0x14068>) ...

Store the source text.

f format(self) ...

Parse and send the colored source.

f run_tokens(self, it) ...

Token handler.

f runlines(self, text, line_num, interpolate) ...

f write_line(self, line_num, br='<br />\n') ...

See the source for more information.