I\'ve checked binary tree class methods, and How to extract tree structure from ctree function? (which was helpful understanding S4 object structure and slots),
The mlmeta R package's ctree2sas() function converts fitted ctree models to SAS code. It can be easily adapted to other languages and is generally instructive on the internals of the object.