/databases/foo

/foo/{wildcard}
/foo/{wildcard}/bar
/foo/{x}/{y}/{z}/bar

/foo/$(x)/$(y)/bar/$(request.auth.uid)
/cities/{document=**}

----------------------------------------------------

[
	["path", [
		["punctuation", "/"],
		"databases",
		["punctuation", "/"],
		"foo"
	]],

	["path", [
		["punctuation", "/"],
		"foo",
		["punctuation", "/"],
		["variable", [
			["punctuation", "{"],
			"wildcard",
			["punctuation", "}"]
		]]
	]],
	["path", [
		["punctuation", "/"],
		"foo",
		["punctuation", "/"],
		["variable", [
			["punctuation", "{"],
			"wildcard",
			["punctuation", "}"]
		]],
		["punctuation", "/"],
		"bar"
	]],
	["path", [
		["punctuation", "/"],
		"foo",
		["punctuation", "/"],
		["variable", [
			["punctuation", "{"],
			"x",
			["punctuation", "}"]
		]],
		["punctuation", "/"],
		["variable", [
			["punctuation", "{"],
			"y",
			["punctuation", "}"]
		]],
		["punctuation", "/"],
		["variable", [
			["punctuation", "{"],
			"z",
			["punctuation", "}"]
		]],
		["punctuation", "/"],
		"bar"
	]],

	["path", [
		["punctuation", "/"],
		"foo",
		["punctuation", "/"],
		["variable", [
			["punctuation", "$"],
			["punctuation", "("],
			"x",
			["punctuation", ")"]
		]],
		["punctuation", "/"],
		["variable", [
			["punctuation", "$"],
			["punctuation", "("],
			"y",
			["punctuation", ")"]
		]],
		["punctuation", "/"],
		"bar",
		["punctuation", "/"],
		["variable", [
			["punctuation", "$"],
			["punctuation", "("],
			"request",
			["punctuation", "."],
			"auth",
			["punctuation", "."],
			"uid",
			["punctuation", ")"]
		]]
	]],
	["path", [
		["punctuation", "/"],
		"cities",
		["punctuation", "/"],
		["variable", [
			["punctuation", "{"],
			"document",
			["operator", "="],
			["keyword", "**"],
			["punctuation", "}"]
		]]
	]]
]

----------------------------------------------------

Checks for paths.
