mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 18:05:27 +07:00
(cherry picked from commit c8bfbc4149b840033f9c24a9190860abdd0ff6a8) IJ-CR-11891 GitOrigin-RevId: 3ce6f98d5b031c705c461505a5c307c0241ce97e
160 lines
5.1 KiB
Plaintext
160 lines
5.1 KiB
Plaintext
PyFile:AssignmentExpressionsInIndexes.py
|
|
PyAssignmentStatement
|
|
PyTargetExpression: s
|
|
PsiElement(Py:IDENTIFIER)('s')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(Py:EQ)('=')
|
|
PsiWhiteSpace(' ')
|
|
PyListLiteralExpression
|
|
PsiElement(Py:LBRACKET)('[')
|
|
PyNumericLiteralExpression
|
|
PsiElement(Py:INTEGER_LITERAL)('1')
|
|
PsiElement(Py:COMMA)(',')
|
|
PsiWhiteSpace(' ')
|
|
PyNumericLiteralExpression
|
|
PsiElement(Py:INTEGER_LITERAL)('2')
|
|
PsiElement(Py:RBRACKET)(']')
|
|
PsiWhiteSpace('\n\n')
|
|
PyExpressionStatement
|
|
PySubscriptionExpression
|
|
PyReferenceExpression: s
|
|
PsiElement(Py:IDENTIFIER)('s')
|
|
PsiElement(Py:LBRACKET)('[')
|
|
PyParenthesizedExpression
|
|
PsiElement(Py:LPAR)('(')
|
|
PyAssignmentExpression
|
|
PyTargetExpression: c
|
|
PsiElement(Py:IDENTIFIER)('c')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(Py:COLONEQ)(':=')
|
|
PsiWhiteSpace(' ')
|
|
PyNumericLiteralExpression
|
|
PsiElement(Py:INTEGER_LITERAL)('0')
|
|
PsiElement(Py:RPAR)(')')
|
|
PsiElement(Py:RBRACKET)(']')
|
|
PsiWhiteSpace(' ')
|
|
PsiComment(Py:END_OF_LINE_COMMENT)('# valid')
|
|
PsiWhiteSpace('\n')
|
|
PyExpressionStatement
|
|
PySubscriptionExpression
|
|
PyReferenceExpression: s
|
|
PsiElement(Py:IDENTIFIER)('s')
|
|
PsiElement(Py:LBRACKET)('[')
|
|
PyAssignmentExpression
|
|
PyTargetExpression: d
|
|
PsiElement(Py:IDENTIFIER)('d')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(Py:COLONEQ)(':=')
|
|
PsiWhiteSpace(' ')
|
|
PyNumericLiteralExpression
|
|
PsiElement(Py:INTEGER_LITERAL)('0')
|
|
PsiElement(Py:RBRACKET)(']')
|
|
PsiWhiteSpace(' ')
|
|
PsiComment(Py:END_OF_LINE_COMMENT)('# valid')
|
|
PsiWhiteSpace('\n\n')
|
|
PyExpressionStatement
|
|
PySliceExpression
|
|
PyReferenceExpression: s
|
|
PsiElement(Py:IDENTIFIER)('s')
|
|
PsiElement(Py:LBRACKET)('[')
|
|
PySliceItem
|
|
PyParenthesizedExpression
|
|
PsiElement(Py:LPAR)('(')
|
|
PyAssignmentExpression
|
|
PyTargetExpression: d
|
|
PsiElement(Py:IDENTIFIER)('d')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(Py:COLONEQ)(':=')
|
|
PsiWhiteSpace(' ')
|
|
PyNumericLiteralExpression
|
|
PsiElement(Py:INTEGER_LITERAL)('0')
|
|
PsiElement(Py:RPAR)(')')
|
|
PsiElement(Py:COLON)(':')
|
|
PsiWhiteSpace(' ')
|
|
PyParenthesizedExpression
|
|
PsiElement(Py:LPAR)('(')
|
|
PyAssignmentExpression
|
|
PyTargetExpression: e
|
|
PsiElement(Py:IDENTIFIER)('e')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(Py:COLONEQ)(':=')
|
|
PsiWhiteSpace(' ')
|
|
PyNumericLiteralExpression
|
|
PsiElement(Py:INTEGER_LITERAL)('1')
|
|
PsiElement(Py:RPAR)(')')
|
|
PsiElement(Py:RBRACKET)(']')
|
|
PsiWhiteSpace(' ')
|
|
PsiComment(Py:END_OF_LINE_COMMENT)('# valid')
|
|
PsiWhiteSpace('\n')
|
|
PyAssignmentExpression
|
|
PySubscriptionExpression
|
|
PyReferenceExpression: s
|
|
PsiElement(Py:IDENTIFIER)('s')
|
|
PsiElement(Py:LBRACKET)('[')
|
|
PyReferenceExpression: d
|
|
PsiElement(Py:IDENTIFIER)('d')
|
|
PsiErrorElement:']' expected
|
|
<empty list>
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(Py:COLONEQ)(':=')
|
|
PsiWhiteSpace(' ')
|
|
PyNumericLiteralExpression
|
|
PsiElement(Py:INTEGER_LITERAL)('0')
|
|
PsiElement(Py:COLON)(':')
|
|
PsiErrorElement:Statement expected, found Py:IDENTIFIER
|
|
<empty list>
|
|
PsiWhiteSpace(' ')
|
|
PyExpressionStatement
|
|
PyParenthesizedExpression
|
|
PsiElement(Py:LPAR)('(')
|
|
PyAssignmentExpression
|
|
PyTargetExpression: e
|
|
PsiElement(Py:IDENTIFIER)('e')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(Py:COLONEQ)(':=')
|
|
PsiWhiteSpace(' ')
|
|
PyNumericLiteralExpression
|
|
PsiElement(Py:INTEGER_LITERAL)('1')
|
|
PsiElement(Py:RPAR)(')')
|
|
PsiErrorElement:End of statement expected
|
|
<empty list>
|
|
PsiElement(Py:RBRACKET)(']')
|
|
PsiErrorElement:Statement expected, found Py:RBRACKET
|
|
<empty list>
|
|
PsiWhiteSpace(' ')
|
|
PsiComment(Py:END_OF_LINE_COMMENT)('# invalid')
|
|
PsiWhiteSpace('\n')
|
|
PyAssignmentExpression
|
|
PySubscriptionExpression
|
|
PyReferenceExpression: s
|
|
PsiElement(Py:IDENTIFIER)('s')
|
|
PsiElement(Py:LBRACKET)('[')
|
|
PyReferenceExpression: d
|
|
PsiElement(Py:IDENTIFIER)('d')
|
|
PsiErrorElement:']' expected
|
|
<empty list>
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(Py:COLONEQ)(':=')
|
|
PsiWhiteSpace(' ')
|
|
PyNumericLiteralExpression
|
|
PsiElement(Py:INTEGER_LITERAL)('0')
|
|
PsiElement(Py:COLON)(':')
|
|
PsiErrorElement:Statement expected, found Py:IDENTIFIER
|
|
<empty list>
|
|
PsiWhiteSpace(' ')
|
|
PyExpressionStatement
|
|
PyAssignmentExpression
|
|
PyTargetExpression: e
|
|
PsiElement(Py:IDENTIFIER)('e')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(Py:COLONEQ)(':=')
|
|
PsiWhiteSpace(' ')
|
|
PyNumericLiteralExpression
|
|
PsiElement(Py:INTEGER_LITERAL)('1')
|
|
PsiErrorElement:End of statement expected
|
|
<empty list>
|
|
PsiElement(Py:RBRACKET)(']')
|
|
PsiErrorElement:Statement expected, found Py:RBRACKET
|
|
<empty list>
|
|
PsiWhiteSpace(' ')
|
|
PsiComment(Py:END_OF_LINE_COMMENT)('# invalid') |