Exception: CodeModels::Ruby::UnknownNodeType

Inherits:
ParsingError
  • Object
show all
Defined in:
lib/codemodels/ruby/parser.rb

Instance Attribute Summary

Attributes inherited from ParsingError

#node

Instance Method Summary collapse

Methods inherited from ParsingError

#to_s

Constructor Details

#initialize(node, where = nil) ⇒ UnknownNodeType

Returns a new instance of UnknownNodeType.



49
50
51
# File 'lib/codemodels/ruby/parser.rb', line 49

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