class Hocon::Impl::Tokens::Line
Public Class Methods
new(origin)
click to toggle source
Calls superclass method
# File lib/hocon/impl/tokens.rb, line 59 def initialize(origin) super(TokenType::NEWLINE, origin) end
Public Instance Methods
==(other)
click to toggle source
Calls superclass method
# File lib/hocon/impl/tokens.rb, line 67 def ==(other) super(other) && other.line_number == line_number end
can_equal(other)
click to toggle source
# File lib/hocon/impl/tokens.rb, line 63 def can_equal(other) o.is_a?(Line) end
hash()
click to toggle source
Calls superclass method
# File lib/hocon/impl/tokens.rb, line 71 def hash 41 * (41 + super) + line_number end
token_text()
click to toggle source
# File lib/hocon/impl/tokens.rb, line 75 def token_text "\n" end