Files
openide/python/testData/psi/TrailingCommaInList.txt
Ekaterina Tuzova ef175a3436 separated token types for single/double and triple quoted strings
added lexer-level bytes/unicode detection
added lexer-level docstring detection
2011-07-10 17:59:57 +04:00

16 lines
523 B
Plaintext

PyFile:TrailingCommaInList.py
PyAssignmentStatement
PyTargetExpression: x
PsiElement(Py:IDENTIFIER)('x')
PsiWhiteSpace(' ')
PsiElement(Py:EQ)('=')
PsiWhiteSpace(' ')
PyListLiteralExpression
PsiElement(Py:LBRACKET)('[')
PyStringLiteralExpression: a
PsiElement(Py:SINGLE_QUOTED_STRING)(''a'')
PsiElement(Py:COMMA)(',')
PyStringLiteralExpression: b
PsiElement(Py:SINGLE_QUOTED_STRING)(''b'')
PsiElement(Py:COMMA)(',')
PsiElement(Py:RBRACKET)(']')