Method: CodeModels::ParsingError#to_s
- Defined in:
- lib/codemodels/parser.rb
#to_s ⇒ Object
60 61 62 63 64 65 66 67 68 |
# File 'lib/codemodels/parser.rb', line 60 def to_s if @line and @column "Parsing error: #{@msg}, node: #{node}, line: #{@line}, column: #{column}" elsif @line "Parsing error: #{@msg}, node: #{node}, line: #{@line}" else "Parsing error: #{@msg}, node: #{node}" end end |