@api private
# File lib/temple/mixins/dispatcher.rb, line 33 def on_block(code, content) [:block, code, compile(content)] end
# File lib/temple/mixins/dispatcher.rb, line 29 def on_case(arg, *cases) [:case, arg, *cases.map {|condition, exp| [condition, compile(exp)] }] end
# File lib/temple/mixins/dispatcher.rb, line 37 def on_cond(*cases) [:cond, *cases.map {|condition, exp| [condition, compile(exp)] }] end
# File lib/temple/mixins/dispatcher.rb, line 25 def on_if(condition, *cases) [:if, condition, *cases.compact.map {|e| compile(e) }] end