Display self on stdout (debug only).

This method MUST not be used by programs, it is here for debugging only and can be removed without any notice.

TODO: rename to avoid blocking a good identifier like output.

Property definitions

core $ Object :: output
	# Display self on stdout (debug only).
	#
	# This method MUST not be used by programs, it is here for debugging
	# only and can be removed without any notice.
	#
	# TODO: rename to avoid blocking a good identifier like `output`.
	fun output
	do
		'<'.output
		object_id.output
		'>'.output
	end
lib/core/kernel.nit:175,2--186,4

core $ Bool :: output
	redef fun output is intern
lib/core/kernel.nit:503,2--27

core $ AbstractArrayRead :: output
	redef fun output
	do
		var i = 0
		var l = length
		while i < l do
			var e = self[i]
			if e != null then e.output
			i += 1
		end
	end
lib/core/collection/array.nit:129,2--138,4

core $ UInt32 :: output
	redef fun output is intern
lib/core/fixed_ints.nit:600,2--27

core $ Int8 :: output
	redef fun output is intern
lib/core/fixed_ints.nit:116,2--27

core $ Int16 :: output
	redef fun output is intern
lib/core/fixed_ints.nit:237,2--27

core $ UInt16 :: output
	redef fun output is intern
lib/core/fixed_ints.nit:358,2--27

core $ Int32 :: output
	redef fun output is intern
lib/core/fixed_ints.nit:479,2--27

core $ Char :: output
	redef fun output `{
		if(self < 128){
			printf("%c", self);
		}else if(self < 2048){
			printf("%c%c", 0xC0 | ((0x7C0 & self) >> 6), 0x80 | (0x3F & self));
		}else if(self < 65536){
			printf("%c%c%c", 0xE0 | ((0xF000 & self) >> 12), 0x80 | ((0xFC0 & self) >> 6) ,0x80 | (0x3F & self));
		}else if(self < 2097152){
			printf("%c%c%c%c", 0xF0 | ((0x1C0000 & self) >> 18), 0x80 | ((0x3F000 & self) >> 12), 0x80 | ((0xFC0 & self) >> 6), 0x80 | (0x3F & self));
		}else{
			// Bad char
			printf("%c", self);
		}
	`}
lib/core/kernel.nit:896,2--909,3

core $ Byte :: output
	redef fun output is intern
lib/core/kernel.nit:616,2--27

core $ Float :: output
	redef fun output is intern
lib/core/kernel.nit:527,2--27

core $ Int :: output
	redef fun output is intern
lib/core/kernel.nit:717,2--27

core $ FlatText :: output
	redef fun output
	do
		var i = 0
		while i < length do
			items[i].output
			i += 1
		end
	end
lib/core/text/abstract_text.nit:1431,2--1438,4

core $ Concat :: output
	redef fun output do
		_left.output
		_right.output
	end
lib/core/text/ropes.nit:119,2--122,4

core $ FlatString :: output
	redef fun output
	do
		for i in chars do i.output
	end
lib/core/text/flat.nit:513,2--516,4