Module: MiniRuby::AST

Defined in:
lib/miniruby/ast.rb

Overview

Contains the definitions of all AST (Abstract Syntax Tree) nodes. AST is the data structure that is returned by the parser.

Defined Under Namespace

Classes: ExpressionNode, ExpressionStatementNode, FalseLiteralNode, FloatLiteralNode, IdentifierNode, IntegerLiteralNode, InvalidNode, NilLiteralNode, Node, ProgramNode, SelfLiteralNode, StatementNode, StringLiteralNode, TrueLiteralNode

Constant Summary collapse

INDENT_UNIT =

A string that represents a single level of indentation in S-expressions

'  '