Exception: Faust2Ruby::Parser::ParseError
- Inherits:
-
StandardError
- Object
- StandardError
- Faust2Ruby::Parser::ParseError
- Defined in:
- lib/faust2ruby/parser.rb
Instance Attribute Summary collapse
-
#column ⇒ Object
readonly
Returns the value of attribute column.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
Instance Method Summary collapse
-
#initialize(message, line: nil, column: nil) ⇒ ParseError
constructor
A new instance of ParseError.
Constructor Details
#initialize(message, line: nil, column: nil) ⇒ ParseError
Returns a new instance of ParseError.
13 14 15 16 17 |
# File 'lib/faust2ruby/parser.rb', line 13 def initialize(, line: nil, column: nil) @line = line @column = column super("#{} at line #{line}, column #{column}") end |
Instance Attribute Details
#column ⇒ Object (readonly)
Returns the value of attribute column.
11 12 13 |
# File 'lib/faust2ruby/parser.rb', line 11 def column @column end |
#line ⇒ Object (readonly)
Returns the value of attribute line.
11 12 13 |
# File 'lib/faust2ruby/parser.rb', line 11 def line @line end |