class CorrespondingNodeNotFoundError
Public Class Methods
new(member_type_def, node_name)
click to toggle source
Calls superclass method
CompilerError::new
# File lib/compiler_error.rb, line 108 def initialize member_type_def, node_name super member_type_def.ast.position @type = member_type_def.type @node_name = node_name end
Public Instance Methods
info()
click to toggle source
# File lib/compiler_error.rb, line 114 def info "'#{@type.name}' : cannot find corresponding node '#{@node_name}'\n #{@type.ast.position} : see type definition of '#{@type.name}'" end