Package turbogears :: Package i18n :: Package pygettext :: Module pygettext :: Class TokenEater

Class TokenEater

source code

Instance Methods
 
__init__(self, options) source code
 
__call__(self, ttype, tstring, stup, etup, line) source code
 
set_filename(self, filename) source code
 
set_file_encoding(self, fp)
Search for -*- coding: -*- magic comment to find out file encoding
source code
 
extract_genshi_strings(self)
Extract translatable strings from a Genshi template.
source code
 
extract_kid_strings(self) source code
 
write(self, fp) source code
Method Details

extract_genshi_strings(self)

source code 

Extract translatable strings from a Genshi template.

See the docstring of the eponymous module function for documentation.