class SourceTyper
- SourceTyper
- Reference
- Object
Defined in:
source_typer.crConstructors
Instance Method Summary
- #files : Set(String)
- #program : Crystal::Program
- #run : Hash(String, String)
- #semantic(entrypoint, entrypoint_content) : Nil
-
#signatures : Hash(String, Signature)
Creates a mapping of (parsed) def.object_id => Signature .
- #type_source(filename, source) : String | Nil
Constructor Detail
def self.new(entrypoint : String, def_locators : Array(String), options : CliOptions)
#
Instance Method Detail
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