struct Savi::Packaging::Dependency

Defined in:

savi/packaging/dependency.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ast : Savi::AST::Declare, name : Savi::AST::Identifier, version : Nil | Savi::AST::Identifier, transitive : Bool = false) #

[View source]

Instance Method Detail

def accepts_version?(version : String) #

[View source]
def append_pos #

[View source]
def ast : AST::Declare #

[View source]
def depends_on_nodes : Array(Savi::AST::Identifier) #

[View source]
def is_location_relative_path? #

[View source]
def location #

[View source]
def location_nodes : Array(Savi::AST::LiteralString) #

[View source]
def location_scheme : String #

[View source]
def location_without_scheme : String #

[View source]
def name : AST::Identifier #

[View source]
def revision_nodes : Array(Savi::AST::Identifier) #

[View source]
def transitive? : Bool #

[View source]
def version : AST::Identifier | Nil #

[View source]