Exception: LightModels::UnknownNodeType

Inherits:
ParsingError
  • Object
show all
Defined in:
lib/lightmodels/parsing.rb

Instance Attribute Summary

Attributes inherited from ParsingError

#line, #node

Instance Method Summary collapse

Methods inherited from ParsingError

#to_s

Constructor Details

#initialize(node, line = nil, node_type = nil, where = nil) ⇒ UnknownNodeType

Returns a new instance of UnknownNodeType.



23
24
25
# File 'lib/lightmodels/parsing.rb', line 23

def initialize(node,line=nil,node_type=nil,where=nil)
  super(node,"UnknownNodeType: type=#{node_type} , where: #{where}")
end