←
→
added src/test/resources/com/demonwav/mcdev/platform/minecraft/unpick/parser/fixtures/recovery.txt
⁠
joe: Start work on unpick
- Unpick File(0,192)
- UnpickHeaderImpl(HEADER)(0,9)
- PsiElement(unpick)('unpick')(0,6)
- PsiWhiteSpace(' ')(6,7)
- PsiElement(IDENTIFIER)('v4')(7,9)
- PsiElement(NEWLINE)('\n')(9,10)
- UnpickGroupDefinitionImpl(GROUP_DEFINITION)(10,70)
- PsiElement(group)('group')(10,15)
- PsiWhiteSpace(' ')(15,16)
- UnpickDataTypeImpl(DATA_TYPE)(16,19)
- PsiElement(IDENTIFIER)('int')(16,19)
- PsiWhiteSpace(' ')(19,20)
- UnpickGroupNameImpl(GROUP_NAME)(20,21)
- PsiElement(IDENTIFIER)('g')(20,21)
- PsiWhiteSpace(' ')(21,22)
- PsiErrorElement:'extra' unexpected(22,27)
- PsiElement(IDENTIFIER)('extra')(22,27)
- PsiWhiteSpace(' ')(27,28)
- PsiElement(IDENTIFIER)('tokens')(28,34)
- PsiElement(NEWLINE)('\n')(34,35)
- PsiElement(INDENT)(' ')(35,39)
- UnpickGroupConstantImpl(GROUP_CONSTANT)(39,42)
- UnpickAdditiveExpressionImpl(ADDITIVE_EXPRESSION)(39,42)
- UnpickLiteralExpressionImpl(LITERAL_EXPRESSION)(39,40)
- PsiElement(INTEGER)('1')(39,40)
- PsiWhiteSpace(' ')(40,41)
- PsiElement(+)('+')(41,42)
- PsiErrorElement:<expression> expected(42,42)
- <empty list>
- PsiElement(NEWLINE)('\n')(42,43)
- PsiElement(INDENT)(' ')(43,47)
- UnpickGroupConstantImpl(GROUP_CONSTANT)(47,58)
- UnpickFieldExpressionImpl(FIELD_EXPRESSION)(47,58)
- UnpickClassNameImpl(CLASS_NAME)(47,54)
- PsiElement(IDENTIFIER)('foo')(47,50)
- PsiElement(.)('.')(50,51)
- PsiElement(IDENTIFIER)('Bar')(51,54)
- PsiElement(.)('.')(54,55)
- UnpickFieldNameImpl(FIELD_NAME)(55,58)
- PsiElement(IDENTIFIER)('BAZ')(55,58)
- PsiElement(NEWLINE)('\n')(58,59)
- PsiElement(INDENT)(' ')(59,63)
- UnpickFormatAttributeImpl(FORMAT_ATTRIBUTE)(63,70)
- PsiElement(@)('@')(63,64)
- PsiElement(KEYWORD)('format')(64,70)
- PsiErrorElement:IDENTIFIER expected(70,70)
- <empty list>
- PsiElement(NEWLINE)('\n')(70,71)
- UnpickTargetMethodImpl(TARGET_METHOD)(71,153)
- PsiElement(target_method)('target_method')(71,84)
- PsiWhiteSpace(' ')(84,85)
- UnpickClassNameImpl(CLASS_NAME)(85,92)
- PsiElement(IDENTIFIER)('foo')(85,88)
- PsiElement(.)('.')(88,89)
- PsiElement(IDENTIFIER)('Bar')(89,92)
- PsiErrorElement:'.' or <method name> expected(92,92)
- <empty list>
- PsiElement(NEWLINE)('\n')(92,93)
- PsiElement(INDENT)(' ')(93,97)
- UnpickTargetMethodParamImpl(TARGET_METHOD_PARAM)(97,106)
- PsiElement(KEYWORD)('param')(97,102)
- PsiWhiteSpace(' ')(102,103)
- PsiElement(INTEGER)('0')(103,104)
- PsiWhiteSpace(' ')(104,105)
- UnpickGroupRefImpl(GROUP_REF)(105,106)
- PsiElement(IDENTIFIER)('a')(105,106)
- PsiElement(NEWLINE)('\n')(106,107)
- PsiElement(INDENT)(' ')(107,111)
- PsiErrorElement:'bogus' unexpected(111,116)
- PsiElement(IDENTIFIER)('bogus')(111,116)
- PsiElement(NEWLINE)('\n')(116,117)
- PsiElement(INDENT)(' ')(117,121)
- UnpickTargetMethodReturnImpl(TARGET_METHOD_RETURN)(121,129)
- PsiElement(KEYWORD)('return')(121,127)
- PsiWhiteSpace(' ')(127,128)
- UnpickGroupRefImpl(GROUP_REF)(128,129)
- PsiElement(IDENTIFIER)('b')(128,129)
- PsiElement(NEWLINE)('\n')(129,130)
- PsiElement(INDENT)(' ')(130,134)
- PsiErrorElement:'stray' unexpected(134,139)
- PsiElement(IDENTIFIER)('stray')(134,139)
- PsiWhiteSpace(' ')(139,140)
- PsiElement(IDENTIFIER)('indented')(140,148)
- PsiWhiteSpace(' ')(148,149)
- PsiElement(IDENTIFIER)('line')(149,153)
- PsiElement(NEWLINE)('\n')(153,154)
- UnpickTargetFieldImpl(TARGET_FIELD)(154,180)
- PsiElement(target_field)('target_field')(154,166)
- PsiWhiteSpace(' ')(166,167)
- UnpickClassNameImpl(CLASS_NAME)(167,174)
- PsiElement(IDENTIFIER)('foo')(167,170)
- PsiElement(.)('.')(170,171)
- PsiElement(IDENTIFIER)('Bar')(171,174)
- PsiWhiteSpace(' ')(174,175)
- UnpickFieldNameImpl(FIELD_NAME)(175,178)
- PsiElement(IDENTIFIER)('baz')(175,178)
- PsiWhiteSpace(' ')(178,179)
- PsiElement(FIELD_DESCRIPTOR)('I')(179,180)
- PsiErrorElement:IDENTIFIER expected(180,180)
- <empty list>
- PsiElement(NEWLINE)('\n')(180,181)
- UnpickGroupDefinitionImpl(GROUP_DEFINITION)(181,192)
- PsiElement(group)('group')(181,186)
- PsiErrorElement:IDENTIFIER expected(186,186)
- <empty list>
- PsiElement(NEWLINE)('\n')(186,187)
- PsiElement(INDENT)(' ')(187,191)
- UnpickGroupConstantImpl(GROUP_CONSTANT)(191,192)
- UnpickLiteralExpressionImpl(LITERAL_EXPRESSION)(191,192)
- PsiElement(INTEGER)('1')(191,192)