Class: BracketNotation::Terminal

Inherits:
Expression show all
Defined in:
lib/bracket_notation/expressions/terminal.rb

Overview

This class represents a terminal expression. Terminals are expressions that do not have children – leaf nodes, in other words.

Instance Attribute Summary

Attributes inherited from Expression

#depth, #parent, #value

Method Summary

Methods inherited from Expression

#initialize, #pretty_print

Constructor Details

This class inherits a constructor from BracketNotation::Expression