!RBIX 0 x M 1 n n x 10 __script__ i 54 5 45 0 1 7 2 64 65 49 3 0 49 4 2 47 49 5 1 15 99 7 6 45 7 8 43 9 43 10 65 49 11 3 13 99 12 7 12 12 7 13 12 65 12 49 14 4 15 49 12 0 15 2 11 I 6 I 0 I 0 I 0 n p 15 x 4 File n s 9 ../helper x 11 active_path x 11 expand_path x 7 require x 10 ChoiceTest x 4 Test n x 4 Unit x 8 TestCase x 10 open_class x 14 __class_init__ M 1 n n x 10 ChoiceTest i 72 5 66 99 7 0 7 1 65 67 49 2 0 49 3 4 15 99 7 4 7 5 65 67 49 2 0 49 3 4 15 99 7 6 7 7 65 67 49 2 0 49 3 4 15 99 7 8 7 9 65 67 49 2 0 49 3 4 15 99 7 10 7 11 65 67 49 2 0 49 3 4 11 I 5 I 0 I 0 I 0 n p 12 x 14 test_terminal? M 1 n n x 14 test_terminal? i 39 45 0 1 13 71 2 47 9 21 47 49 3 0 13 47 49 4 0 15 8 24 49 2 0 19 0 15 5 3 20 0 49 5 0 47 49 6 2 11 I 4 I 1 I 0 I 0 n p 7 x 6 Choice n x 3 new x 8 allocate x 10 initialize x 9 terminal? x 12 assert_equal p 7 I 0 I 4 I 0 I 5 I 1b I 6 I 27 x 50 /Users/michael/Projects/citrus/test/choice_test.rb p 1 x 4 rule x 17 method_visibility x 15 add_defn_method x 9 test_exec M 1 n n x 9 test_exec i 247 45 0 1 7 2 64 49 3 1 19 0 15 45 0 4 7 5 64 49 3 1 19 1 15 45 6 7 13 71 8 47 9 51 47 49 9 0 13 20 0 20 1 35 2 47 49 10 1 15 8 60 20 0 20 1 35 2 49 8 1 19 2 15 20 2 45 11 12 13 71 8 47 9 89 47 49 9 0 13 7 13 64 47 49 10 1 15 8 95 7 13 64 49 8 1 49 14 1 19 3 15 5 35 0 20 3 47 49 15 2 15 20 2 45 11 16 13 71 8 47 9 137 47 49 9 0 13 7 2 64 47 49 10 1 15 8 143 7 2 64 49 8 1 49 14 1 19 3 15 5 20 3 47 49 17 1 15 5 20 2 20 0 45 18 19 79 45 18 20 79 35 6 20 3 47 49 15 2 15 20 2 45 11 21 13 71 8 47 9 205 47 49 9 0 13 7 5 64 47 49 10 1 15 8 211 7 5 64 49 8 1 49 14 1 19 3 15 5 20 3 47 49 17 1 15 5 20 2 20 1 45 18 22 79 45 18 23 79 35 6 20 3 47 49 15 2 11 I b I 4 I 0 I 0 n p 24 x 4 Rule n s 1 a x 3 for n s 1 b x 6 Choice n x 3 new x 8 allocate x 10 initialize x 5 Input n s 0 x 4 exec x 12 assert_equal n x 6 assert x 5 CLOSE n n n n n p 25 I 0 I 9 I 0 I a I c I b I 18 I c I 3f I e I 65 I f I 6f I 11 I 95 I 12 I 9d I 13 I b3 I 15 I d9 I 16 I e1 I 17 I f7 x 50 /Users/michael/Projects/citrus/test/choice_test.rb p 4 x 1 a x 1 b x 4 rule x 6 events x 9 test_to_s M 1 n n x 9 test_to_s i 57 45 0 1 13 71 2 47 9 29 47 49 3 0 13 7 4 64 7 5 64 35 2 47 49 6 1 15 8 40 7 4 64 7 5 64 35 2 49 2 1 19 0 15 5 7 7 64 20 0 49 8 0 47 49 9 2 11 I 5 I 1 I 0 I 0 n p 10 x 6 Choice n x 3 new x 8 allocate s 1 a s 1 b x 10 initialize s 9 "a" | "b" x 4 to_s x 12 assert_equal p 7 I 0 I 1a I 0 I 1b I 2b I 1c I 39 x 50 /Users/michael/Projects/citrus/test/choice_test.rb p 1 x 4 rule x 18 test_to_embedded_s M 1 n n x 18 test_to_embedded_s i 139 45 0 1 13 71 2 47 9 29 47 49 3 0 13 7 4 64 7 5 64 35 2 47 49 6 1 15 8 40 7 4 64 7 5 64 35 2 49 2 1 19 0 15 45 0 7 13 71 2 47 9 72 47 49 3 0 13 7 8 64 7 9 64 35 2 47 49 6 1 15 8 83 7 8 64 7 9 64 35 2 49 2 1 19 1 15 45 0 10 13 71 2 47 9 113 47 49 3 0 13 20 0 20 1 35 2 47 49 6 1 15 8 122 20 0 20 1 35 2 49 2 1 19 2 15 5 7 11 64 20 2 49 12 0 47 49 13 2 11 I 7 I 3 I 0 I 0 n p 14 x 6 Choice n x 3 new x 8 allocate s 1 a s 1 b x 10 initialize n s 1 c s 1 d n s 25 ("a" | "b") | ("c" | "d") x 4 to_s x 12 assert_equal p 11 I 0 I 1f I 0 I 20 I 2b I 21 I 56 I 22 I 7d I 23 I 8b x 50 /Users/michael/Projects/citrus/test/choice_test.rb p 3 x 5 rule1 x 5 rule2 x 4 rule x 20 test_to_s_with_label M 1 n n x 20 test_to_s_with_label i 70 45 0 1 13 71 2 47 9 29 47 49 3 0 13 7 4 64 7 5 64 35 2 47 49 6 1 15 8 40 7 4 64 7 5 64 35 2 49 2 1 19 0 15 20 0 7 7 64 13 18 2 49 8 1 15 15 5 7 9 64 20 0 49 10 0 47 49 11 2 11 I 5 I 1 I 0 I 0 n p 12 x 6 Choice n x 3 new x 8 allocate s 1 a s 1 b x 10 initialize s 7 a_label x 6 label= s 19 a_label:("a" | "b") x 4 to_s x 12 assert_equal p 9 I 0 I 26 I 0 I 27 I 2b I 28 I 38 I 29 I 46 x 50 /Users/michael/Projects/citrus/test/choice_test.rb p 1 x 4 rule p 11 I 2 I 4 I 10 I 9 I 1e I 1a I 2c I 1f I 3a I 26 I 48 x 50 /Users/michael/Projects/citrus/test/choice_test.rb p 0 x 13 attach_method p 5 I 0 I 1 I 13 I 3 I 36 x 50 /Users/michael/Projects/citrus/test/choice_test.rb p 0