class Drizzle::AST::Program

Overview

A Program Node is the root of the entire program, and contains an array of statements.

Defined in:

drizzle/ast/program.cr

Constructors

Instance Method Summary

Instance methods inherited from class Drizzle::AST::Node

literal : String literal, to_s : String to_s

Constructor Detail

def self.new(statements : Array(Statement)) #

[View source]

Instance Method Detail

def literal : String #

[View source]
def statements : Array(Drizzle::AST::Statement) #

An array of statements that make up the program


[View source]
def to_s : String #

[View source]