Sha256: d7a363e4ccb03a2551b2b602e343e24c959c0e2031ca93b1c0c8c91acba364fe

Contents?: true

Size: 574 Bytes

Versions: 4

Compression:

Stored size: 574 Bytes

Contents

# encoding: utf-8
# frozen_string_literal: true

module Carbon
  module Concrete
    module Item
      # A data definition.  All data definitions include this module, which
      # acts as a sort of hirearchy.  It makes it easy to identify if an item
      # is a data definition or a function definition.
      module Data
        include Base

        # The traits that the data type implements.  This is mostly used for
        # validation and logic.
        #
        # @api public
        # @return [<Type>]
        attr_reader :implements
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
carbon-core-0.2.1 lib/carbon/concrete/item/data.rb
carbon-core-0.2.0 lib/carbon/concrete/item/data.rb
carbon-core-0.1.1 lib/carbon/concrete/item/data.rb
carbon-core-0.1.0 lib/carbon/concrete/item/data.rb