Sha256: 9dbac7a2124f8f48387d18ef68e02df148d92bd9abd82e53612be12729eb5ae5

Contents?: true

Size: 518 Bytes

Versions: 7

Compression:

Stored size: 518 Bytes

Contents

Foobara.require_project_file("type_declarations", "with_registries")

module Foobara
  module TypeDeclarations
    class Desugarizer < Value::Transformer
      include WithRegistries

      class << self
        def requires_declaration_data?
          false
        end

        def foobara_manifest(to_include: Set.new)
          # :nocov:
          super.merge(processor_type: :desugarizer)
          # :nocov:
        end
      end

      def transform(value)
        desugarize(value)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
foobara-0.0.27 projects/type_declarations/src/desugarizer.rb
foobara-0.0.26 projects/type_declarations/src/desugarizer.rb
foobara-0.0.25 projects/type_declarations/src/desugarizer.rb
foobara-0.0.24 projects/type_declarations/src/desugarizer.rb
foobara-0.0.23 projects/type_declarations/src/desugarizer.rb
foobara-0.0.22 projects/type_declarations/src/desugarizer.rb
foobara-0.0.21 projects/type_declarations/src/desugarizer.rb