Class: Carbon::Compiler::Node::Expression::Operation::Or

Inherits:
Carbon::Compiler::Node::Expression::Operation show all
Defined in:
lib/carbon/compiler/node/expression/operation/or.rb

Overview

An “Or” operation. This is generated internally and cannot be redefined by defining an “Or” function. This has three children: the left hand side, the operation, and the right hand side. This has the form ‘<Left> || <Right>`.

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