Sha256: 438884f907e7b88f15cda1e47195783e49ce96b92626d8452de27e51e6346575

Contents?: true

Size: 599 Bytes

Versions: 1

Compression:

Stored size: 599 Bytes

Contents

# encoding: utf-8
# frozen_string_literal: true

require "carbon/compiler/node/definition/struct/element"

module Carbon
  module Compiler
    module Node
      module Definition
        # A class definition.  This sets up a structured block of memory
        # for various purposes.  A Class's children are its elements.
        class Class < Base
          # If this definition is a data definition.  A Structure is one of
          # many possible data definitions.
          #
          # @return [true]
          def data?
            true
          end
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
carbon-compiler-0.2.0 lib/carbon/compiler/node/definition/class.rb