Files
openide/json/tests/testData/psi/NonStandardPropertyKeys.txt
Mikhail Golubev b0d1c1f1bc Fix typo in the name of IDENTIFIER token type in JSON grammar
I re-generated JFlex lexer and GrammarKit parser accordingly. I had to
adjust the macro for WHITE_SPACE token, though, since GrammarKit
generates weird "WHITE_SPACE=\s" for some reason.
2016-11-08 17:02:54 +03:00

49 lines
1.2 KiB
Plaintext

JsonFile: NonStandardPropertyKeys.json
JsonObject
PsiElement({)('{')
PsiWhiteSpace('\n ')
JsonProperty
JsonNumberLiteral
PsiElement(NUMBER)('42')
PsiElement(:)(':')
PsiWhiteSpace(' ')
JsonNullLiteral
PsiElement(null)('null')
PsiElement(,)(',')
PsiWhiteSpace('\n ')
JsonProperty
JsonNullLiteral
PsiElement(null)('null')
PsiElement(:)(':')
PsiWhiteSpace(' ')
JsonNullLiteral
PsiElement(null)('null')
PsiElement(,)(',')
PsiWhiteSpace('\n ')
JsonProperty
JsonBooleanLiteral
PsiElement(false)('false')
PsiElement(:)(':')
PsiWhiteSpace(' ')
JsonNullLiteral
PsiElement(null)('null')
PsiElement(,)(',')
PsiWhiteSpace('\n ')
JsonProperty
JsonBooleanLiteral
PsiElement(true)('true')
PsiElement(:)(':')
PsiWhiteSpace(' ')
JsonNullLiteral
PsiElement(null)('null')
PsiElement(,)(',')
PsiWhiteSpace('\n ')
JsonProperty
JsonReferenceExpression
PsiElement(IDENTIFIER)('identifier')
PsiElement(:)(':')
PsiWhiteSpace(' ')
JsonNullLiteral
PsiElement(null)('null')
PsiWhiteSpace('\n')
PsiElement(})('}')