class Mint::TypeChecker::Artifacts

Defined in:

type_checker/artifacts.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ast : Ast, component_records : Hash(Mint::Ast::Component, Mint::TypeChecker::Record) = {} of Ast::Component => Record, components_touched : Set(Mint::Ast::Component) = Set(Ast::Component).new, record_field_lookup : Hash(Mint::Ast::Node, String) = {} of Ast::Node => String, variables : Hash(Mint::Ast::Node, Tuple(Mint::Ast::Node, Mint::Ast::Node)) = {} of Ast::Node => Tuple(Ast::Node, Ast::Node), lookups : Hash(Mint::Ast::Node, Tuple(Mint::Ast::Node, Mint::Ast::Node | Nil)) = {} of Ast::Node => Tuple(Ast::Node, Ast::Node | ::Nil), assets : Array(Mint::Ast::Directives::Asset) = [] of Ast::Directives::Asset, cache : Hash(Mint::Ast::Node, Mint::TypeChecker::Record | Mint::TypeChecker::Type | Mint::TypeChecker::Variable) = {} of Ast::Node => Checkable, locales : Hash(String, Hash(String, Mint::Ast::Node)) = {} of String => Hash(String, Ast::Node), resolve_order : Array(Mint::Ast::Node) = [] of Ast::Node, async : Set(Mint::Ast::Node) = Set(Ast::Node).new, checked : Set(Mint::Ast::Node) = Set(Ast::Node).new) #

[View source]

Instance Method Detail


[View source]
def ast : Mint::Ast #

[View source]
def async : Set(Mint::Ast::Node) #

[View source]

[View source]
def checked : Set(Mint::Ast::Node) #

[View source]
def component_records : Hash(Mint::Ast::Component, Mint::TypeChecker::Record) #

[View source]
def components_touched : Set(Mint::Ast::Component) #

[View source]
def locales : Hash(String, Hash(String, Mint::Ast::Node)) #

[View source]

[View source]
def record_field_lookup : Hash(Mint::Ast::Node, String) #

[View source]
def references : Mint::ReferencesTracker #

[View source]
def resolve_order : Array(Mint::Ast::Node) #

[View source]
def scope : Mint::Scope #

[View source]
def types #

[View source]
def variables : Hash(Mint::Ast::Node, {Mint::Ast::Node, Mint::Ast::Node}) #

[View source]