Sha256: 90cef3455c14d7aaf687785048452de8345eaf11765bd3ffc2864c899e706722
Contents?: true
Size: 716 Bytes
Versions: 1
Compression:
Stored size: 716 Bytes
Contents
class Houndstooth::Environment # A slightly hacky type which represents the base namespace, such as when a constant is accessed # using ::A syntax. # This only appears in one place; the type change of a `ConstantBaseAccessInstruction`. This is # invalid if it appears in any context where an actual type is expected. # Unlike other constant accesses, this does NOT represent an *instance* of the base namespace, # because that cannot exist. class BaseDefinedType < Type def accepts?(other) false end def name "" end alias path name alias uneigen name def rbs "(base)" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
houndstooth-0.1.0 | lib/houndstooth/environment/types/defined/base_defined_type.rb |