Lines Matching refs:tree
34 # 1. A random expression tree is generated using proc [random_expr_tree].
35 # 2. The expression tree is converted to the text of an equivalent
39 # tree.
40 # 4. Test that the tree returned in step (3) matches that generated in
44 # expression tree by varying the following boolean properties:
78 # Generate and return a pseudo-random expression tree. Using the same
98 # Given an expression tree, generate a corresponding expression.
100 proc tree_to_expr {tree all_brackets implicit_and} {
106 set op [lindex $tree 0]
109 set phrase [lindex $tree 1]
124 set lhs [lindex $tree 1]
125 set rhs [lindex $tree 2]
147 proc do_exprparse_test {name expr tree} {
148 uplevel do_test $name [list "test_fts3expr2 {$expr}"] [list $tree]