Hash :
38808e64
Author :
Date :
2020-10-13T14:03:42
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
namespace App
namespace \foo
namespace \foo\bar\baz
use \foo
use \foo\bar\baz
use function \foo
use function \foo\bar\baz
----------------------------------------------------
[
["keyword", "namespace"],
["package", ["App"]],
["keyword", "namespace"],
["package", [["punctuation", "\\"], "foo"]],
["keyword", "namespace"],
["package", [
["punctuation", "\\"], "foo",
["punctuation", "\\"], "bar",
["punctuation", "\\"], "baz"
]],
["keyword", "use"],
["package", [["punctuation", "\\"], "foo"]],
["keyword", "use"],
["package", [
["punctuation", "\\"], "foo",
["punctuation", "\\"], "bar",
["punctuation", "\\"], "baz"
]],
["keyword", "use"],
["keyword", "function"],
["package", [["punctuation", "\\"], "foo"]],
["keyword", "use"],
["keyword", "function"],
["package", [
["punctuation", "\\"], "foo",
["punctuation", "\\"], "bar",
["punctuation", "\\"], "baz"
]]
]
----------------------------------------------------
Checks for packages.