Sha256: 7a43939a1079a3addbe18d444e29edf03972a9c7a7396f512c4da381bbb22f2c

Contents?: true

Size: 360 Bytes

Versions: 1

Compression:

Stored size: 360 Bytes

Contents

# encoding: utf-8
# frozen_string_literal: true

module Carbon
  module Compiler
    module Node
      module Expression
        # A "unit".  This takes the form of `(<Expressions>)`.  This is
        # used as a sort of "mini-struct".  Mostly unused at the moment.
        class Unit < Base
          attr_reader :type
        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/expression/unit.rb