Functions

Translation of functions from AST to SAST is now working.  
can you include a newline above this so that the methods don't look mutually recursive?
(that's the style we've been using elsewhere so it's obvious if the methods call each other or not)