Class: Carbon::Compiler::Node::Expression::Call::Attribute

Inherits:
Base
  • Object
show all
Defined in:
lib/carbon/compiler/node/expression/call/attribute.rb

Overview

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.

Examples:

# let a: Carbon::Pointer<Carbon::Integer>;
a.value = 1;

Instance Attribute Summary

Attributes inherited from Base

#children, #location

Method Summary

Methods inherited from Base

#[], #accept, #attributes!, #behavior?, #data, #data?, #each, #identity?, #initialize, #map!, mapping, #merge!, #type!, #update!

Constructor Details

This class inherits a constructor from Carbon::Compiler::Node::Base