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, record_field_lookup : Hash(Mint::Ast::Node, String) = {} of Ast::Node => String, variables : Hash(Mint::Ast::Node, Tuple(Mint::Ast::Node | Mint::TypeChecker::Record | Mint::TypeChecker::Type | Mint::TypeChecker::Variable, Mint::Ast::Node | Tuple(String, Mint::TypeChecker::Record | Mint::TypeChecker::Type | Mint::TypeChecker::Variable, Mint::Ast::Node), Array(Mint::Ast::Node | Tuple(String, Mint::TypeChecker::Record | Mint::TypeChecker::Type | Mint::TypeChecker::Variable, Mint::Ast::Node)))) = {} of Ast::Node => Scope::Lookup, lookups : Hash(Mint::Ast::Node, Mint::Ast::Node) = {} of Ast::Node => Ast::Node, assets : Array(Mint::Ast::Directives::Asset) = [] of Ast::Directives::Asset, types : Hash(Mint::Ast::Node, Mint::TypeChecker::Record | Mint::TypeChecker::Type | Mint::TypeChecker::Variable) = {} of Ast::Node => Checkable, 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), argument_order : Array(Mint::Ast::Node) = [] of Ast::Node, resolve_order : Array(Mint::Ast::Node) = [] of Ast::Node, checked : Set(Mint::Ast::Node) = Set(Ast::Node).new) #

[View source]

Instance Method Detail

def argument_order : Array(Mint::Ast::Node) #

[View source]

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

[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 locales : Hash(String, Hash(String, Mint::Ast::Node)) #

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

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

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

[View source]

[View source]

[View source]