class Novika::RunnableResolver::ProgramHook

Overview

An object that helps you do high-level things with a ResolutionSet for the entire program.

A Novika program is basically a collection of properly arranged Novika scripts. This is represented by a single ResolutionSet, which is an ordered set. It being a set means that you cannot execute a single script twice in one session of the resolver, that is, globally.

Direct Known Subclasses

Defined in:

novika/resolver.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(resolver : RunnableResolver, root : RunnableRoot, program : ResolutionSet) #

Instance Method Detail

def each_designation(& : Designation -> ) #

Makes and yields designations for the program.

See Designation to learn what they are.


Returns the program ResolutionSet.