class Hocon::Impl::Tokens::Line
Public Class Methods
Source
# File lib/hocon/impl/tokens.rb, line 60 def initialize(origin) super(TokenType::NEWLINE, origin) end
Calls superclass method
Public Instance Methods
Source
# File lib/hocon/impl/tokens.rb, line 68 def ==(other) super(other) && other.line_number == line_number end
Calls superclass method
Source
# File lib/hocon/impl/tokens.rb, line 64 def can_equal(other) o.is_a?(Line) end
Source
# File lib/hocon/impl/tokens.rb, line 72 def hash 41 * (41 + super) + line_number end
Calls superclass method