php-kilo/tests/__snapshots__/EditorTest__testOpenPHP__1.json
Timothy Warren 3b4ed0f245
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
Update test snapshot to fix tests
2022-08-26 11:14:11 -04:00

7188 lines
209 KiB
JSON

{
"cursor": {
"x": 0,
"y": 0
},
"document": {
"fileType": {
"name": "PHP",
"syntax": {
"tokens": [],
"filetype": "PHP",
"keywords1": [],
"keywords2": [],
"operators": [],
"singleLineCommentStart": "\/\/",
"multiLineCommentStart": "\/*",
"multiLineCommentEnd": "*\/"
}
},
"tokens": {
"1": [
{
"type": 389,
"typeName": "T_OPEN_TAG",
"char": "<?php ",
"line": 1
},
{
"type": 299,
"typeName": "T_DECLARE",
"char": "declare",
"line": 1
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 1
},
{
"type": 262,
"typeName": "T_STRING",
"char": "strict_types",
"line": 1
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 1
},
{
"type": 260,
"typeName": "T_LNUMBER",
"char": "1",
"line": 1
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 1
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 1
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n",
"line": 1
}
],
"2": [],
"3": [
{
"type": 335,
"typeName": "T_INTERFACE",
"char": "interface",
"line": 3
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 3
},
{
"type": 262,
"typeName": "T_STRING",
"char": "Ifoo",
"line": 3
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 3
},
{
"type": 123,
"typeName": "{",
"char": "{",
"line": 3
},
{
"type": 125,
"typeName": "}",
"char": "}",
"line": 3
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n",
"line": 3
}
],
"4": [],
"5": [
{
"type": 387,
"typeName": "T_COMMENT",
"char": "\/\/ Let's see emoji! \ud83d\udd6f\ufe0f\ud83d\ude38\u26e9\u26ea",
"line": 5
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n",
"line": 5
}
],
"6": [
{
"type": 322,
"typeName": "T_ABSTRACT",
"char": "abstract",
"line": 6
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 6
},
{
"type": 333,
"typeName": "T_CLASS",
"char": "class",
"line": 6
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 6
},
{
"type": 262,
"typeName": "T_STRING",
"char": "Foo",
"line": 6
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 6
},
{
"type": 338,
"typeName": "T_IMPLEMENTS",
"char": "implements",
"line": 6
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 6
},
{
"type": 262,
"typeName": "T_STRING",
"char": "Ifoo",
"line": 6
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 6
},
{
"type": 123,
"typeName": "{",
"char": "{",
"line": 6
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 6
}
],
"7": [
{
"type": 388,
"typeName": "T_DOC_COMMENT",
"char": "\/**",
"line": 7,
"original": {
"string": "\/**\n * @param int $a\n * @param float $b\n * @param array $c\n * @param callable $d\n * @param string $e\n * @return string\n *\/",
"lines": [
"\/**",
" * @param int $a",
" * @param float $b",
" * @param array $c",
" * @param callable $d",
" * @param string $e",
" * @return string",
" *\/"
]
}
}
],
"8": [
{
"type": -1,
"typeName": "RAW",
"char": " * @param int $a",
"line": 8
}
],
"9": [
{
"type": -1,
"typeName": "RAW",
"char": " * @param float $b",
"line": 9
}
],
"10": [
{
"type": -1,
"typeName": "RAW",
"char": " * @param array $c",
"line": 10
}
],
"11": [
{
"type": -1,
"typeName": "RAW",
"char": " * @param callable $d",
"line": 11
}
],
"12": [
{
"type": -1,
"typeName": "RAW",
"char": " * @param string $e",
"line": 12
}
],
"13": [
{
"type": -1,
"typeName": "RAW",
"char": " * @return string",
"line": 13
}
],
"14": [
{
"type": -1,
"typeName": "RAW",
"char": " *\/",
"line": 14
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 14
}
],
"15": [
{
"type": 322,
"typeName": "T_ABSTRACT",
"char": "abstract",
"line": 15
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 15
},
{
"type": 326,
"typeName": "T_PUBLIC",
"char": "public",
"line": 15
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 15
},
{
"type": 310,
"typeName": "T_FUNCTION",
"char": "function",
"line": 15
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 15
},
{
"type": 262,
"typeName": "T_STRING",
"char": "bar",
"line": 15
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 15
},
{
"type": 262,
"typeName": "T_STRING",
"char": "int",
"line": 15
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 15
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$a",
"line": 15
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 15
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 15
},
{
"type": 262,
"typeName": "T_STRING",
"char": "float",
"line": 15
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 15
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$b",
"line": 15
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 15
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 15
},
{
"type": 341,
"typeName": "T_ARRAY",
"char": "array",
"line": 15
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 15
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$c",
"line": 15
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 15
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 15
},
{
"type": 342,
"typeName": "T_CALLABLE",
"char": "callable",
"line": 15
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 15
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$d",
"line": 15
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 15
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 15
},
{
"type": 262,
"typeName": "T_STRING",
"char": "string",
"line": 15
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 15
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$e",
"line": 15
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 15
},
{
"type": 58,
"typeName": ":",
"char": ":",
"line": 15
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 15
},
{
"type": 262,
"typeName": "T_STRING",
"char": "string",
"line": 15
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 15
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n ",
"line": 15
}
],
"16": [],
"17": [
{
"type": 325,
"typeName": "T_PROTECTED",
"char": "protected",
"line": 17
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 17
},
{
"type": 310,
"typeName": "T_FUNCTION",
"char": "function",
"line": 17
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 17
},
{
"type": 262,
"typeName": "T_STRING",
"char": "doNothing",
"line": 17
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 17
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 17
},
{
"type": 58,
"typeName": ":",
"char": ":",
"line": 17
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 17
},
{
"type": 262,
"typeName": "T_STRING",
"char": "void",
"line": 17
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 17
},
{
"type": 123,
"typeName": "{",
"char": "{",
"line": 17
},
{
"type": 125,
"typeName": "}",
"char": "}",
"line": 17
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n",
"line": 17
}
],
"18": [
{
"type": 125,
"typeName": "}",
"char": "}",
"line": 18
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n",
"line": 18
}
],
"19": [],
"20": [
{
"type": 333,
"typeName": "T_CLASS",
"char": "class",
"line": 20
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 20
},
{
"type": 262,
"typeName": "T_STRING",
"char": "Test",
"line": 20
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 20
},
{
"type": 123,
"typeName": "{",
"char": "{",
"line": 20
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 20
}
],
"21": [
{
"type": 326,
"typeName": "T_PUBLIC",
"char": "public",
"line": 21
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 21
},
{
"type": 310,
"typeName": "T_FUNCTION",
"char": "function",
"line": 21
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 21
},
{
"type": 262,
"typeName": "T_STRING",
"char": "__construct",
"line": 21
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 21
},
{
"type": 326,
"typeName": "T_PUBLIC",
"char": "public",
"line": 21
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 21
},
{
"type": 262,
"typeName": "T_STRING",
"char": "string",
"line": 21
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 21
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$foo",
"line": 21
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 21
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 21
},
{
"type": 326,
"typeName": "T_PUBLIC",
"char": "public",
"line": 21
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 21
},
{
"type": 262,
"typeName": "T_STRING",
"char": "string",
"line": 21
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 21
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$bar",
"line": 21
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 21
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 21
},
{
"type": 123,
"typeName": "{",
"char": "{",
"line": 21
},
{
"type": 125,
"typeName": "}",
"char": "}",
"line": 21
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n",
"line": 21
}
],
"22": [
{
"type": 125,
"typeName": "}",
"char": "}",
"line": 22
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n",
"line": 22
}
],
"23": [],
"24": [
{
"type": 388,
"typeName": "T_DOC_COMMENT",
"char": "\/**",
"line": 24,
"original": {
"string": "\/**\n * Docblock comment\n *\/",
"lines": [
"\/**",
" * Docblock comment",
" *\/"
]
}
}
],
"25": [
{
"type": -1,
"typeName": "RAW",
"char": " * Docblock comment",
"line": 25
}
],
"26": [
{
"type": -1,
"typeName": "RAW",
"char": " *\/",
"line": 26
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n",
"line": 26
}
],
"27": [
{
"type": 333,
"typeName": "T_CLASS",
"char": "class",
"line": 27
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 27
},
{
"type": 262,
"typeName": "T_STRING",
"char": "FooBar",
"line": 27
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 27
},
{
"type": 337,
"typeName": "T_EXTENDS",
"char": "extends",
"line": 27
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 27
},
{
"type": 262,
"typeName": "T_STRING",
"char": "Foo",
"line": 27
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 27
},
{
"type": 338,
"typeName": "T_IMPLEMENTS",
"char": "implements",
"line": 27
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 27
},
{
"type": 262,
"typeName": "T_STRING",
"char": "Ifoo",
"line": 27
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 27
},
{
"type": 123,
"typeName": "{",
"char": "{",
"line": 27
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 27
}
],
"28": [
{
"type": 326,
"typeName": "T_PUBLIC",
"char": "public",
"line": 28
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 28
},
{
"type": 310,
"typeName": "T_FUNCTION",
"char": "function",
"line": 28
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 28
},
{
"type": 262,
"typeName": "T_STRING",
"char": "bar",
"line": 28
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 28
},
{
"type": 262,
"typeName": "T_STRING",
"char": "int",
"line": 28
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 28
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$a",
"line": 28
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 28
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 28
},
{
"type": 262,
"typeName": "T_STRING",
"char": "float",
"line": 28
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 28
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$b",
"line": 28
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 28
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 28
},
{
"type": 341,
"typeName": "T_ARRAY",
"char": "array",
"line": 28
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 28
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$c",
"line": 28
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 28
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 28
},
{
"type": 342,
"typeName": "T_CALLABLE",
"char": "callable",
"line": 28
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 28
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$d",
"line": 28
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 28
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 28
},
{
"type": 262,
"typeName": "T_STRING",
"char": "string",
"line": 28
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 28
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$e",
"line": 28
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 28
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 28
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 28
},
{
"type": 269,
"typeName": "T_CONSTANT_ENCAPSED_STRING",
"char": "'default'",
"line": 28
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 28
},
{
"type": 58,
"typeName": ":",
"char": ":",
"line": 28
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 28
},
{
"type": 262,
"typeName": "T_STRING",
"char": "string",
"line": 28
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 28
}
],
"29": [
{
"type": 123,
"typeName": "{",
"char": "{",
"line": 29
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 29
}
],
"30": [
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$cstr",
"line": 30
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 30
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 30
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 30
},
{
"type": 262,
"typeName": "T_STRING",
"char": "print_r",
"line": 30
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 30
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$c",
"line": 30
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 30
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 30
},
{
"type": 262,
"typeName": "T_STRING",
"char": "TRUE",
"line": 30
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 30
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 30
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 30
}
],
"31": [
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$d",
"line": 31
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 31
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 31
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 31
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n ",
"line": 31
}
],
"32": [],
"33": [
{
"type": 313,
"typeName": "T_RETURN",
"char": "return",
"line": 33
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 33
},
{
"type": 34,
"typeName": "\"",
"char": "\"",
"line": 33
},
{
"type": 396,
"typeName": "T_CURLY_OPEN",
"char": "{",
"line": 33
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$a",
"line": 33
},
{
"type": 125,
"typeName": "}",
"char": "}",
"line": 33
},
{
"type": 268,
"typeName": "T_ENCAPSED_AND_WHITESPACE",
"char": ", ",
"line": 33
},
{
"type": 395,
"typeName": "T_DOLLAR_OPEN_CURLY_BRACES",
"char": "${",
"line": 33
},
{
"type": 270,
"typeName": "T_STRING_VARNAME",
"char": "b",
"line": 33
},
{
"type": 125,
"typeName": "}",
"char": "}",
"line": 33
},
{
"type": 268,
"typeName": "T_ENCAPSED_AND_WHITESPACE",
"char": ", ",
"line": 33
},
{
"type": 34,
"typeName": "\"",
"char": "\"",
"line": 33
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 33
},
{
"type": 46,
"typeName": ".",
"char": ".",
"line": 33
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 33
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$cstr",
"line": 33
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 33
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 33
}
],
"34": [
{
"type": 125,
"typeName": "}",
"char": "}",
"line": 34
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n ",
"line": 34
}
],
"35": [],
"36": [
{
"type": 324,
"typeName": "T_PRIVATE",
"char": "private",
"line": 36
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 36
},
{
"type": 310,
"typeName": "T_FUNCTION",
"char": "function",
"line": 36
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 36
},
{
"type": 262,
"typeName": "T_STRING",
"char": "operations",
"line": 36
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 36
},
{
"type": 262,
"typeName": "T_STRING",
"char": "int",
"line": 36
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 36
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$a",
"line": 36
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 36
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 36
},
{
"type": 262,
"typeName": "T_STRING",
"char": "int",
"line": 36
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 36
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$b",
"line": 36
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 36
},
{
"type": 58,
"typeName": ":",
"char": ":",
"line": 36
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 36
},
{
"type": 262,
"typeName": "T_STRING",
"char": "int",
"line": 36
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 36
}
],
"37": [
{
"type": 123,
"typeName": "{",
"char": "{",
"line": 37
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 37
}
],
"38": [
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$this",
"line": 38
},
{
"type": 385,
"typeName": "T_NULLSAFE_OBJECT_OPERATOR",
"char": "?->",
"line": 38
},
{
"type": 262,
"typeName": "T_STRING",
"char": "x",
"line": 38
},
{
"type": 385,
"typeName": "T_NULLSAFE_OBJECT_OPERATOR",
"char": "?->",
"line": 38
},
{
"type": 262,
"typeName": "T_STRING",
"char": "bar",
"line": 38
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 38
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 38
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 38
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n ",
"line": 38
}
],
"39": [],
"40": [
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$this",
"line": 40
},
{
"type": 384,
"typeName": "T_OBJECT_OPERATOR",
"char": "->",
"line": 40
},
{
"type": 262,
"typeName": "T_STRING",
"char": "doNothing",
"line": 40
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 40
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 40
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 40
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n ",
"line": 40
}
],
"41": [],
"42": [
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$c",
"line": 42
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 42
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 42
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 42
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$a",
"line": 42
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 42
},
{
"type": 43,
"typeName": "+",
"char": "+",
"line": 42
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 42
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$b",
"line": 42
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 42
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 42
}
],
"43": [
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$a",
"line": 43
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 43
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 43
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 43
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$c",
"line": 43
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 43
},
{
"type": 45,
"typeName": "-",
"char": "-",
"line": 43
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 43
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$b",
"line": 43
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 43
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n ",
"line": 43
}
],
"44": [],
"45": [
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$c",
"line": 45
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 45
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 45
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 45
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$a",
"line": 45
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 45
},
{
"type": 42,
"typeName": "*",
"char": "*",
"line": 45
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 45
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$b",
"line": 45
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 45
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 45
}
],
"46": [
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$b",
"line": 46
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 46
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 46
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 46
},
{
"type": 377,
"typeName": "T_INT_CAST",
"char": "(int)",
"line": 46
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 46
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 46
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$c",
"line": 46
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 46
},
{
"type": 47,
"typeName": "\/",
"char": "\/",
"line": 46
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 46
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$a",
"line": 46
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 46
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 46
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n ",
"line": 46
}
],
"47": [],
"48": [
{
"type": 313,
"typeName": "T_RETURN",
"char": "return",
"line": 48
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 48
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$c",
"line": 48
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 48
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 48
}
],
"49": [
{
"type": 125,
"typeName": "}",
"char": "}",
"line": 49
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n",
"line": 49
}
],
"50": [
{
"type": 125,
"typeName": "}",
"char": "}",
"line": 50
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n",
"line": 50
}
],
"51": [],
"52": [
{
"type": 334,
"typeName": "T_TRAIT",
"char": "trait",
"line": 52
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 52
},
{
"type": 262,
"typeName": "T_STRING",
"char": "Baz",
"line": 52
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 52
},
{
"type": 123,
"typeName": "{",
"char": "{",
"line": 52
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 52
}
],
"53": [
{
"type": 326,
"typeName": "T_PUBLIC",
"char": "public",
"line": 53
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 53
},
{
"type": 310,
"typeName": "T_FUNCTION",
"char": "function",
"line": 53
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 53
},
{
"type": 262,
"typeName": "T_STRING",
"char": "about",
"line": 53
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 53
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 53
},
{
"type": 58,
"typeName": ":",
"char": ":",
"line": 53
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 53
},
{
"type": 341,
"typeName": "T_ARRAY",
"char": "array",
"line": 53
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 53
}
],
"54": [
{
"type": 123,
"typeName": "{",
"char": "{",
"line": 54
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 54
}
],
"55": [
{
"type": 313,
"typeName": "T_RETURN",
"char": "return",
"line": 55
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 55
},
{
"type": 91,
"typeName": "[",
"char": "[",
"line": 55
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 55
}
],
"56": [
{
"type": 269,
"typeName": "T_CONSTANT_ENCAPSED_STRING",
"char": "'__CLASS__'",
"line": 56
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 56
},
{
"type": 386,
"typeName": "T_DOUBLE_ARROW",
"char": "=>",
"line": 56
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 56
},
{
"type": 346,
"typeName": "T_CLASS_C",
"char": "__CLASS__",
"line": 56
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 56
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 56
}
],
"57": [
{
"type": 269,
"typeName": "T_CONSTANT_ENCAPSED_STRING",
"char": "'__DIR__'",
"line": 57
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 57
},
{
"type": 386,
"typeName": "T_DOUBLE_ARROW",
"char": "=>",
"line": 57
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 57
},
{
"type": 345,
"typeName": "T_DIR",
"char": "__DIR__",
"line": 57
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 57
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 57
}
],
"58": [
{
"type": 269,
"typeName": "T_CONSTANT_ENCAPSED_STRING",
"char": "'__FILE__'",
"line": 58
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 58
},
{
"type": 386,
"typeName": "T_DOUBLE_ARROW",
"char": "=>",
"line": 58
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 58
},
{
"type": 344,
"typeName": "T_FILE",
"char": "__FILE__",
"line": 58
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 58
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 58
}
],
"59": [
{
"type": 269,
"typeName": "T_CONSTANT_ENCAPSED_STRING",
"char": "'__FUNCTION__'",
"line": 59
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 59
},
{
"type": 386,
"typeName": "T_DOUBLE_ARROW",
"char": "=>",
"line": 59
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 59
},
{
"type": 349,
"typeName": "T_FUNC_C",
"char": "__FUNCTION__",
"line": 59
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 59
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 59
}
],
"60": [
{
"type": 269,
"typeName": "T_CONSTANT_ENCAPSED_STRING",
"char": "'__LINE__'",
"line": 60
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 60
},
{
"type": 386,
"typeName": "T_DOUBLE_ARROW",
"char": "=>",
"line": 60
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 60
},
{
"type": 343,
"typeName": "T_LINE",
"char": "__LINE__",
"line": 60
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 60
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 60
}
],
"61": [
{
"type": 269,
"typeName": "T_CONSTANT_ENCAPSED_STRING",
"char": "'__METHOD__'",
"line": 61
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 61
},
{
"type": 386,
"typeName": "T_DOUBLE_ARROW",
"char": "=>",
"line": 61
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 61
},
{
"type": 348,
"typeName": "T_METHOD_C",
"char": "__METHOD__",
"line": 61
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 61
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 61
}
],
"62": [
{
"type": 269,
"typeName": "T_CONSTANT_ENCAPSED_STRING",
"char": "'__NAMESPACE__'",
"line": 62
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 62
},
{
"type": 386,
"typeName": "T_DOUBLE_ARROW",
"char": "=>",
"line": 62
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 62
},
{
"type": 350,
"typeName": "T_NS_C",
"char": "__NAMESPACE__",
"line": 62
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 62
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 62
}
],
"63": [
{
"type": 269,
"typeName": "T_CONSTANT_ENCAPSED_STRING",
"char": "'__TRAIT__'",
"line": 63
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 63
},
{
"type": 386,
"typeName": "T_DOUBLE_ARROW",
"char": "=>",
"line": 63
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 63
},
{
"type": 347,
"typeName": "T_TRAIT_C",
"char": "__TRAIT__",
"line": 63
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 63
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 63
}
],
"64": [
{
"type": 93,
"typeName": "]",
"char": "]",
"line": 64
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 64
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 64
}
],
"65": [
{
"type": 125,
"typeName": "}",
"char": "}",
"line": 65
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n",
"line": 65
}
],
"66": [
{
"type": 125,
"typeName": "}",
"char": "}",
"line": 66
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n",
"line": 66
}
],
"67": [],
"68": [
{
"type": 333,
"typeName": "T_CLASS",
"char": "class",
"line": 68
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 68
},
{
"type": 262,
"typeName": "T_STRING",
"char": "BazFoo",
"line": 68
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 68
},
{
"type": 123,
"typeName": "{",
"char": "{",
"line": 68
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 68
}
],
"69": [
{
"type": 318,
"typeName": "T_USE",
"char": "use",
"line": 69
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 69
},
{
"type": 262,
"typeName": "T_STRING",
"char": "Baz",
"line": 69
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 69
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n",
"line": 69
}
],
"70": [
{
"type": 125,
"typeName": "}",
"char": "}",
"line": 70
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n",
"line": 70
}
],
"71": [],
"72": [
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$square",
"line": 72
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 72
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 72
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 72
},
{
"type": 311,
"typeName": "T_FN",
"char": "fn",
"line": 72
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 72
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 72
},
{
"type": 262,
"typeName": "T_STRING",
"char": "int",
"line": 72
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 72
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$x",
"line": 72
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 72
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 72
},
{
"type": 386,
"typeName": "T_DOUBLE_ARROW",
"char": "=>",
"line": 72
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 72
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$x",
"line": 72
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 72
},
{
"type": 401,
"typeName": "T_POW",
"char": "**",
"line": 72
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 72
},
{
"type": 260,
"typeName": "T_LNUMBER",
"char": "2",
"line": 72
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 72
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n",
"line": 72
}
],
"73": [],
"74": [
{
"type": 297,
"typeName": "T_FOREACH",
"char": "foreach",
"line": 74
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 74
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 74
},
{
"type": 91,
"typeName": "[",
"char": "[",
"line": 74
},
{
"type": 45,
"typeName": "-",
"char": "-",
"line": 74
},
{
"type": 260,
"typeName": "T_LNUMBER",
"char": "1",
"line": 74
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 74
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 74
},
{
"type": 260,
"typeName": "T_LNUMBER",
"char": "0",
"line": 74
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 74
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 74
},
{
"type": 260,
"typeName": "T_LNUMBER",
"char": "1",
"line": 74
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 74
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 74
},
{
"type": 260,
"typeName": "T_LNUMBER",
"char": "2",
"line": 74
},
{
"type": 93,
"typeName": "]",
"char": "]",
"line": 74
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 74
},
{
"type": 301,
"typeName": "T_AS",
"char": "as",
"line": 74
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 74
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$x",
"line": 74
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 74
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n",
"line": 74
}
],
"75": [
{
"type": 123,
"typeName": "{",
"char": "{",
"line": 75
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 75
}
],
"76": [
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$not",
"line": 76
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 76
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 76
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 76
},
{
"type": 306,
"typeName": "T_MATCH",
"char": "match",
"line": 76
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 76
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 76
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$x",
"line": 76
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 76
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 76
},
{
"type": 123,
"typeName": "{",
"char": "{",
"line": 76
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 76
}
],
"77": [
{
"type": 260,
"typeName": "T_LNUMBER",
"char": "0",
"line": 77
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 77
},
{
"type": 386,
"typeName": "T_DOUBLE_ARROW",
"char": "=>",
"line": 77
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 77
},
{
"type": 260,
"typeName": "T_LNUMBER",
"char": "1",
"line": 77
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 77
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 77
}
],
"78": [
{
"type": 260,
"typeName": "T_LNUMBER",
"char": "1",
"line": 78
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 78
},
{
"type": 45,
"typeName": "-",
"char": "-",
"line": 78
},
{
"type": 260,
"typeName": "T_LNUMBER",
"char": "1",
"line": 78
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 78
},
{
"type": 386,
"typeName": "T_DOUBLE_ARROW",
"char": "=>",
"line": 78
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 78
},
{
"type": 260,
"typeName": "T_LNUMBER",
"char": "0",
"line": 78
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 78
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 78
}
],
"79": [
{
"type": 305,
"typeName": "T_DEFAULT",
"char": "default",
"line": 79
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 79
},
{
"type": 386,
"typeName": "T_DOUBLE_ARROW",
"char": "=>",
"line": 79
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 79
},
{
"type": 260,
"typeName": "T_LNUMBER",
"char": "0",
"line": 79
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 79
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 79
}
],
"80": [
{
"type": 125,
"typeName": "}",
"char": "}",
"line": 80
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 80
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n",
"line": 80
}
],
"81": [
{
"type": 125,
"typeName": "}",
"char": "}",
"line": 81
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n",
"line": 81
}
],
"82": [],
"83": [
{
"type": 387,
"typeName": "T_COMMENT",
"char": "\/*",
"line": 83,
"original": {
"string": "\/*\n * Multi-line comment\n *\/",
"lines": [
"\/*",
" * Multi-line comment",
" *\/"
]
}
}
],
"84": [
{
"type": -1,
"typeName": "RAW",
"char": " * Multi-line comment",
"line": 84
}
],
"85": [
{
"type": -1,
"typeName": "RAW",
"char": " *\/",
"line": 85
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n",
"line": 85
}
],
"86": [
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$foobar",
"line": 86
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 86
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 86
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 86
},
{
"type": 284,
"typeName": "T_NEW",
"char": "new",
"line": 86
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 86
},
{
"type": 262,
"typeName": "T_STRING",
"char": "FooBar",
"line": 86
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 86
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 86
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 86
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n",
"line": 86
}
],
"87": [],
"88": [
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$baz",
"line": 88
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 88
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 88
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 88
},
{
"type": 91,
"typeName": "[",
"char": "[",
"line": 88
},
{
"type": 269,
"typeName": "T_CONSTANT_ENCAPSED_STRING",
"char": "'a'",
"line": 88
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 88
},
{
"type": 386,
"typeName": "T_DOUBLE_ARROW",
"char": "=>",
"line": 88
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 88
},
{
"type": 269,
"typeName": "T_CONSTANT_ENCAPSED_STRING",
"char": "'b'",
"line": 88
},
{
"type": 93,
"typeName": "]",
"char": "]",
"line": 88
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 88
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n",
"line": 88
}
],
"89": [],
"90": [
{
"type": 387,
"typeName": "T_COMMENT",
"char": "\/\/ C++ style comment",
"line": 90
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n",
"line": 90
}
],
"91": [
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$x",
"line": 91
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 91
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 91
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 91
},
{
"type": 260,
"typeName": "T_LNUMBER",
"char": "3",
"line": 91
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 91
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n",
"line": 91
}
],
"92": [],
"93": [
{
"type": 387,
"typeName": "T_COMMENT",
"char": "# Perl-style comment",
"line": 93
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n",
"line": 93
}
],
"94": [
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$y",
"line": 94
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 94
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 94
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 94
},
{
"type": 91,
"typeName": "[",
"char": "[",
"line": 94
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 94
}
],
"95": [
{
"type": 260,
"typeName": "T_LNUMBER",
"char": "1",
"line": 95
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 95
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 95
}
],
"96": [
{
"type": 260,
"typeName": "T_LNUMBER",
"char": "2",
"line": 96
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 96
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 96
}
],
"97": [
{
"type": 260,
"typeName": "T_LNUMBER",
"char": "3",
"line": 97
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n",
"line": 97
}
],
"98": [
{
"type": 93,
"typeName": "]",
"char": "]",
"line": 98
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 98
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n",
"line": 98
}
],
"99": [],
"100": [
{
"type": 387,
"typeName": "T_COMMENT",
"char": "\/\/ Multi-line ternary statement",
"line": 100
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n",
"line": 100
}
],
"101": [
{
"type": 387,
"typeName": "T_COMMENT",
"char": "#{Attribute]",
"line": 101
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n",
"line": 101
}
],
"102": [
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$q",
"line": 102
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 102
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 102
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 102
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 102
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$x",
"line": 102
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 102
},
{
"type": 369,
"typeName": "T_IS_NOT_IDENTICAL",
"char": "!==",
"line": 102
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 102
},
{
"type": 260,
"typeName": "T_LNUMBER",
"char": "2",
"line": 102
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 102
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 102
}
],
"103": [
{
"type": 63,
"typeName": "?",
"char": "?",
"line": 103
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 103
},
{
"type": 269,
"typeName": "T_CONSTANT_ENCAPSED_STRING",
"char": "'yes'",
"line": 103
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 103
}
],
"104": [
{
"type": 58,
"typeName": ":",
"char": ":",
"line": 104
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 104
},
{
"type": 269,
"typeName": "T_CONSTANT_ENCAPSED_STRING",
"char": "'no'",
"line": 104
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 104
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n",
"line": 104
}
],
"105": [],
"106": [
{
"type": 387,
"typeName": "T_COMMENT",
"char": "\/*",
"line": 106,
"original": {
"string": "\/*\nHeredoc\n*\/",
"lines": [
"\/*",
"Heredoc",
"*\/"
]
}
}
],
"107": [
{
"type": -1,
"typeName": "RAW",
"char": "Heredoc",
"line": 107
}
],
"108": [
{
"type": -1,
"typeName": "RAW",
"char": "*\/",
"line": 108
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$z",
"line": 108
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 108
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 108
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 108
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$x",
"line": 108
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 108
},
{
"type": 43,
"typeName": "+",
"char": "+",
"line": 108
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 108
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$y",
"line": 108
},
{
"type": 91,
"typeName": "[",
"char": "[",
"line": 108
},
{
"type": 260,
"typeName": "T_LNUMBER",
"char": "0",
"line": 108
},
{
"type": 93,
"typeName": "]",
"char": "]",
"line": 108
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 108
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n",
"line": 108
}
],
"109": [
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$sql",
"line": 109
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 109
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 109
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 109
},
{
"type": 393,
"typeName": "T_START_HEREDOC",
"char": "<<<SQL",
"line": 109,
"original": {
"string": "<<<SQL\n",
"lines": [
"<<<SQL",
""
]
}
}
],
"110": [
{
"type": 268,
"typeName": "T_ENCAPSED_AND_WHITESPACE",
"char": " SELECT * FROM \"foo\" WHERE \"bar\"='baz' AND id=",
"line": 110
},
{
"type": 396,
"typeName": "T_CURLY_OPEN",
"char": "{",
"line": 110
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$x",
"line": 110
},
{
"type": 125,
"typeName": "}",
"char": "}",
"line": 110
},
{
"type": 268,
"typeName": "T_ENCAPSED_AND_WHITESPACE",
"char": ";",
"line": 110,
"original": {
"string": ";\n",
"lines": [
";",
""
]
}
}
],
"111": [
{
"type": 394,
"typeName": "T_END_HEREDOC",
"char": "SQL",
"line": 111
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 111
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n",
"line": 111
}
],
"112": [],
"113": [
{
"type": 387,
"typeName": "T_COMMENT",
"char": "\/* Nowdoc *\/",
"line": 113
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n",
"line": 113
}
],
"114": [
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$template",
"line": 114
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 114
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 114
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 114
},
{
"type": 393,
"typeName": "T_START_HEREDOC",
"char": "<<<'TEMPLATE'",
"line": 114,
"original": {
"string": "<<<'TEMPLATE'\n",
"lines": [
"<<<'TEMPLATE'",
""
]
}
}
],
"115": [
{
"type": 268,
"typeName": "T_ENCAPSED_AND_WHITESPACE",
"char": " <foo>{x}<\/foo>",
"line": 115,
"original": {
"string": " <foo>{x}<\/foo>\n",
"lines": [
" <foo>{x}<\/foo>",
""
]
}
}
],
"116": [
{
"type": 394,
"typeName": "T_END_HEREDOC",
"char": "TEMPLATE",
"line": 116
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 116
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n",
"line": 116
}
],
"117": [],
"118": [
{
"type": 391,
"typeName": "T_CLOSE_TAG",
"char": "?>",
"line": 118,
"original": {
"string": "?>\n",
"lines": [
"?>",
""
]
}
}
],
"119": [
{
"type": 267,
"typeName": "T_INLINE_HTML",
"char": "<!DOCTYPE html>",
"line": 119,
"original": {
"string": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<title>HTML<\/title>\n<\/head>\n<body>\n<h1>Test<\/h1>\n<div>",
"lines": [
"<!DOCTYPE html>",
"<html lang=\"en\">",
"<head>",
"<title>HTML<\/title>",
"<\/head>",
"<body>",
"<h1>Test<\/h1>",
"<div>"
]
}
}
],
"120": [
{
"type": -1,
"typeName": "RAW",
"char": "<html lang=\"en\">",
"line": 120
}
],
"121": [
{
"type": -1,
"typeName": "RAW",
"char": "<head>",
"line": 121
}
],
"122": [
{
"type": -1,
"typeName": "RAW",
"char": "<title>HTML<\/title>",
"line": 122
}
],
"123": [
{
"type": -1,
"typeName": "RAW",
"char": "<\/head>",
"line": 123
}
],
"124": [
{
"type": -1,
"typeName": "RAW",
"char": "<body>",
"line": 124
}
],
"125": [
{
"type": -1,
"typeName": "RAW",
"char": "<h1>Test<\/h1>",
"line": 125
}
],
"126": [
{
"type": -1,
"typeName": "RAW",
"char": "<div>",
"line": 126
},
{
"type": 389,
"typeName": "T_OPEN_TAG",
"char": "<?php ",
"line": 126
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$bf",
"line": 126
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 126
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 126
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 126
},
{
"type": 284,
"typeName": "T_NEW",
"char": "new",
"line": 126
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 126
},
{
"type": 262,
"typeName": "T_STRING",
"char": "BazFoo",
"line": 126
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 126
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 126
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 126
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 126
},
{
"type": 262,
"typeName": "T_STRING",
"char": "print_r",
"line": 126
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 126
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$bf",
"line": 126
},
{
"type": 384,
"typeName": "T_OBJECT_OPERATOR",
"char": "->",
"line": 126
},
{
"type": 262,
"typeName": "T_STRING",
"char": "about",
"line": 126
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 126
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 126
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 126
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 126
},
{
"type": 391,
"typeName": "T_CLOSE_TAG",
"char": "?>",
"line": 126
},
{
"type": 267,
"typeName": "T_INLINE_HTML",
"char": "<\/div>",
"line": 126,
"original": {
"string": "<\/div>\n<\/body>\n<\/html>\n",
"lines": [
"<\/div>",
"<\/body>",
"<\/html>",
""
]
}
}
],
"127": [
{
"type": -1,
"typeName": "RAW",
"char": "<\/body>",
"line": 127
}
],
"128": [
{
"type": -1,
"typeName": "RAW",
"char": "<\/html>",
"line": 128
}
],
"129": [
{
"type": 389,
"typeName": "T_OPEN_TAG",
"char": "<?php ",
"line": 129
},
{
"type": 286,
"typeName": "T_EXIT",
"char": "exit",
"line": 129
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 129
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 129
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 129
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 129
},
{
"type": 391,
"typeName": "T_CLOSE_TAG",
"char": "?>",
"line": 129,
"original": {
"string": "?>\n",
"lines": [
"?>",
""
]
}
}
],
"130": []
},
"filename": "test.php",
"rows": [
{
"render": "<?php declare(strict_types=1);",
"hl": [
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Delimiter",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Operator",
"Number",
"Delimiter",
"Operator"
],
"idx": 0
},
{
"render": "",
"hl": [],
"idx": 1
},
{
"render": "interface Ifoo {}",
"hl": [
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Delimiter",
"Delimiter"
],
"idx": 2
},
{
"render": "",
"hl": [],
"idx": 3
},
{
"render": "\/\/ Let's see emoji! \ud83d\udd6f\ufe0f\ud83d\ude38\u26e9\u26ea",
"hl": [
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment"
],
"idx": 4
},
{
"render": "abstract class Foo implements Ifoo {",
"hl": [
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Delimiter"
],
"idx": 5
},
{
"render": " \/**",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 6
},
{
"render": " * @param int $a",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 7
},
{
"render": " * @param float $b",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 8
},
{
"render": " * @param array $c",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 9
},
{
"render": " * @param callable $d",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 10
},
{
"render": " * @param string $e",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 11
},
{
"render": " * @return string",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 12
},
{
"render": " *\/",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 13
},
{
"render": " abstract public function bar(int $a, float $b, array $c, callable $d, string $e): string;",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Delimiter",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Variable",
"Variable",
"Operator",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Variable",
"Variable",
"Operator",
"Normal",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Normal",
"Variable",
"Variable",
"Operator",
"Normal",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Normal",
"Variable",
"Variable",
"Operator",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Variable",
"Variable",
"Delimiter",
"Operator",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Operator"
],
"idx": 14
},
{
"render": "",
"hl": [],
"idx": 15
},
{
"render": " protected function doNothing(): void {}",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Delimiter",
"Delimiter",
"Operator",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Delimiter",
"Delimiter"
],
"idx": 16
},
{
"render": "}",
"hl": [
"Delimiter"
],
"idx": 17
},
{
"render": "",
"hl": [],
"idx": 18
},
{
"render": "class Test {",
"hl": [
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Delimiter"
],
"idx": 19
},
{
"render": " public function __construct(public string $foo, public string $bar) {}",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Delimiter",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Variable",
"Variable",
"Variable",
"Variable",
"Operator",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Variable",
"Variable",
"Variable",
"Variable",
"Delimiter",
"Normal",
"Delimiter",
"Delimiter"
],
"idx": 20
},
{
"render": "}",
"hl": [
"Delimiter"
],
"idx": 21
},
{
"render": "",
"hl": [],
"idx": 22
},
{
"render": "\/**",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 23
},
{
"render": " * Docblock comment",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 24
},
{
"render": " *\/",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 25
},
{
"render": "class FooBar extends Foo implements Ifoo {",
"hl": [
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Delimiter"
],
"idx": 26
},
{
"render": " public function bar(int $a, float $b, array $c, callable $d, string $e = 'default'): string",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Delimiter",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Variable",
"Variable",
"Operator",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Variable",
"Variable",
"Operator",
"Normal",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Normal",
"Variable",
"Variable",
"Operator",
"Normal",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Normal",
"Variable",
"Variable",
"Operator",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"Delimiter",
"Operator",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier"
],
"idx": 27
},
{
"render": " {",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Delimiter"
],
"idx": 28
},
{
"render": " $cstr = print_r($c, TRUE);",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Variable",
"Variable",
"Variable",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Delimiter",
"Variable",
"Variable",
"Operator",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Delimiter",
"Operator"
],
"idx": 29
},
{
"render": " $d();",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Variable",
"Variable",
"Delimiter",
"Delimiter",
"Operator"
],
"idx": 30
},
{
"render": "",
"hl": [],
"idx": 31
},
{
"render": " return \"{$a}, ${b}, \" . $cstr;",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Delimiter",
"Delimiter",
"Variable",
"Variable",
"Delimiter",
"String",
"String",
"Delimiter",
"Delimiter",
"Variable",
"Delimiter",
"String",
"String",
"Delimiter",
"Normal",
"Operator",
"Normal",
"Variable",
"Variable",
"Variable",
"Variable",
"Variable",
"Operator"
],
"idx": 32
},
{
"render": " }",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Delimiter"
],
"idx": 33
},
{
"render": "",
"hl": [],
"idx": 34
},
{
"render": " private function operations(int $a, int $b): int",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Delimiter",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Variable",
"Variable",
"Operator",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Variable",
"Variable",
"Delimiter",
"Operator",
"Normal",
"Identifier",
"Identifier",
"Identifier"
],
"idx": 35
},
{
"render": " {",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Delimiter"
],
"idx": 36
},
{
"render": " $this?->x?->bar();",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Variable",
"Variable",
"Variable",
"Variable",
"Variable",
"Operator",
"Operator",
"Operator",
"Identifier",
"Operator",
"Operator",
"Operator",
"Identifier",
"Identifier",
"Identifier",
"Delimiter",
"Delimiter",
"Operator"
],
"idx": 37
},
{
"render": "",
"hl": [],
"idx": 38
},
{
"render": " $this->doNothing();",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Variable",
"Variable",
"Variable",
"Variable",
"Variable",
"Operator",
"Operator",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Delimiter",
"Delimiter",
"Operator"
],
"idx": 39
},
{
"render": "",
"hl": [],
"idx": 40
},
{
"render": " $c = $a + $b;",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Variable",
"Variable",
"Operator"
],
"idx": 41
},
{
"render": " $a = $c - $b;",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Variable",
"Variable",
"Operator"
],
"idx": 42
},
{
"render": "",
"hl": [],
"idx": 43
},
{
"render": " $c = $a * $b;",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Variable",
"Variable",
"Operator"
],
"idx": 44
},
{
"render": " $b = (int) ($c \/ $a);",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Normal",
"Delimiter",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Variable",
"Variable",
"Delimiter",
"Operator"
],
"idx": 45
},
{
"render": "",
"hl": [],
"idx": 46
},
{
"render": " return $c;",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Variable",
"Variable",
"Operator"
],
"idx": 47
},
{
"render": " }",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Delimiter"
],
"idx": 48
},
{
"render": "}",
"hl": [
"Delimiter"
],
"idx": 49
},
{
"render": "",
"hl": [],
"idx": 50
},
{
"render": "trait Baz {",
"hl": [
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Delimiter"
],
"idx": 51
},
{
"render": " public function about(): array",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Delimiter",
"Delimiter",
"Operator",
"Normal",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter"
],
"idx": 52
},
{
"render": " {",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Delimiter"
],
"idx": 53
},
{
"render": " return [",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Delimiter"
],
"idx": 54
},
{
"render": " '__CLASS__' => __CLASS__,",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"Normal",
"Operator",
"Operator",
"Normal",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Operator"
],
"idx": 55
},
{
"render": " '__DIR__' => __DIR__,",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"Normal",
"Operator",
"Operator",
"Normal",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Operator"
],
"idx": 56
},
{
"render": " '__FILE__' => __FILE__,",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"Normal",
"Operator",
"Operator",
"Normal",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Operator"
],
"idx": 57
},
{
"render": " '__FUNCTION__' => __FUNCTION__,",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"Normal",
"Operator",
"Operator",
"Normal",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Operator"
],
"idx": 58
},
{
"render": " '__LINE__' => __LINE__,",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"Normal",
"Operator",
"Operator",
"Normal",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Operator"
],
"idx": 59
},
{
"render": " '__METHOD__' => __METHOD__,",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"Normal",
"Operator",
"Operator",
"Normal",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Operator"
],
"idx": 60
},
{
"render": " '__NAMESPACE__' => __NAMESPACE__,",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"Normal",
"Operator",
"Operator",
"Normal",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Operator"
],
"idx": 61
},
{
"render": " '__TRAIT__' => __TRAIT__,",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"Normal",
"Operator",
"Operator",
"Normal",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Operator"
],
"idx": 62
},
{
"render": " ];",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Delimiter",
"Operator"
],
"idx": 63
},
{
"render": " }",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Delimiter"
],
"idx": 64
},
{
"render": "}",
"hl": [
"Delimiter"
],
"idx": 65
},
{
"render": "",
"hl": [],
"idx": 66
},
{
"render": "class BazFoo {",
"hl": [
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Delimiter"
],
"idx": 67
},
{
"render": " use Baz;",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Operator"
],
"idx": 68
},
{
"render": "}",
"hl": [
"Delimiter"
],
"idx": 69
},
{
"render": "",
"hl": [],
"idx": 70
},
{
"render": "$square = fn (int $x) => $x ** 2;",
"hl": [
"Variable",
"Variable",
"Variable",
"Variable",
"Variable",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Keyword1",
"Keyword1",
"Normal",
"Delimiter",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Variable",
"Variable",
"Delimiter",
"Normal",
"Operator",
"Operator",
"Normal",
"Variable",
"Variable",
"Normal",
"Operator",
"Operator",
"Normal",
"Number",
"Operator"
],
"idx": 71
},
{
"render": "",
"hl": [],
"idx": 72
},
{
"render": "foreach ([-1, 0, 1, 2] as $x)",
"hl": [
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Delimiter",
"Delimiter",
"Operator",
"Number",
"Operator",
"Normal",
"Number",
"Operator",
"Normal",
"Number",
"Operator",
"Normal",
"Number",
"Delimiter",
"Normal",
"Operator",
"Operator",
"Normal",
"Variable",
"Variable",
"Delimiter"
],
"idx": 73
},
{
"render": "{",
"hl": [
"Delimiter"
],
"idx": 74
},
{
"render": " $not = match ($x) {",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Variable",
"Variable",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Delimiter",
"Variable",
"Variable",
"Delimiter",
"Normal",
"Delimiter"
],
"idx": 75
},
{
"render": " 0 => 1,",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Number",
"Normal",
"Operator",
"Operator",
"Normal",
"Number",
"Operator"
],
"idx": 76
},
{
"render": " 1,-1 => 0,",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Number",
"Operator",
"Operator",
"Number",
"Normal",
"Operator",
"Operator",
"Normal",
"Number",
"Operator"
],
"idx": 77
},
{
"render": " default => 0,",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Operator",
"Operator",
"Normal",
"Number",
"Operator"
],
"idx": 78
},
{
"render": " };",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Delimiter",
"Operator"
],
"idx": 79
},
{
"render": "}",
"hl": [
"Delimiter"
],
"idx": 80
},
{
"render": "",
"hl": [],
"idx": 81
},
{
"render": "\/*",
"hl": [
"MultiLineComment",
"MultiLineComment"
],
"idx": 82
},
{
"render": " * Multi-line comment",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 83
},
{
"render": " *\/",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 84
},
{
"render": "$foobar = new FooBar();",
"hl": [
"Variable",
"Variable",
"Variable",
"Variable",
"Variable",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Delimiter",
"Delimiter",
"Operator"
],
"idx": 85
},
{
"render": "",
"hl": [],
"idx": 86
},
{
"render": "$baz = ['a' => 'b'];",
"hl": [
"Variable",
"Variable",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Delimiter",
"String",
"String",
"String",
"Normal",
"Operator",
"Operator",
"Normal",
"String",
"String",
"String",
"Delimiter",
"Operator"
],
"idx": 87
},
{
"render": "",
"hl": [],
"idx": 88
},
{
"render": "\/\/ C++ style comment",
"hl": [
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment"
],
"idx": 89
},
{
"render": "$x = 3;",
"hl": [
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Number",
"Operator"
],
"idx": 90
},
{
"render": "",
"hl": [],
"idx": 91
},
{
"render": "# Perl-style comment",
"hl": [
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment"
],
"idx": 92
},
{
"render": "$y = [",
"hl": [
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Delimiter"
],
"idx": 93
},
{
"render": " 1,",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Number",
"Operator"
],
"idx": 94
},
{
"render": " 2,",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Number",
"Operator"
],
"idx": 95
},
{
"render": " 3",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Number"
],
"idx": 96
},
{
"render": "];",
"hl": [
"Delimiter",
"Operator"
],
"idx": 97
},
{
"render": "",
"hl": [],
"idx": 98
},
{
"render": "\/\/ Multi-line ternary statement",
"hl": [
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment"
],
"idx": 99
},
{
"render": "#{Attribute]",
"hl": [
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment"
],
"idx": 100
},
{
"render": "$q = ($x !== 2)",
"hl": [
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Delimiter",
"Variable",
"Variable",
"Normal",
"Operator",
"Operator",
"Operator",
"Normal",
"Number",
"Delimiter"
],
"idx": 101
},
{
"render": " ? 'yes'",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Operator",
"Normal",
"String",
"String",
"String",
"String",
"String"
],
"idx": 102
},
{
"render": " : 'no';",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Operator",
"Normal",
"String",
"String",
"String",
"String",
"Operator"
],
"idx": 103
},
{
"render": "",
"hl": [],
"idx": 104
},
{
"render": "\/*",
"hl": [
"MultiLineComment",
"MultiLineComment"
],
"idx": 105
},
{
"render": "Heredoc",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 106
},
{
"render": "*\/$z = $x + $y[0];",
"hl": [
"MultiLineComment",
"MultiLineComment",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Variable",
"Variable",
"Delimiter",
"Number",
"Delimiter",
"Operator"
],
"idx": 107
},
{
"render": "$sql = <<<SQL",
"hl": [
"Variable",
"Variable",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter"
],
"idx": 108
},
{
"render": " SELECT * FROM \"foo\" WHERE \"bar\"='baz' AND id={$x};",
"hl": [
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"Delimiter",
"Variable",
"Variable",
"Delimiter",
"String"
],
"idx": 109
},
{
"render": "SQL;",
"hl": [
"Delimiter",
"Delimiter",
"Delimiter",
"Operator"
],
"idx": 110
},
{
"render": "",
"hl": [],
"idx": 111
},
{
"render": "\/* Nowdoc *\/",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 112
},
{
"render": "$template = <<<'TEMPLATE'",
"hl": [
"Variable",
"Variable",
"Variable",
"Variable",
"Variable",
"Variable",
"Variable",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter"
],
"idx": 113
},
{
"render": " <foo>{x}<\/foo>",
"hl": [
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String"
],
"idx": 114
},
{
"render": "TEMPLATE;",
"hl": [
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Operator"
],
"idx": 115
},
{
"render": "",
"hl": [],
"idx": 116
},
{
"render": "?>",
"hl": [
"Delimiter",
"Delimiter"
],
"idx": 117
},
{
"render": "<!DOCTYPE html>",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal"
],
"idx": 118
},
{
"render": "<html lang=\"en\">",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal"
],
"idx": 119
},
{
"render": "<head>",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal"
],
"idx": 120
},
{
"render": "<title>HTML<\/title>",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal"
],
"idx": 121
},
{
"render": "<\/head>",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal"
],
"idx": 122
},
{
"render": "<body>",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal"
],
"idx": 123
},
{
"render": "<h1>Test<\/h1>",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal"
],
"idx": 124
},
{
"render": "<div><?php $bf = new BazFoo(); print_r($bf->about()) ?><\/div>",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Variable",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Delimiter",
"Delimiter",
"Operator",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Delimiter",
"Variable",
"Variable",
"Variable",
"Operator",
"Operator",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Delimiter",
"Delimiter",
"Delimiter",
"Normal",
"Delimiter",
"Delimiter",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal"
],
"idx": 125
},
{
"render": "<\/body>",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal"
],
"idx": 126
},
{
"render": "<\/html>",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal"
],
"idx": 127
},
{
"render": "<?php exit(); ?>",
"hl": [
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Delimiter",
"Delimiter",
"Operator",
"Normal",
"Delimiter",
"Delimiter"
],
"idx": 128
}
],
"dirty": false
},
"offset": {
"x": 0,
"y": 0
},
"renderX": 0,
"terminalSize": {
"rows": 21,
"cols": 80
},
"statusMessage": {
"text": "HELP: Ctrl-S = save | Ctrl-Q = quit | Ctrl-F = find",
"len": 51,
"time": 1234567890
}
}