module RBS::AST::Members::Mixin
Attributes
Public Class Methods
Source
# File bundled-src/rbs-3.10.0/lib/rbs/ast/members.rb, line 194 def initialize(name:, args:, annotations:, location:, comment:) @name = name @args = args @annotations = annotations @location = location @comment = comment end
Public Instance Methods
Source
# File bundled-src/rbs-3.10.0/lib/rbs/ast/members.rb, line 202 def ==(other) other.is_a?(self.class) && other.name == name && other.args == args end
Source
# File bundled-src/rbs-3.10.0/lib/rbs/ast/members.rb, line 206 def eql?(other) self == other end
Source
# File bundled-src/rbs-3.10.0/lib/rbs/ast/members.rb, line 210 def hash name.hash ^ args.hash end