mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-20 07:03:05 -03:00
Reorganize tests into a real spec suite
This commit is contained in:
48
spec/tests/promela/dotted-assign.txt
Normal file
48
spec/tests/promela/dotted-assign.txt
Normal file
@ -0,0 +1,48 @@
|
||||
---input---
|
||||
init {
|
||||
intercepted.key = data.key
|
||||
r.b[a] = a * 4 + 7;
|
||||
}
|
||||
|
||||
---tokens---
|
||||
'init' Keyword.Declaration
|
||||
' ' Text.Whitespace
|
||||
'{' Punctuation
|
||||
'\n' Text.Whitespace
|
||||
|
||||
' ' Text.Whitespace
|
||||
'intercepted' Name
|
||||
'.' Operator
|
||||
'key' Name.Attribute
|
||||
' ' Text.Whitespace
|
||||
'=' Operator
|
||||
' ' Text.Whitespace
|
||||
'data' Name
|
||||
'.' Operator
|
||||
'key' Name.Attribute
|
||||
'\n' Text.Whitespace
|
||||
|
||||
' ' Text.Whitespace
|
||||
'r' Name
|
||||
'.' Operator
|
||||
'b' Name.Attribute
|
||||
'[' Punctuation
|
||||
'a' Name
|
||||
']' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'=' Operator
|
||||
' ' Text.Whitespace
|
||||
'a' Name
|
||||
' ' Text.Whitespace
|
||||
'*' Operator
|
||||
' ' Text.Whitespace
|
||||
'4' Literal.Number.Integer
|
||||
' ' Text.Whitespace
|
||||
'+' Operator
|
||||
' ' Text.Whitespace
|
||||
'7' Literal.Number.Integer
|
||||
';' Punctuation
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'}' Punctuation
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user