Class: Hocon::Impl::Tokens::Problem

Inherits:
Token
  • Object
show all
Defined in:
lib/hocon/impl/tokens.rb

Instance Method Summary collapse

Constructor Details

#initialize(origin, what, message, suggest_quotes, cause) ⇒ Problem

Returns a new instance of Problem.



73
74
75
76
77
78
79
# File 'lib/hocon/impl/tokens.rb', line 73

def initialize(origin, what, message, suggest_quotes, cause)
  super(TokenType::PROBLEM, origin)
  @what = what
  @message = message
  @suggest_quotes = suggest_quotes
  @cause = cause
end