class Novika::Resolver::RunnableScript

Overview

Represents a Novika script, specifically a '.nk' file.

Included Modules

Defined in:

novika/resolver.cr

Constant Summary

EXTENSION = ".nk"

Constructors

Instance Method Summary

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

specialize(root : RunnableRoot, container : RunnableContainer) specialize

Instance methods inherited from module Novika::Resolver::Runnable::HasDatum(Path)

==(other : T)
==(other : self)
==
, hash(hasher) hash

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?

Constructor Detail

def self.new(datum : Path, ancestor = nil) #

Instance Method Detail

def abspath #

Returns the absolute path to this script.


def to_s(io) #