class SourceTyper

Defined in:

source_typer.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(entrypoint : String, def_locators : Array(String), options : CliOptions) #

[View source]

Instance Method Detail

def files : Set(String) #

[View source]
def program : Crystal::Program #

[View source]
def run : Hash(String, String) #

[View source]
def semantic(entrypoint, entrypoint_content) : Nil #

[View source]
def signatures : Hash(String, Signature) #

Creates a mapping of (parsed) def.object_id => Signature . A parsed def might not have a Signature if it's not used, and therefore isn't typed


[View source]
def type_source(filename, source) : String | Nil #

[View source]