2019-03-01 02:41:00 +08:00
|
|
|
var FOO;
|
|
|
|
const FOO_BAR;
|
|
|
|
const BAZ42;
|
|
|
|
gl.FLOAT_MAT2x4;
|
|
|
|
|
|
|
|
----------------------------------------------------
|
|
|
|
|
|
|
|
[
|
2021-06-14 04:00:43 +08:00
|
|
|
["keyword", "var"],
|
|
|
|
["constant", "FOO"],
|
|
|
|
["punctuation", ";"],
|
|
|
|
|
|
|
|
["keyword", "const"],
|
|
|
|
["constant", "FOO_BAR"],
|
|
|
|
["punctuation", ";"],
|
|
|
|
|
|
|
|
["keyword", "const"],
|
|
|
|
["constant", "BAZ42"],
|
|
|
|
["punctuation", ";"],
|
|
|
|
|
|
|
|
"\r\ngl",
|
|
|
|
["punctuation", "."],
|
|
|
|
["constant", "FLOAT_MAT2x4"],
|
|
|
|
["punctuation", ";"]
|
2019-03-01 02:41:00 +08:00
|
|
|
]
|
|
|
|
|
|
|
|
----------------------------------------------------
|
|
|
|
|
|
|
|
Checks for constants.
|