模块 RBS::AST::Members::Mixin
属性
annotations[R]
args[R]
comment[R]
location[R]
name[R]
公共类方法
new(name:, args:, annotations:, location:, comment:) 点击切换源代码
# File rbs-3.8.0/lib/rbs/ast/members.rb, line 192 def initialize(name:, args:, annotations:, location:, comment:) @name = name @args = args @annotations = annotations @location = location @comment = comment end
公共实例方法
==(other) 点击切换源代码
# File rbs-3.8.0/lib/rbs/ast/members.rb, line 200 def ==(other) other.is_a?(self.class) && other.name == name && other.args == args end
eql?(other) 点击切换源代码
# File rbs-3.8.0/lib/rbs/ast/members.rb, line 204 def eql?(other) self == other end
hash() 点击切换源代码
# File rbs-3.8.0/lib/rbs/ast/members.rb, line 208 def hash name.hash ^ args.hash end