Sha256: 5584bfad614b0748beaf6ae38c4688ae474c183c9ce23a6d844be635ddd90a87

Contents?: true

Size: 329 Bytes

Versions: 2

Compression:

Stored size: 329 Bytes

Contents

module Finitio
  module Syntax
    module InlinePair
      include Support

      def compile(factory)
        [ dress.compile(factory), undress.compile(factory) ]
      end

      def to_ast
        [ :inline_pair, dress.to_ast, undress.to_ast ]
      end

    end # module InlinePair
  end # module Syntax
end # module Finitio

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
finitio-0.4.1 lib/finitio/syntax/inline_pair.rb
finitio-0.4.0 lib/finitio/syntax/inline_pair.rb