mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 09:12:22 +07:00
44 lines
1.4 KiB
Plaintext
44 lines
1.4 KiB
Plaintext
PyFile:BlockWithoutColon.py
|
|
PyFunction('foo')
|
|
PsiElement(Py:DEF_KEYWORD)('def')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(Py:IDENTIFIER)('foo')
|
|
PyParameterList
|
|
PsiElement(Py:LPAR)('(')
|
|
PsiElement(Py:RPAR)(')')
|
|
PsiElement(Py:COLON)(':')
|
|
PsiWhiteSpace('\n ')
|
|
PyStatementList
|
|
PyWhileStatement
|
|
PyWhilePart
|
|
PsiElement(Py:WHILE_KEYWORD)('while')
|
|
PsiWhiteSpace(' ')
|
|
PyReferenceExpression: True
|
|
PsiElement(Py:IDENTIFIER)('True')
|
|
PsiErrorElement:':' expected
|
|
<empty list>
|
|
PsiWhiteSpace('\n ')
|
|
PyStatementList
|
|
PyAssignmentStatement
|
|
PyTargetExpression: x
|
|
PsiElement(Py:IDENTIFIER)('x')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(Py:EQ)('=')
|
|
PsiWhiteSpace(' ')
|
|
PyNumericLiteralExpression
|
|
PsiElement(Py:INTEGER_LITERAL)('1')
|
|
PsiWhiteSpace('\n ')
|
|
PyAssignmentStatement
|
|
PyTargetExpression: x
|
|
PsiElement(Py:IDENTIFIER)('x')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(Py:EQ)('=')
|
|
PsiWhiteSpace(' ')
|
|
PyNumericLiteralExpression
|
|
PsiElement(Py:INTEGER_LITERAL)('2')
|
|
PsiWhiteSpace('\n ')
|
|
PyReturnStatement
|
|
PsiElement(Py:RETURN_KEYWORD)('return')
|
|
PsiWhiteSpace(' ')
|
|
PyReferenceExpression: x
|
|
PsiElement(Py:IDENTIFIER)('x') |