Sha256: 586a06fb7f69f6023fa1c3016acec377d3aeafee7308740d3fb91dec63f6fc46

Contents?: true

Size: 339 Bytes

Versions: 9

Compression:

Stored size: 339 Bytes

Contents

module Finitio
  module Syntax
    module HighOrderVars
      include Node

      def compile(system)
        captures[:type_name].map{|c| c.to_s }
      end

      def to_ast(var_name)
        [ :high_order_vars, captures[:type_name].map{|c| c.to_s } ]
      end

    end # module HighOrderVars
  end # module Syntax
end # module Finitio

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
finitio-0.12.0 lib/finitio/syntax/type/high_order_vars.rb
finitio-0.11.4 lib/finitio/syntax/type/high_order_vars.rb
finitio-0.11.3 lib/finitio/syntax/type/high_order_vars.rb
finitio-0.11.2 lib/finitio/syntax/type/high_order_vars.rb
finitio-0.11.1 lib/finitio/syntax/type/high_order_vars.rb
finitio-0.10.0 lib/finitio/syntax/type/high_order_vars.rb
finitio-0.9.1 lib/finitio/syntax/type/high_order_vars.rb
finitio-0.9.0 lib/finitio/syntax/type/high_order_vars.rb
finitio-0.8.0 lib/finitio/syntax/type/high_order_vars.rb