Sha256: ff77f5279548230959260115d46241372d55395e9973665b08dd29532c158fe8

Contents?: true

Size: 523 Bytes

Versions: 1

Compression:

Stored size: 523 Bytes

Contents

# encoding: utf-8
# frozen_string_literal: true

module Carbon
  module Compiler
    module Node
      module Definition
        # A module definition.  This has one child, a {ModuleName} node.
        class Module < Base
          attributes name: 0

          # If this definition is an identity definition.  Module definitions
          # are the only identity definitions in a module.
          #
          # @return [true]
          def identity?
            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/module.rb