Files
openide/python/testData/psi/ExecPy2.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

17 lines
515 B
Plaintext

PyFile:ExecPy2.py
PyExecStatement
PsiElement(Py:EXEC_KEYWORD)('exec')
PsiWhiteSpace(' ')
PyStringLiteralExpression: print 1
PsiElement(Py:SINGLE_QUOTED_STRING)(''print 1'')
PsiWhiteSpace(' ')
PsiElement(Py:IN_KEYWORD)('in')
PsiWhiteSpace(' ')
PyDictLiteralExpression
PsiElement(Py:LBRACE)('{')
PsiElement(Py:RBRACE)('}')
PsiElement(Py:COMMA)(',')
PsiWhiteSpace(' ')
PyDictLiteralExpression
PsiElement(Py:LBRACE)('{')
PsiElement(Py:RBRACE)('}')