type foo:type
type _foo.-bar:type
----------------------------------------------------
[
["keyword", "type"],
["namespace", "foo"],
["punctuation", ":"],
"type\n",
["keyword", "type"],
["namespace", "_foo.-bar"],
["punctuation", ":"],
"type"
]
----------------------------------------------------
Checks for namespace prefixes.