模块 RBS::AST::Members::LocationOnly

属性

location[R]

公共类方法

new(location:) 点击切换源代码
# File rbs-3.8.0/lib/rbs/ast/members.rb, line 366
def initialize(location:)
  @location = location
end

公共实例方法

==(other) 点击切换源代码
# File rbs-3.8.0/lib/rbs/ast/members.rb, line 370
def ==(other)
  other.is_a?(self.class)
end
别名为:eql?
eql?(other)
别名:==
hash() 点击切换源代码
# File rbs-3.8.0/lib/rbs/ast/members.rb, line 376
def hash
  self.class.hash
end