class Novika::Resolver::SubtreeSlot

Overview

Slot (placeholder) that stands for "all not otherwise mentioned Novika scripts and directories in the subtree (recursively), except for Novika application and library directories", represented with **.

Defined in:

novika/resolver.cr

Instance Method Summary

Instance methods inherited from class Novika::Resolver::Slot

replace(root : RunnableRoot, group : RunnableGroup, manifest : Manifest::Present, population : RunnableContainer, container : RunnableContainer) : RunnableContainer replace

Instance methods inherited from module Novika::Resolver::Runnable::Terminal

specialize(root : RunnableRoot, container : RunnableContainer) specialize

Instance methods inherited from class Novika::Resolver::Runnable

ancestor? : Ancestor | Nil ancestor?, ancestors : Array(Ancestor) ancestors, backtrace(io : IO, indent : Int32 = 0, annex : String | Nil = nil)
backtrace(*args, **kwargs, & : IO -> )
backtrace
, constituents : Array(Runnable) constituents, each_ancestor(& : Ancestor -> ) each_ancestor, specialize(root : RunnableRoot, container : RunnableContainer) specialize

Constructor methods inherited from class Novika::Resolver::Runnable

new(ancestor : Ancestor | Nil = nil) new

Instance methods inherited from module Novika::Resolver::Runnable::Ancestor

ancestor? : Ancestor | Nil ancestor?

Instance Method Detail

def replace(root : RunnableRoot, group : RunnableGroup, manifest : Manifest::Present, population : RunnableContainer, container : RunnableContainer) : RunnableContainer #
Description copied from class Novika::Resolver::Slot

Replaces any occurences of this slot in container with a container holding the runnables this slot stands for.

manifest is the manifest that contains this slot.

group is the RunnableGroup of the manifest that contains this slot.

Returns the next population container.


def to_s(io) #