Module: Y2R::AST::Ruby

Defined in:
lib/y2r/ast/ruby.rb

Overview

Classes in this module represent Ruby AST nodes. Their main task is to serialize themselves into readable Ruby code using the |to_ruby| method.

Note that these classes can’t represent the whole Ruby language, only parts actually generated by Y2R.

Defined Under Namespace

Modules: Code, Priority Classes: Array, Assignment, Begin, BinaryOperator, Block, Break, Case, Class, ConstAccess, Def, Else, EmitterContext, Expressions, Hash, HashEntry, If, Literal, MethodCall, Module, Next, Node, Program, Return, Self, Statements, TernaryOperator, UnaryOperator, Unless, Until, Variable, When, While