mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
call in qualifier of assignment LHS should be parsed as reference expression, not target expression (PY-5062)
This commit is contained in:
@@ -0,0 +1 @@
|
||||
etree.SubElement(dictionary, u'Name').text = dict_name
|
||||
@@ -0,0 +1,25 @@
|
||||
PyFile:CallInAssignment.py
|
||||
PyAssignmentStatement
|
||||
PyTargetExpression: text
|
||||
PyCallExpression: etree.SubElement
|
||||
PyReferenceExpression: SubElement
|
||||
PyReferenceExpression: etree
|
||||
PsiElement(Py:IDENTIFIER)('etree')
|
||||
PsiElement(Py:DOT)('.')
|
||||
PsiElement(Py:IDENTIFIER)('SubElement')
|
||||
PyArgumentList
|
||||
PsiElement(Py:LPAR)('(')
|
||||
PyReferenceExpression: dictionary
|
||||
PsiElement(Py:IDENTIFIER)('dictionary')
|
||||
PsiElement(Py:COMMA)(',')
|
||||
PsiWhiteSpace(' ')
|
||||
PyStringLiteralExpression: Name
|
||||
PsiElement(Py:SINGLE_QUOTED_STRING)('u'Name'')
|
||||
PsiElement(Py:RPAR)(')')
|
||||
PsiElement(Py:DOT)('.')
|
||||
PsiElement(Py:IDENTIFIER)('text')
|
||||
PsiWhiteSpace(' ')
|
||||
PsiElement(Py:EQ)('=')
|
||||
PsiWhiteSpace(' ')
|
||||
PyReferenceExpression: dict_name
|
||||
PsiElement(Py:IDENTIFIER)('dict_name')
|
||||
Reference in New Issue
Block a user