314 lines
10 KiB
Plaintext
314 lines
10 KiB
Plaintext
JetFile: NamespaceBlock_ERR.jet
|
|
NAMESPACE
|
|
PsiElement(namespace)('namespace')
|
|
PsiWhiteSpace(' ')
|
|
NAMESPACE_NAME
|
|
PsiElement(IDENTIFIER)('foo')
|
|
PsiElement(DOT)('.')
|
|
PsiElement(IDENTIFIER)('bar')
|
|
PsiElement(DOT)('.')
|
|
PsiElement(IDENTIFIER)('goo')
|
|
PsiWhiteSpace('\n\n')
|
|
IMPORT_DIRECTIVE
|
|
PsiElement(import)('import')
|
|
PsiWhiteSpace(' ')
|
|
REFERENCE_EXPRESSION
|
|
PsiElement(IDENTIFIER)('foo')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(as)('as')
|
|
PsiWhiteSpace('\n')
|
|
PsiElement(IDENTIFIER)('import')
|
|
PsiWhiteSpace(' ')
|
|
NAMESPACE
|
|
MODIFIER_LIST
|
|
ANNOTATION_ENTRY
|
|
CONSTRUCTOR_CALLEE
|
|
TYPE_REFERENCE
|
|
USER_TYPE
|
|
USER_TYPE
|
|
REFERENCE_EXPRESSION
|
|
PsiElement(IDENTIFIER)('foo')
|
|
PsiElement(DOT)('.')
|
|
PsiWhiteSpace('\n')
|
|
REFERENCE_EXPRESSION
|
|
PsiElement(IDENTIFIER)('import')
|
|
PsiWhiteSpace(' ')
|
|
ANNOTATION_ENTRY
|
|
CONSTRUCTOR_CALLEE
|
|
TYPE_REFERENCE
|
|
USER_TYPE
|
|
USER_TYPE
|
|
USER_TYPE
|
|
REFERENCE_EXPRESSION
|
|
PsiElement(IDENTIFIER)('foo')
|
|
PsiElement(DOT)('.')
|
|
REFERENCE_EXPRESSION
|
|
PsiElement(IDENTIFIER)('bar')
|
|
PsiElement(DOT)('.')
|
|
PsiWhiteSpace('\n')
|
|
REFERENCE_EXPRESSION
|
|
PsiElement(IDENTIFIER)('import')
|
|
PsiWhiteSpace(' ')
|
|
ANNOTATION_ENTRY
|
|
CONSTRUCTOR_CALLEE
|
|
TYPE_REFERENCE
|
|
USER_TYPE
|
|
USER_TYPE
|
|
REFERENCE_EXPRESSION
|
|
PsiElement(IDENTIFIER)('foo')
|
|
PsiElement(DOT)('.')
|
|
PsiWhiteSpace(' ')
|
|
REFERENCE_EXPRESSION
|
|
PsiErrorElement:Type name expected
|
|
PsiElement(as)('as')
|
|
PsiWhiteSpace(' ')
|
|
ANNOTATION_ENTRY
|
|
CONSTRUCTOR_CALLEE
|
|
TYPE_REFERENCE
|
|
USER_TYPE
|
|
REFERENCE_EXPRESSION
|
|
PsiElement(IDENTIFIER)('bar')
|
|
PsiWhiteSpace('\n\n')
|
|
PsiElement(namespace)('namespace')
|
|
PsiWhiteSpace(' ')
|
|
NAMESPACE_NAME
|
|
PsiElement(IDENTIFIER)('foof')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(LBRACE)('{')
|
|
PsiWhiteSpace('\n ')
|
|
NAMESPACE_BODY
|
|
IMPORT_DIRECTIVE
|
|
PsiElement(import)('import')
|
|
PsiWhiteSpace(' ')
|
|
DOT_QUALIFIED_EXPRESSION
|
|
REFERENCE_EXPRESSION
|
|
PsiElement(IDENTIFIER)('foo')
|
|
PsiElement(DOT)('.')
|
|
REFERENCE_EXPRESSION
|
|
PsiElement(IDENTIFIER)('bar')
|
|
PsiElement(DOT)('.')
|
|
PsiElement(MUL)('*')
|
|
PsiWhiteSpace(' ')
|
|
PsiErrorElement:Cannot rename a all imported items to one identifier
|
|
PsiElement(as)('as')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(IDENTIFIER)('bar')
|
|
PsiWhiteSpace('\n ')
|
|
IMPORT_DIRECTIVE
|
|
PsiElement(import)('import')
|
|
PsiWhiteSpace(' ')
|
|
REFERENCE_EXPRESSION
|
|
PsiElement(IDENTIFIER)('foo')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(as)('as')
|
|
PsiErrorElement:Expecting identifier
|
|
<empty list>
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(SEMICOLON)(';')
|
|
PsiWhiteSpace('\n ')
|
|
IMPORT_DIRECTIVE
|
|
PsiElement(import)('import')
|
|
PsiWhiteSpace(' ')
|
|
DOT_QUALIFIED_EXPRESSION
|
|
REFERENCE_EXPRESSION
|
|
PsiElement(IDENTIFIER)('foo')
|
|
PsiElement(DOT)('.')
|
|
PsiWhiteSpace(' ')
|
|
REFERENCE_EXPRESSION
|
|
PsiErrorElement:Qualified name must be a '.'-separated identifier list
|
|
<empty list>
|
|
PsiElement(SEMICOLON)(';')
|
|
PsiWhiteSpace('\n ')
|
|
IMPORT_DIRECTIVE
|
|
PsiElement(import)('import')
|
|
PsiWhiteSpace(' ')
|
|
DOT_QUALIFIED_EXPRESSION
|
|
DOT_QUALIFIED_EXPRESSION
|
|
REFERENCE_EXPRESSION
|
|
PsiElement(IDENTIFIER)('foo')
|
|
PsiElement(DOT)('.')
|
|
REFERENCE_EXPRESSION
|
|
PsiElement(IDENTIFIER)('bar')
|
|
PsiElement(DOT)('.')
|
|
PsiWhiteSpace(' ')
|
|
REFERENCE_EXPRESSION
|
|
PsiErrorElement:Qualified name must be a '.'-separated identifier list
|
|
<empty list>
|
|
PsiElement(SEMICOLON)(';')
|
|
PsiWhiteSpace('\n ')
|
|
IMPORT_DIRECTIVE
|
|
PsiElement(import)('import')
|
|
PsiWhiteSpace(' ')
|
|
DOT_QUALIFIED_EXPRESSION
|
|
REFERENCE_EXPRESSION
|
|
PsiElement(IDENTIFIER)('foo')
|
|
PsiElement(DOT)('.')
|
|
PsiWhiteSpace(' ')
|
|
REFERENCE_EXPRESSION
|
|
PsiErrorElement:Qualified name must be a '.'-separated identifier list
|
|
<empty list>
|
|
PsiElement(as)('as')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(IDENTIFIER)('bar')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(SEMICOLON)(';')
|
|
PsiWhiteSpace('\n ')
|
|
IMPORT_DIRECTIVE
|
|
PsiElement(import)('import')
|
|
PsiWhiteSpace(' ')
|
|
DOT_QUALIFIED_EXPRESSION
|
|
REFERENCE_EXPRESSION
|
|
PsiElement(IDENTIFIER)('foo')
|
|
PsiElement(DOT)('.')
|
|
REFERENCE_EXPRESSION
|
|
PsiElement(IDENTIFIER)('bar')
|
|
PsiElement(DOT)('.')
|
|
PsiElement(MUL)('*')
|
|
PsiWhiteSpace(' ')
|
|
PsiErrorElement:Cannot rename a all imported items to one identifier
|
|
PsiElement(as)('as')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(IDENTIFIER)('bar')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(SEMICOLON)(';')
|
|
PsiWhiteSpace('\n ')
|
|
IMPORT_DIRECTIVE
|
|
PsiElement(import)('import')
|
|
PsiWhiteSpace(' ')
|
|
DOT_QUALIFIED_EXPRESSION
|
|
REFERENCE_EXPRESSION
|
|
PsiElement(IDENTIFIER)('foo')
|
|
PsiElement(DOT)('.')
|
|
REFERENCE_EXPRESSION
|
|
PsiElement(IDENTIFIER)('bar')
|
|
PsiElement(DOT)('.')
|
|
PsiElement(MUL)('*')
|
|
PsiWhiteSpace(' ')
|
|
PsiErrorElement:Cannot rename a all imported items to one identifier
|
|
PsiElement(as)('as')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(SEMICOLON)(';')
|
|
PsiWhiteSpace('\n\n ')
|
|
NAMESPACE
|
|
PsiElement(namespace)('namespace')
|
|
PsiWhiteSpace(' ')
|
|
NAMESPACE_NAME
|
|
PsiElement(IDENTIFIER)('foo')
|
|
PsiErrorElement:A namespace block in '{...}' expected
|
|
<empty list>
|
|
PsiWhiteSpace('\n\n ')
|
|
CLASS
|
|
PsiElement(class)('class')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(IDENTIFIER)('Foo')
|
|
PsiWhiteSpace(' ')
|
|
TYPE_PARAMETER_LIST
|
|
<empty list>
|
|
CLASS_BODY
|
|
PsiElement(LBRACE)('{')
|
|
PsiElement(RBRACE)('}')
|
|
PsiWhiteSpace('\n ')
|
|
NAMESPACE
|
|
PsiElement(namespace)('namespace')
|
|
PsiErrorElement:Expecting namespace name
|
|
<empty list>
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(LBRACE)('{')
|
|
PsiWhiteSpace('\n ')
|
|
NAMESPACE_BODY
|
|
CLASS
|
|
PsiElement(class)('class')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(IDENTIFIER)('Bar')
|
|
PsiWhiteSpace(' ')
|
|
TYPE_PARAMETER_LIST
|
|
<empty list>
|
|
CLASS_BODY
|
|
PsiElement(LBRACE)('{')
|
|
PsiElement(RBRACE)('}')
|
|
PsiWhiteSpace('\n\n ')
|
|
NAMESPACE
|
|
PsiElement(namespace)('namespace')
|
|
PsiWhiteSpace(' ')
|
|
NAMESPACE_NAME
|
|
PsiElement(IDENTIFIER)('ns')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(LBRACE)('{')
|
|
PsiWhiteSpace('\n ')
|
|
NAMESPACE_BODY
|
|
CLASS
|
|
PsiElement(class)('class')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(IDENTIFIER)('X')
|
|
PsiWhiteSpace('\n\n ')
|
|
TYPE_PARAMETER_LIST
|
|
<empty list>
|
|
CLASS
|
|
PsiElement(class)('class')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(IDENTIFIER)('Y')
|
|
PsiWhiteSpace('\n ')
|
|
TYPE_PARAMETER_LIST
|
|
<empty list>
|
|
PsiElement(RBRACE)('}')
|
|
PsiWhiteSpace('\n ')
|
|
PsiElement(RBRACE)('}')
|
|
PsiWhiteSpace('\n')
|
|
PsiElement(RBRACE)('}')
|
|
PsiWhiteSpace('\n\n')
|
|
CLASS
|
|
MODIFIER_LIST
|
|
ANNOTATION_ENTRY
|
|
CONSTRUCTOR_CALLEE
|
|
TYPE_REFERENCE
|
|
USER_TYPE
|
|
REFERENCE_EXPRESSION
|
|
PsiElement(IDENTIFIER)('dsfgd')
|
|
PsiWhiteSpace('\n\n')
|
|
PsiElement(class)('class')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(IDENTIFIER)('Bar')
|
|
TYPE_PARAMETER_LIST
|
|
PsiElement(LT)('<')
|
|
TYPE_PARAMETER
|
|
PsiElement(IDENTIFIER)('T')
|
|
PsiElement(GT)('>')
|
|
PsiWhiteSpace(' ')
|
|
CLASS_BODY
|
|
PsiElement(LBRACE)('{')
|
|
PsiElement(RBRACE)('}')
|
|
PsiWhiteSpace('\n\n')
|
|
NAMESPACE
|
|
PsiElement(namespace)('namespace')
|
|
PsiWhiteSpace(' ')
|
|
NAMESPACE_NAME
|
|
PsiElement(IDENTIFIER)('foo')
|
|
PsiErrorElement:A namespace block in '{...}' expected
|
|
<empty list>
|
|
PsiWhiteSpace('\n\n')
|
|
NAMESPACE
|
|
PsiElement(namespace)('namespace')
|
|
PsiErrorElement:Expecting namespace name
|
|
<empty list>
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(LBRACE)('{')
|
|
NAMESPACE_BODY
|
|
<empty list>
|
|
PsiElement(RBRACE)('}')
|
|
PsiWhiteSpace('\n\n')
|
|
NAMESPACE
|
|
PsiElement(namespace)('namespace')
|
|
PsiWhiteSpace(' ')
|
|
NAMESPACE_NAME
|
|
PsiElement(IDENTIFIER)('bar')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(LBRACE)('{')
|
|
PsiWhiteSpace('\n ')
|
|
NAMESPACE_BODY
|
|
IMPORT_DIRECTIVE
|
|
PsiElement(import)('import')
|
|
PsiWhiteSpace(' ')
|
|
REFERENCE_EXPRESSION
|
|
PsiElement(IDENTIFIER)('sdf')
|
|
PsiWhiteSpace('\n\n')
|
|
PsiElement(RBRACE)('}') |