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

22 lines
748 B
Plaintext

PyFile:PrintAsFunction26.py
PyFromImportStatement
PsiElement(Py:FROM_KEYWORD)('from')
PsiWhiteSpace(' ')
PyReferenceExpression: __future__
PsiElement(Py:IDENTIFIER)('__future__')
PsiWhiteSpace(' ')
PsiElement(Py:IMPORT_KEYWORD)('import')
PsiWhiteSpace(' ')
PyImportElement:print_function
PyReferenceExpression: print_function
PsiElement(Py:IDENTIFIER)('print_function')
PsiWhiteSpace('\n')
PyExpressionStatement
PyCallExpression: print
PyReferenceExpression: print
PsiElement(Py:IDENTIFIER)('print')
PyArgumentList
PsiElement(Py:LPAR)('(')
PyStringLiteralExpression: a
PsiElement(Py:SINGLE_QUOTED_STRING)(''a'')
PsiElement(Py:RPAR)(')')