mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-11 02:39:37 +07:00
IPython specific syntax is captured by console parser, including: * Multiline magic * Exclamation in suffixes * Double exclamation * Help syntax Test classes for console moved to separate package.
27 lines
851 B
Plaintext
27 lines
851 B
Plaintext
PyFile:magicAssignment.py
|
|
PyAssignmentStatement
|
|
PyTargetExpression: results
|
|
PsiElement(Py:IDENTIFIER)('results')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(Py:EQ)('=')
|
|
PsiWhiteSpace(' ')
|
|
PyEmptyExpression
|
|
PsiElement(Py:PERC)('%')
|
|
PsiElement(Py:IDENTIFIER)('timeit')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(Py:MINUS)('-')
|
|
PsiElement(Py:IDENTIFIER)('r1')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(Py:MINUS)('-')
|
|
PsiElement(Py:IDENTIFIER)('n1')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(Py:MINUS)('-')
|
|
PsiElement(Py:IDENTIFIER)('o')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(Py:IDENTIFIER)('list')
|
|
PsiElement(Py:LPAR)('(')
|
|
PsiElement(Py:IDENTIFIER)('range')
|
|
PsiElement(Py:LPAR)('(')
|
|
PsiElement(Py:INTEGER_LITERAL)('1000')
|
|
PsiElement(Py:RPAR)(')')
|
|
PsiElement(Py:RPAR)(')') |