Add 'inner' keyword

Support for the keyword in PSI and stubs

 #KT-1174 In Progress
This commit is contained in:
Alexander Udalov
2012-11-29 16:15:36 +04:00
parent 949f5ed834
commit 84e4611d2b
8 changed files with 70 additions and 7 deletions
+3
View File
@@ -0,0 +1,3 @@
class Outer {
inner class Inner
}
+24
View File
@@ -0,0 +1,24 @@
JetFile: Inner.jet
NAMESPACE_HEADER
<empty list>
CLASS
PsiElement(class)('class')
PsiWhiteSpace(' ')
PsiElement(IDENTIFIER)('Outer')
PsiWhiteSpace(' ')
TYPE_PARAMETER_LIST
<empty list>
CLASS_BODY
PsiElement(LBRACE)('{')
PsiWhiteSpace('\n ')
CLASS
MODIFIER_LIST
PsiElement(inner)('inner')
PsiWhiteSpace(' ')
PsiElement(class)('class')
PsiWhiteSpace(' ')
PsiElement(IDENTIFIER)('Inner')
PsiWhiteSpace('\n')
TYPE_PARAMETER_LIST
<empty list>
PsiElement(RBRACE)('}')