class TypeProf::Core::AST::SigFuncType::SigTyBaseNilNode - typeprof: Ruby Standard Library Documentation

# class TypeProf::Core::AST::SigFuncType::SigTyBaseNilNode

### Public Instance Methods

contravariant_vertex0(genv, changes, vtx, subst) click to toggle source

    # File typeprof-0.30.1/lib/typeprof/core/ast/sig_type.rb, line 114
    def contravariant_vertex0(genv, changes, vtx, subst)
      changes.add_edge(genv, Source.new(genv.nil_type), vtx)
    end

covariant_vertex0(genv, changes, vtx, subst) click to toggle source

    # File typeprof-0.30.1/lib/typeprof/core/ast/sig_type.rb, line 110
    def covariant_vertex0(genv, changes, vtx, subst)
      changes.add_edge(genv, Source.new(genv.nil_type), vtx)
    end

show() click to toggle source

    # File typeprof-0.30.1/lib/typeprof/core/ast/sig_type.rb, line 118
    def show
      "nil"
    end