tartrazine/spec/tests/bibtex/test_entry.txt

64 lines
1.6 KiB
Plaintext

---input---
This is a comment.
@ARTICLE{ruckenstein-diffusion,
author = "Liu, Hongquin" # and # "Ruckenstein, Eli",
year = 1997,
month = JAN,
pages = "888-895"
}
---tokens---
'This is a comment.' Comment
'\n\n' Text.Whitespace
'@ARTICLE' Name.Class
'{' Punctuation
'ruckenstein-diffusion' Name.Label
',' Punctuation
'\n ' Text.Whitespace
'author' Name.Attribute
' ' Text.Whitespace
'=' Punctuation
' ' Text.Whitespace
'"' Literal.String
'Liu, Hongquin' Literal.String
'"' Literal.String
' ' Text.Whitespace
'#' Punctuation
' ' Text.Whitespace
'and' Name.Variable
' ' Text.Whitespace
'#' Punctuation
' ' Text.Whitespace
'"' Literal.String
'Ruckenstein, Eli' Literal.String
'"' Literal.String
',' Punctuation
'\n ' Text.Whitespace
'year' Name.Attribute
' ' Text.Whitespace
'=' Punctuation
' ' Text.Whitespace
'1997' Literal.Number
',' Punctuation
'\n ' Text.Whitespace
'month' Name.Attribute
' ' Text.Whitespace
'=' Punctuation
' ' Text.Whitespace
'JAN' Name.Variable
',' Punctuation
'\n ' Text.Whitespace
'pages' Name.Attribute
' ' Text.Whitespace
'=' Punctuation
' ' Text.Whitespace
'"' Literal.String
'888-895' Literal.String
'"' Literal.String
'\n' Text.Whitespace
'}' Punctuation
'\n' Text.Whitespace