Class: MiniRuby::AST::ExpressionNode

Inherits:
Node
  • Object
show all
Defined in:
lib/miniruby/ast.rb

Overview

Represents an expression like ‘2 + 3` that can be a part of a larger expression/statement like `2 + 3 - 5`

Instance Attribute Summary

Attributes inherited from Node

#span

Method Summary

Methods inherited from Node

#==, #initialize, #inspect, #to_s

Constructor Details

This class inherits a constructor from MiniRuby::AST::Node