Sha256: f5cdddccd6d84f3a0373df9209419cfa2d55fbec3e7cacbd554729340a33d638

Contents?: true

Size: 613 Bytes

Versions: 1

Compression:

Stored size: 613 Bytes

Contents

# encoding: utf-8
# frozen_string_literal: true

module Carbon
  module Compiler
    module Node
      module Expression
        module Call
          # An attribute call.  This is used for accessing an "attribute" of
          # a module.  This takes the form of `<Expression>.<Name>`.  This
          # has two children: an expression, and a name.
          #
          # @example
          #   # let a: Carbon::Pointer<Carbon::Integer>;
          #   a.value = 1;
          class Attribute < Base
            attributes expression: 0, name: 1, generics: 2
          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/expression/call/attribute.rb