Sha256: 2a04cc245098f5f54bf2d9ff4ef46ee6df51c8b8838ce510baa2b7efaec6fa5b

Contents?: true

Size: 276 Bytes

Versions: 2

Compression:

Stored size: 276 Bytes

Contents

module Gisele
  module Language
    class SugarRemoval < Rewriter
      alias :on_missing :copy_and_applyall

      def on_if_st(node)
        ElsifFlattener.new(:mainflow => self).call(node)
      end

    end # class SugarRemoval
  end # module Language
end # module Gisele

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gisele-0.4.0 lib/gisele/language/processors/sugar_removal.rb
gisele-0.3.0 lib/gisele/language/sugar_removal.rb