Sha256: 55956eec992a9443a7d7b1c598033f5dc89def6deccf486140d143218331d8ca

Contents?: true

Size: 602 Bytes

Versions: 1

Compression:

Stored size: 602 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 struct definition.  This sets up a structured block of memory
        # for various purposes.  A Struct's children are its elements.
        class Struct < 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/struct.rb