Class: Carbon::Compiler::Node::Statement::Let

Inherits:
Base
  • Object
show all
Defined in:
lib/carbon/compiler/node/statement/let.rb

Overview

A let statement. This introduces a local variable with a given “klass” (type). This has three children: the name of the local variable, the “klass” (type) of the local variable, and the given value of the new variable.

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