Is the combination of prefixes and suffixes in self valid ?

Property definitions

nitc $ AAugmentedLiteral :: is_valid_augmentation
	# Is the combination of prefixes and suffixes in `self` valid ?
	fun is_valid_augmentation: Bool is abstract
src/literal.nit:103,2--104,44

nitc :: literal $ ACharExpr :: is_valid_augmentation
	redef fun is_valid_augmentation do
		if suffix != "" then return false
		if is_code_point then return true
		if prefix != "" then return false
		return true
	end
src/literal.nit:137,2--142,4

nitc $ AugmentedStringFormExpr :: is_valid_augmentation
	redef fun is_valid_augmentation do
		if is_string and suffix == "" then return true
		if is_bytestring and suffix == "" then return true
		if is_re then
			var suf = suffix
			for i in suf.chars do
				if i == 'i' then continue
				if i == 'm' then continue
				if i == 'b' then continue
				return false
			end
			return true
		end
		if prefix != "" or suffix != "" then return false
		return true
	end
src/literal.nit:175,2--190,4