struct Savi::Source

Defined in:

savi/source.cr

Constant Summary

NONE = new("", "(none)", "", Package::NONE)

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(dirname : String, filename : String, content : String, package : Savi::Source::Package, language : Symbol = :savi) #

[View source]

Class Method Detail

def self.new_example(content) #

[View source]
def self.none #

[View source]

Instance Method Detail

def content : String #

[View source]
def content=(content : String) #

[View source]
def dirname : String #

[View source]
def dirname=(dirname : String) #

[View source]
def entire_pos #

[View source]
def filename : String #

[View source]
def filename=(filename : String) #

[View source]
def filepath_relative_to_package #

[View source]
def language : Symbol #

[View source]
def language=(language : Symbol) #

[View source]
def package : Package #

[View source]
def package=(package : Package) #

[View source]
def path #

[View source]