How to do this?

I hope to use Sage++ to make cosmetic reformats to Fortran
source code. I can see see how the class structure gives me
the parse tree information I need to distinguish names which
represent PARAMETERS and, say local variables. I don't know
whether I can use the unparser when I access and modify the
whitespace surrounding symbols and operators, the casing of
identifiers, or if I am restricted to building a list of 
textual substitutions from the parsed file, and then applying 
them to the source code myself. Any suggestions? 

I have read through the documentation but cannot see how to
access information about whitespacing of statements, indents, etc.


Peter Booth             Email: P.Booth@ic.ac.uk
Imperial College Centre for Environmental Technology
48 Prince's Gardens, London SW7 2PE
0171-594 9296 (ph) 
0171-581 0245 (FAX)