 The tree building operators were used in the grammar rules directly transforming the input into an abstract syntax tree.Unparse rules are also test functions that matched tree patterns.Unparse rules are called from a grammar rule when an abstract syntax tree is to be transformed into output code.