Helper function to display a warning on a node.

Alias for: self.toolcontext.warning(n.hot_location, text)

Property definitions

nitc $ ModelBuilder :: warning
	# Helper function to display a warning on a node.
	# Alias for: `self.toolcontext.warning(n.hot_location, text)`
	fun warning(n: nullable ANode, tag, text: String)
	do
		var l = null
		if n != null then l = n.hot_location
		self.toolcontext.warning(l, tag, text)
	end
src/modelbuilder_base.nit:231,2--238,4