Add walk and process functions for the Syntax Tree