Cut path into UriParts.

Property definitions

popcorn $ AppParamRoute :: parse_path_parameters
	# Cut `path` into `UriParts`.
	fun parse_path_parameters(path: String) do
		for part in path.split("/") do
			if not part.is_empty and part.first == ':' then
				# is an uri param
				path_parts.add new UriParam(part.substring(1, part.length))
			else
				# is a standard string
				path_parts.add new UriString(part)
			end
		end
	end
lib/popcorn/pop_routes.nit:114,2--125,4