!RBIX 0 x M 1 n n x 10 __script__ i 31 45 0 1 7 2 65 49 3 2 13 45 0 4 12 7 5 12 7 6 12 65 12 49 7 4 15 48 5 15 2 11 I 6 I 0 I 0 I 0 n p 8 x 8 Rubinius n x 4 Haml x 11 open_module n x 15 __module_init__ M 1 n n x 4 Haml i 32 5 66 45 0 1 7 2 1 65 49 3 3 13 45 0 4 12 7 5 12 7 6 12 65 12 49 7 4 15 48 5 11 I 6 I 0 I 0 I 0 n p 8 x 8 Rubinius n x 6 Buffer x 10 open_class n x 14 __class_init__ M 1 n n x 6 Buffer i 369 5 66 5 45 0 1 43 2 47 49 3 1 15 5 45 0 4 43 5 47 49 3 1 15 5 7 6 47 49 7 1 15 5 7 8 47 49 7 1 15 5 7 9 47 49 7 1 15 5 7 10 47 49 7 1 15 5 7 11 47 49 12 1 15 45 13 14 7 15 7 16 65 67 48 17 49 18 4 15 45 13 19 7 20 7 21 65 67 48 17 49 18 4 15 45 13 22 7 23 7 24 65 67 48 17 49 18 4 15 45 13 25 7 26 7 27 65 67 48 17 49 18 4 15 45 13 28 7 29 7 30 65 67 48 17 49 18 4 15 45 13 31 7 32 7 33 65 67 48 17 49 18 4 15 45 13 34 7 35 7 36 65 67 48 17 49 18 4 15 45 13 37 7 38 7 39 65 67 48 17 49 18 4 15 45 13 40 7 41 7 42 65 67 48 17 49 18 4 15 45 13 43 7 44 7 45 65 67 48 17 49 18 4 15 45 13 46 7 47 7 48 65 67 48 17 49 18 4 15 45 0 49 43 5 5 7 50 7 51 35 1 7 52 7 53 7 54 7 55 7 56 7 57 7 58 7 59 64 49 60 11 15 45 13 61 7 62 7 63 65 67 48 17 49 18 4 15 45 13 64 7 65 7 66 65 67 48 17 49 18 4 15 45 13 67 7 68 7 69 65 5 49 70 4 15 5 47 48 71 15 5 7 72 44 43 73 78 49 74 1 49 75 2 15 45 13 76 7 77 7 78 65 67 48 17 49 18 4 15 45 13 79 7 80 7 81 65 67 48 17 49 18 4 15 45 13 82 7 83 7 84 65 67 48 17 49 18 4 11 I c I 0 I 0 I 0 n p 85 x 4 Haml n x 7 Helpers x 7 include n x 4 Util x 6 buffer x 13 attr_accessor x 7 options x 5 upper x 16 capture_position x 6 active x 11 attr_writer x 8 Rubinius n x 6 xhtml? M 1 n n x 6 xhtml? i 11 5 47 48 0 10 9 2 8 10 3 11 I 1 I 0 I 0 I 0 n p 1 x 5 html? p 5 I 0 I 28 I 0 I 29 I b x 39 /home/nex3/code/haml/lib/haml/buffer.rb p 0 x 17 method_visibility x 15 add_defn_method n x 5 html? M 1 n n x 5 html? i 13 5 47 48 0 13 10 12 15 5 47 48 1 11 I 2 I 0 I 0 I 0 n p 2 x 6 html4? x 6 html5? p 5 I 0 I 2d I 0 I 2e I d x 39 /home/nex3/code/haml/lib/haml/buffer.rb p 0 n x 6 html4? M 1 n n x 6 html4? i 12 39 0 7 1 49 2 1 7 3 83 4 11 I 2 I 0 I 0 I 0 n p 5 x 8 @options x 6 format x 2 [] x 5 html4 x 2 == p 5 I 0 I 32 I 0 I 33 I c x 39 /home/nex3/code/haml/lib/haml/buffer.rb p 0 n x 6 html5? M 1 n n x 6 html5? i 12 39 0 7 1 49 2 1 7 3 83 4 11 I 2 I 0 I 0 I 0 n p 5 x 8 @options x 6 format x 2 [] x 5 html5 x 2 == p 5 I 0 I 37 I 0 I 38 I c x 39 /home/nex3/code/haml/lib/haml/buffer.rb p 0 n x 9 toplevel? M 1 n n x 9 toplevel? i 7 5 47 48 0 48 1 11 I 1 I 0 I 0 I 0 n p 2 x 5 upper x 4 nil? p 5 I 0 I 3d I 0 I 3e I 7 x 39 /home/nex3/code/haml/lib/haml/buffer.rb p 0 n x 7 active? M 1 n n x 7 active? i 3 39 0 11 I 1 I 0 I 0 I 0 n p 1 x 7 @active p 5 I 0 I 46 I 0 I 47 I 3 x 39 /home/nex3/code/haml/lib/haml/buffer.rb p 0 n x 10 tabulation M 1 n n x 10 tabulation i 7 39 0 39 1 81 2 11 I 2 I 0 I 0 I 0 n p 3 x 10 @real_tabs x 11 @tabulation x 1 + p 5 I 0 I 4b I 0 I 4c I 7 x 39 /home/nex3/code/haml/lib/haml/buffer.rb p 0 n x 11 tabulation= M 1 n n x 11 tabulation= i 24 20 0 39 0 82 1 19 0 15 20 0 77 85 2 9 20 20 0 8 21 78 38 3 11 I 3 I 1 I 1 I 1 n p 4 x 10 @real_tabs x 1 - x 1 > x 11 @tabulation p 7 I 0 I 52 I 0 I 53 I 9 I 54 I 18 x 39 /home/nex3/code/haml/lib/haml/buffer.rb p 1 x 3 val n x 10 initialize M 1 n n x 10 initialize i 77 23 0 10 8 1 19 0 15 23 1 10 22 44 43 0 78 49 1 1 19 1 15 2 38 2 15 20 0 38 3 15 20 1 38 4 15 5 47 48 5 9 47 7 6 64 8 66 7 6 64 45 7 8 20 1 7 9 49 10 1 49 11 1 49 12 1 38 13 15 78 38 14 15 78 38 15 11 I 6 I 2 I 0 I 2 n p 16 x 4 Hash x 16 new_from_literal x 7 @active x 6 @upper x 8 @options x 8 ruby1_8? s 0 x 8 Encoding n x 8 encoding x 2 [] x 4 find x 6 encode x 7 @buffer x 11 @tabulation x 10 @real_tabs p 15 I 0 I 5a I 16 I 5b I 1a I 5c I 1f I 5d I 24 I 5e I 45 I 5f I 49 I 63 I 4d x 39 /home/nex3/code/haml/lib/haml/buffer.rb p 2 x 5 upper x 7 options n x 9 push_text M 1 n n x 9 push_text i 76 39 0 78 85 1 9 57 20 0 7 2 13 70 9 28 15 45 3 4 7 5 4 4 49 6 2 6 2 5 47 48 7 49 8 2 15 20 2 9 54 20 0 5 47 48 7 7 9 64 49 10 2 8 55 1 8 58 1 15 39 11 20 0 49 12 1 15 39 13 20 1 81 14 38 13 11 I 7 I 3 I 3 I 3 n p 15 x 11 @tabulation x 1 > n x 6 Regexp n s 9 ^(?!\s+$) x 3 new x 4 tabs x 5 gsub! s 0 x 4 sub! x 7 @buffer x 2 << x 10 @real_tabs x 1 + p 15 I 0 I 6d I 0 I 6e I 7 I 72 I 24 I 73 I 39 I 6e I 3b I 76 I 43 I 77 I 4c x 39 /home/nex3/code/haml/lib/haml/buffer.rb p 3 x 4 text x 10 tab_change x 11 dont_tab_up n x 11 adjust_tabs M 1 n n x 11 adjust_tabs i 9 39 0 20 0 81 1 38 0 11 I 3 I 1 I 1 I 1 n p 2 x 10 @real_tabs x 1 + p 5 I 0 I 7e I 0 I 7f I 9 x 39 /home/nex3/code/haml/lib/haml/buffer.rb p 1 x 10 tab_change n x 13 format_script x 6 result x 15 preserve_script x 6 in_tag x 12 preserve_tag x 11 escape_html x 21 nuke_inner_whitespace x 12 interpolated x 4 ugly s 1979 <% # Escape HTML here so that the safety of the string is preserved in Rails result_name = escape_html ? "html_escape(result.to_s)" : "result.to_s" %> <% unless ugly %> # If we're interpolated, # then the custom tabulation is handled in #push_text. # The easiest way to avoid it here is to reset @tabulation. <% if interpolated %> old_tabulation = @tabulation @tabulation = 0 <% end %> tabulation = @real_tabs result = <%= result_name %>.<% if nuke_inner_whitespace %>strip<% else %>rstrip<% end %> <% else %> result = <%= result_name %><% if nuke_inner_whitespace %>.strip<% end %> <% end %> <% if preserve_tag %> result = Haml::Helpers.preserve(result) <% elsif preserve_script %> result = Haml::Helpers.find_and_preserve(result, options[:preserve]) <% end %> <% if ugly %> return result <% else %> has_newline = result.include?("\n") <% if in_tag && !nuke_inner_whitespace %> <% unless preserve_tag %> if !has_newline <% end %> @real_tabs -= 1 <% if interpolated %> @tabulation = old_tabulation <% end %> return result <% unless preserve_tag %> end <% end %> <% end %> # Precompiled tabulation may be wrong <% if !interpolated && !in_tag %> result = tabs + result if @tabulation > 0 <% end %> if has_newline result = result.gsub "\n", "\n" + tabs(tabulation) # Add tabulation if it wasn't precompiled <% if in_tag && !nuke_inner_whitespace %> result = tabs(tabulation) + result <% end %> end <% if in_tag && !nuke_inner_whitespace %> result = "\n#{result}\n#{tabs(tabulation-1)}" @real_tabs -= 1 <% end %> <% if interpolated %> @tabulation = old_tabulation <% end %> result <% end %> x 17 def_static_method n x 8 open_tag M 1 n n x 8 open_tag i 267 39 0 19 11 15 20 5 19 12 15 20 10 56 1 50 2 0 15 20 8 9 39 5 48 3 20 12 5 20 8 47 49 4 1 49 5 2 8 40 1 15 20 1 13 9 51 15 5 47 48 6 9 74 7 7 64 20 6 9 65 7 8 64 8 68 7 9 64 81 10 19 13 8 121 7 11 64 20 1 13 9 87 15 5 47 48 12 9 93 20 6 8 107 20 2 13 10 107 15 20 3 13 10 107 15 20 7 9 114 7 8 64 8 117 7 9 64 81 10 19 13 15 45 13 14 5 47 48 12 39 15 7 16 49 17 1 20 12 49 18 3 19 12 15 39 19 20 6 13 10 159 15 39 15 7 20 49 17 1 9 166 7 8 64 8 173 5 20 11 47 49 21 1 47 48 22 7 23 20 0 47 48 22 20 12 47 48 22 20 13 47 48 22 63 5 49 24 1 15 20 9 9 244 39 19 20 9 47 48 22 7 25 20 0 47 48 22 7 11 63 4 49 24 1 20 6 9 233 7 8 64 8 236 7 9 64 49 24 1 15 1 11 8 245 1 15 20 1 13 10 254 15 20 7 9 259 1 8 266 39 0 79 81 10 38 0 11 I 14 I e I a I a I a p 26 x 10 @real_tabs M 1 p 2 x 9 for_block t n x 8 open_tag i 26 57 19 0 15 5 48 0 21 1 12 5 20 0 56 1 50 2 0 47 49 3 1 49 4 2 11 I 7 I 1 I 1 I 1 n p 5 x 5 class M 1 p 2 x 9 for_block t n x 8 open_tag i 20 58 36 37 19 0 15 37 19 1 15 15 20 0 48 0 20 1 35 2 11 I 5 I 2 I 2 I 2 n p 1 x 4 to_s p 3 I 0 I c6 I 14 x 39 /home/nex3/code/haml/lib/haml/buffer.rb p 2 x 1 k x 1 v x 3 map x 7 to_hash x 11 merge_attrs p 5 I 0 I c5 I 4 I c6 I 1a x 39 /home/nex3/code/haml/lib/haml/buffer.rb p 1 x 3 old x 4 each x 5 class x 16 parse_object_ref x 11 merge_attrs x 6 xhtml? s 3 /> s 0 s 1 x 1 + s 1 > x 5 html? x 11 Precompiler n x 8 @options x 12 attr_wrapper x 2 [] x 16 build_attributes x 7 @buffer x 4 ugly x 4 tabs x 4 to_s s 1 < x 2 << s 2