Version: 9.15.0
pythfilter.py File Reference

Namespaces

 pythfilter
 

Functions

def pythfilter.output (s, spos, immediate=0)
 Output string s. More...
 
def pythfilter.rec_name_n_param (type, tok)
 Records a name and parameters. More...
 
def pythfilter.start_recording ()
 Starts the recording of a name & param part. More...
 
def pythfilter.is_recording_finished ()
 Test if recording is finished. More...
 
def pythfilter.gather_comment (type, tok, spos)
 Gather comment block. More...
 
def pythfilter.print_comment (spos)
 Output comment block and empty buffer. More...
 
def pythfilter.set_state (s)
 
def pythfilter.get_state ()
 
def pythfilter.push_state (s)
 
def pythfilter.pop_state ()
 
def pythfilter.tok_eater (type, tok, spos, epos, line)
 
def pythfilter.dump (filename)
 
def pythfilter.filter (filename)
 
def pythfilter.filterFile (filename, out=sys.stdout)
 
def pythfilter.preparePath (path)
 
def pythfilter.isNewer (file1, file2)
 
def pythfilter.convert (srcpath, destpath)
 

Variables

int pythfilter.OUTSIDE = 0
 
int pythfilter.BUILD_COMMENT = 1
 
int pythfilter.BUILD_CLASS_DECL = 2
 
int pythfilter.BUILD_CLASS_BODY = 3
 
int pythfilter.BUILD_DEF_DECL = 4
 
int pythfilter.BUILD_DEF_BODY = 5
 
int pythfilter.IMPORT = 6
 
int pythfilter.IMPORT_OP = 7
 
int pythfilter.IMPORT_APPEND = 8
 
 pythfilter.outfile = sys.stdout
 
list pythfilter.outbuffer = []
 
int pythfilter.out_row = 0
 
int pythfilter.out_col = 0
 
string pythfilter.name = ""
 
string pythfilter.param = ""
 
string pythfilter.doc_string = ""
 
int pythfilter.record_state = 0
 
int pythfilter.bracket_counter = 0
 
tuple pythfilter.class_spos = (0,0)
 
tuple pythfilter.def_spos = (0,0)
 
tuple pythfilter.import_spos = (0,0)
 
string pythfilter.import_token = ""
 
list pythfilter.comment_block = []
 
int pythfilter.comment_finished = 0
 
list pythfilter.modules = []
 
list pythfilter.stateStack = [OUTSIDE]
 
bool pythfilter.module_has_docstring = False
 
string pythfilter.protection_level = "public"
 
bool pythfilter.private_member = False
 
string pythfilter.namespace = ""
 
bool pythfilter.filter_file = False
 
 pythfilter.opts
 
 pythfilter.args
 
 pythfilter.filename = string.join(args)
 
def pythfilter.c = convert(args[0],args[1])