mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
Typeshed doesn't contain the definitions for them in __builtins__.pyi so we have to provide types and detect the builtin status for these words as a special case.
34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
Plaintext
PyFile:ErrorInParameterList.py
|
|
PyFunction('select2')
|
|
PsiElement(Py:DEF_KEYWORD)('def')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(Py:IDENTIFIER)('select2')
|
|
PsiWhiteSpace(' ')
|
|
PyParameterList
|
|
PsiElement(Py:LPAR)('(')
|
|
PyNamedParameter('self')
|
|
PsiElement(Py:IDENTIFIER)('self')
|
|
PsiElement(Py:COMMA)(',')
|
|
PyNamedParameter('filds')
|
|
PsiElement(Py:IDENTIFIER)('filds')
|
|
PsiElement(Py:EQ)('=')
|
|
PyReferenceExpression: None
|
|
PsiElement(Py:IDENTIFIER)('None')
|
|
PsiElement(Py:COMMA)(',')
|
|
PsiWhiteSpace(' ')
|
|
PsiErrorElement:formal parameter name expected
|
|
PsiElement(Py:FROM_KEYWORD)('from')
|
|
PsiElement(Py:EQ)('=')
|
|
PsiElement(Py:SINGLE_QUOTED_STRING)('''')
|
|
PsiElement(Py:RPAR)(')')
|
|
PsiElement(Py:COLON)(':')
|
|
PsiWhiteSpace('\n ')
|
|
PyStatementList
|
|
PyPrintStatement
|
|
PsiElement(Py:PRINT_KEYWORD)('print')
|
|
PsiWhiteSpace(' ')
|
|
PyParenthesizedExpression
|
|
PsiElement(Py:LPAR)('(')
|
|
PyReferenceExpression: sql
|
|
PsiElement(Py:IDENTIFIER)('sql')
|
|
PsiElement(Py:RPAR)(')') |