Files
kotlin/compiler/testData/parseCodeFragment/block/packageDirective.txt
2014-05-15 13:54:25 +04:00

18 lines
532 B
Plaintext

JetFile: fragment.kt
BLOCK
PsiErrorElement:Package directive and imports are forbidden in code fragments
PACKAGE_DIRECTIVE
PsiElement(package)('package')
PsiWhiteSpace(' ')
REFERENCE_EXPRESSION
PsiElement(IDENTIFIER)('a')
PsiWhiteSpace('\n')
PROPERTY
PsiElement(val)('val')
PsiWhiteSpace(' ')
PsiElement(IDENTIFIER)('a')
PsiWhiteSpace(' ')
PsiElement(EQ)('=')
PsiWhiteSpace(' ')
INTEGER_CONSTANT
PsiElement(INTEGER_LITERAL)('1')