Sha256: c0d65816878501ad5cca9eab007a25bf41dd07efa1f19fef6d989f56098280a3
Contents?: true
Size: 1.62 KB
Versions: 4
Compression:
Stored size: 1.62 KB
Contents
module Steep module AST module Types # Types with names # module Name class Base attr_reader location: untyped attr_reader name: RBS::TypeName def initialize: (name: RBS::TypeName, ?location: untyped?) -> void include Helper::NoFreeVariables def subst: (Steep::Interface::Substitution s) -> self def level: () -> Array[Integer] end class Applying < Base attr_reader args: Array[t] def initialize: (name: RBS::TypeName, args: Array[t], ?location: untyped?) -> void def ==: (untyped other) -> bool alias eql? == @hash: Integer def hash: () -> Integer def to_s: () -> ::String def with_location: (untyped new_location) -> self def subst: (Steep::Interface::Substitution s) -> self @fvs: Set[variable] def free_variables: () -> Set[variable] def each_child: () { (t) -> void } -> void | () -> Enumerator[t, void] include Helper::ChildrenLevel def level: () -> Array[Integer] end class Singleton < Base def ==: (untyped other) -> bool alias eql? == def hash: () -> Integer def to_s: () -> ::String def with_location: (untyped new_location) -> Singleton include Helper::NoChild end class Instance < Applying def to_module: () -> Singleton end class Interface < Applying end class Alias < Applying end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
steep-1.3.2 | sig/steep/ast/types/name.rbs |
steep-1.3.1 | sig/steep/ast/types/name.rbs |
steep-1.4.0.dev.1 | sig/steep/ast/types/name.rbs |
steep-1.3.0 | sig/steep/ast/types/name.rbs |