2013-02-28 16:45:13 +04:00

48 lines
2.1 KiB
Plaintext

Simple File
PsiComment(SimpleTokenType.COMMENT)('# You are reading the ".properties" entry.')
PsiElement(SimpleTokenType.CRLF)('\n')
PsiComment(SimpleTokenType.COMMENT)('! The exclamation mark can also mark text as comments.')
PsiElement(SimpleTokenType.CRLF)('\n')
SimplePropertyImpl(PROPERTY)
PsiElement(SimpleTokenType.KEY)('website')
PsiWhiteSpace(' ')
PsiElement(SimpleTokenType.SEPARATOR)('=')
PsiWhiteSpace(' ')
PsiElement(SimpleTokenType.VALUE)('http://en.wikipedia.org/')
PsiElement(SimpleTokenType.CRLF)('\n')
PsiElement(SimpleTokenType.CRLF)('\n')
SimplePropertyImpl(PROPERTY)
PsiElement(SimpleTokenType.KEY)('language')
PsiWhiteSpace(' ')
PsiElement(SimpleTokenType.SEPARATOR)('=')
PsiWhiteSpace(' ')
PsiElement(SimpleTokenType.VALUE)('English')
PsiElement(SimpleTokenType.CRLF)('\n')
PsiComment(SimpleTokenType.COMMENT)('# The backslash below tells the application to continue reading')
PsiElement(SimpleTokenType.CRLF)('\n')
PsiComment(SimpleTokenType.COMMENT)('# the value onto the next line.')
PsiElement(SimpleTokenType.CRLF)('\n')
SimplePropertyImpl(PROPERTY)
PsiElement(SimpleTokenType.KEY)('message')
PsiWhiteSpace(' ')
PsiElement(SimpleTokenType.SEPARATOR)('=')
PsiWhiteSpace(' ')
PsiElement(SimpleTokenType.VALUE)('Welcome to \\n Wikipedia!')
PsiElement(SimpleTokenType.CRLF)('\n')
PsiComment(SimpleTokenType.COMMENT)('# Add spaces to the key')
PsiElement(SimpleTokenType.CRLF)('\n')
SimplePropertyImpl(PROPERTY)
PsiElement(SimpleTokenType.KEY)('key\ with\ spaces')
PsiWhiteSpace(' ')
PsiElement(SimpleTokenType.SEPARATOR)('=')
PsiWhiteSpace(' ')
PsiElement(SimpleTokenType.VALUE)('This is the value that could be looked up with the key "key with spaces".')
PsiElement(SimpleTokenType.CRLF)('\n')
PsiComment(SimpleTokenType.COMMENT)('# Unicode')
PsiElement(SimpleTokenType.CRLF)('\n')
SimplePropertyImpl(PROPERTY)
PsiElement(SimpleTokenType.KEY)('tab')
PsiWhiteSpace(' ')
PsiElement(SimpleTokenType.SEPARATOR)(':')
PsiWhiteSpace(' ')
PsiElement(SimpleTokenType.VALUE)('\u0009')