module TypeProf::Core::TypeAliasRead
Attributes
Public Instance Methods
Source
# File bundled-src/typeprof-0.31.1/lib/typeprof/core/env/static_read.rb, line 126 def check_module(genv, mod) tae = mod.type_aliases[@name] if tae && tae.exist? update_type_alias(genv, tae) return true end return false end
Source
# File bundled-src/typeprof-0.31.1/lib/typeprof/core/env/static_read.rb, line 135 def resolution_failed(genv) update_type_alias(genv, nil) end
Source
# File bundled-src/typeprof-0.31.1/lib/typeprof/core/env/static_read.rb, line 139 def update_type_alias(genv, tae) if tae != @type_alias_entity @type_alias_entity = tae propagate(genv) end end