|
1 | | -FILE(0,195) |
| 1 | +FILE(0,340) |
2 | 2 | PsiComment(COMMENTLINE)('// Testing instruction recovery')(0,31) |
3 | 3 | PsiWhiteSpace('\n')(31,32) |
4 | 4 | KerboScriptInstructionImpl(INSTRUCTION)(32,32) |
@@ -152,4 +152,47 @@ FILE(0,195) |
152 | 152 | KerboScriptAtomImpl(ATOM)(193,194) |
153 | 153 | KerboScriptNumberImpl(NUMBER)(193,194) |
154 | 154 | PsiElement(INTEGER)('0')(193,194) |
155 | | - PsiElement(.)('.')(194,195) |
| 155 | + PsiElement(.)('.')(194,195) |
| 156 | + PsiWhiteSpace('\n\n')(195,197) |
| 157 | + KerboScriptDeclareStmtImpl(DECLARE_STMT)(197,340) |
| 158 | + KerboScriptDeclareFunctionClauseImpl(DECLARE_FUNCTION_CLAUSE)(197,340) |
| 159 | + PsiElement(FUNCTION)('function')(197,205) |
| 160 | + PsiWhiteSpace(' ')(205,206) |
| 161 | + KerboScriptIdentImpl(IDENT)(206,210) |
| 162 | + PsiElement(IDENTIFIER)('test')(206,210) |
| 163 | + KerboScriptInstructionBlockImpl(INSTRUCTION_BLOCK)(210,340) |
| 164 | + PsiElement({)('{')(210,211) |
| 165 | + PsiWhiteSpace('\n ')(211,216) |
| 166 | + KerboScriptPrintStmtImpl(PRINT_STMT)(216,230) |
| 167 | + PsiElement(PRINT)('print')(216,221) |
| 168 | + PsiWhiteSpace(' ')(221,222) |
| 169 | + KerboScriptSuffixtermImpl(SUFFIXTERM)(222,229) |
| 170 | + KerboScriptAtomImpl(ATOM)(222,229) |
| 171 | + PsiElement(STRING)('"begin"')(222,229) |
| 172 | + PsiElement(.)('.')(229,230) |
| 173 | + PsiWhiteSpace('\n ')(230,235) |
| 174 | + KerboScriptInstructionImpl(INSTRUCTION)(235,321) |
| 175 | + KerboScriptInstructionBlockImpl(INSTRUCTION_BLOCK)(235,321) |
| 176 | + PsiElement({)('{')(235,236) |
| 177 | + PsiWhiteSpace(' ')(236,237) |
| 178 | + PsiComment(COMMENTLINE)('// Error highlighted here: '{' Unexpected')(237,278) |
| 179 | + PsiWhiteSpace('\n ')(278,287) |
| 180 | + KerboScriptPrintStmtImpl(PRINT_STMT)(287,315) |
| 181 | + PsiElement(PRINT)('print')(287,292) |
| 182 | + PsiWhiteSpace(' ')(292,293) |
| 183 | + KerboScriptSuffixtermImpl(SUFFIXTERM)(293,314) |
| 184 | + KerboScriptAtomImpl(ATOM)(293,314) |
| 185 | + PsiElement(STRING)('"inside a code block"')(293,314) |
| 186 | + PsiElement(.)('.')(314,315) |
| 187 | + PsiWhiteSpace('\n ')(315,320) |
| 188 | + PsiElement(})('}')(320,321) |
| 189 | + PsiWhiteSpace('\n ')(321,326) |
| 190 | + KerboScriptPrintStmtImpl(PRINT_STMT)(326,338) |
| 191 | + PsiElement(PRINT)('print')(326,331) |
| 192 | + PsiWhiteSpace(' ')(331,332) |
| 193 | + KerboScriptSuffixtermImpl(SUFFIXTERM)(332,337) |
| 194 | + KerboScriptAtomImpl(ATOM)(332,337) |
| 195 | + PsiElement(STRING)('"end"')(332,337) |
| 196 | + PsiElement(.)('.')(337,338) |
| 197 | + PsiWhiteSpace('\n')(338,339) |
| 198 | + PsiElement(})('}')(339,340) |
0 commit comments