Add resultOf and treeOf methods in SyntaxEnhancer.TEnhancer