---
source: full-moon/tests/pass_cases.rs
assertion_line: 40
expression: tokens
input_file: full-moon/tests/lua53_cases/pass/binary-operators
---
- start_position:
bytes: 0
line: 1
character: 1
end_position:
bytes: 5
line: 1
character: 6
token_type:
type: Symbol
symbol: local
- start_position:
bytes: 5
line: 1
character: 6
end_position:
bytes: 6
line: 1
character: 7
token_type:
type: Whitespace
characters: " "
- start_position:
bytes: 6
line: 1
character: 7
end_position:
bytes: 7
line: 1
character: 8
token_type:
type: Identifier
identifier: a
- start_position:
bytes: 7
line: 1
character: 8
end_position:
bytes: 8
line: 1
character: 9
token_type:
type: Whitespace
characters: " "
- start_position:
bytes: 8
line: 1
character: 9
end_position:
bytes: 9
line: 1
character: 10
token_type:
type: Symbol
symbol: "="
- start_position:
bytes: 9
line: 1
character: 10
end_position:
bytes: 10
line: 1
character: 11
token_type:
type: Whitespace
characters: " "
- start_position:
bytes: 10
line: 1
character: 11
end_position:
bytes: 11
line: 1
character: 12
token_type:
type: Number
text: "1"
- start_position:
bytes: 11
line: 1
character: 12
end_position:
bytes: 12
line: 1
character: 13
token_type:
type: Whitespace
characters: " "
- start_position:
bytes: 12
line: 1
character: 13
end_position:
bytes: 13
line: 1
character: 14
token_type:
type: Symbol
symbol: "&"
- start_position:
bytes: 13
line: 1
character: 14
end_position:
bytes: 14
line: 1
character: 15
token_type:
type: Whitespace
characters: " "
- start_position:
bytes: 14
line: 1
character: 15
end_position:
bytes: 15
line: 1
character: 16
token_type:
type: Number
text: "2"
- start_position:
bytes: 15
line: 1
character: 16
end_position:
bytes: 16
line: 1
character: 16
token_type:
type: Whitespace
characters: "\n"
- start_position:
bytes: 16
line: 2
character: 1
end_position:
bytes: 21
line: 2
character: 6
token_type:
type: Symbol
symbol: local
- start_position:
bytes: 21
line: 2
character: 6
end_position:
bytes: 22
line: 2
character: 7
token_type:
type: Whitespace
characters: " "
- start_position:
bytes: 22
line: 2
character: 7
end_position:
bytes: 23
line: 2
character: 8
token_type:
type: Identifier
identifier: b
- start_position:
bytes: 23
line: 2
character: 8
end_position:
bytes: 24
line: 2
character: 9
token_type:
type: Whitespace
characters: " "
- start_position:
bytes: 24
line: 2
character: 9
end_position:
bytes: 25
line: 2
character: 10
token_type:
type: Symbol
symbol: "="
- start_position:
bytes: 25
line: 2
character: 10
end_position:
bytes: 26
line: 2
character: 11
token_type:
type: Whitespace
characters: " "
- start_position:
bytes: 26
line: 2
character: 11
end_position:
bytes: 27
line: 2
character: 12
token_type:
type: Number
text: "1"
- start_position:
bytes: 27
line: 2
character: 12
end_position:
bytes: 28
line: 2
character: 13
token_type:
type: Whitespace
characters: " "
- start_position:
bytes: 28
line: 2
character: 13
end_position:
bytes: 29
line: 2
character: 14
token_type:
type: Symbol
symbol: "|"
- start_position:
bytes: 29
line: 2
character: 14
end_position:
bytes: 30
line: 2
character: 15
token_type:
type: Whitespace
characters: " "
- start_position:
bytes: 30
line: 2
character: 15
end_position:
bytes: 31
line: 2
character: 16
token_type:
type: Number
text: "2"
- start_position:
bytes: 31
line: 2
character: 16
end_position:
bytes: 32
line: 2
character: 16
token_type:
type: Whitespace
characters: "\n"
- start_position:
bytes: 32
line: 3
character: 1
end_position:
bytes: 37
line: 3
character: 6
token_type:
type: Symbol
symbol: local
- start_position:
bytes: 37
line: 3
character: 6
end_position:
bytes: 38
line: 3
character: 7
token_type:
type: Whitespace
characters: " "
- start_position:
bytes: 38
line: 3
character: 7
end_position:
bytes: 39
line: 3
character: 8
token_type:
type: Identifier
identifier: c
- start_position:
bytes: 39
line: 3
character: 8
end_position:
bytes: 40
line: 3
character: 9
token_type:
type: Whitespace
characters: " "
- start_position:
bytes: 40
line: 3
character: 9
end_position:
bytes: 41
line: 3
character: 10
token_type:
type: Symbol
symbol: "="
- start_position:
bytes: 41
line: 3
character: 10
end_position:
bytes: 42
line: 3
character: 11
token_type:
type: Whitespace
characters: " "
- start_position:
bytes: 42
line: 3
character: 11
end_position:
bytes: 43
line: 3
character: 12
token_type:
type: Number
text: "1"
- start_position:
bytes: 43
line: 3
character: 12
end_position:
bytes: 44
line: 3
character: 13
token_type:
type: Whitespace
characters: " "
- start_position:
bytes: 44
line: 3
character: 13
end_position:
bytes: 46
line: 3
character: 15
token_type:
type: Symbol
symbol: "<<"
- start_position:
bytes: 46
line: 3
character: 15
end_position:
bytes: 47
line: 3
character: 16
token_type:
type: Whitespace
characters: " "
- start_position:
bytes: 47
line: 3
character: 16
end_position:
bytes: 48
line: 3
character: 17
token_type:
type: Number
text: "2"
- start_position:
bytes: 48
line: 3
character: 17
end_position:
bytes: 49
line: 3
character: 17
token_type:
type: Whitespace
characters: "\n"
- start_position:
bytes: 49
line: 4
character: 1
end_position:
bytes: 54
line: 4
character: 6
token_type:
type: Symbol
symbol: local
- start_position:
bytes: 54
line: 4
character: 6
end_position:
bytes: 55
line: 4
character: 7
token_type:
type: Whitespace
characters: " "
- start_position:
bytes: 55
line: 4
character: 7
end_position:
bytes: 56
line: 4
character: 8
token_type:
type: Identifier
identifier: d
- start_position:
bytes: 56
line: 4
character: 8
end_position:
bytes: 57
line: 4
character: 9
token_type:
type: Whitespace
characters: " "
- start_position:
bytes: 57
line: 4
character: 9
end_position:
bytes: 58
line: 4
character: 10
token_type:
type: Symbol
symbol: "="
- start_position:
bytes: 58
line: 4
character: 10
end_position:
bytes: 59
line: 4
character: 11
token_type:
type: Whitespace
characters: " "
- start_position:
bytes: 59
line: 4
character: 11
end_position:
bytes: 60
line: 4
character: 12
token_type:
type: Number
text: "1"
- start_position:
bytes: 60
line: 4
character: 12
end_position:
bytes: 61
line: 4
character: 13
token_type:
type: Whitespace
characters: " "
- start_position:
bytes: 61
line: 4
character: 13
end_position:
bytes: 63
line: 4
character: 15
token_type:
type: Symbol
symbol: ">>"
- start_position:
bytes: 63
line: 4
character: 15
end_position:
bytes: 64
line: 4
character: 16
token_type:
type: Whitespace
characters: " "
- start_position:
bytes: 64
line: 4
character: 16
end_position:
bytes: 65
line: 4
character: 17
token_type:
type: Number
text: "2"
- start_position:
bytes: 65
line: 4
character: 17
end_position:
bytes: 66
line: 4
character: 17
token_type:
type: Whitespace
characters: "\n"
- start_position:
bytes: 66
line: 5
character: 1
end_position:
bytes: 71
line: 5
character: 6
token_type:
type: Symbol
symbol: local
- start_position:
bytes: 71
line: 5
character: 6
end_position:
bytes: 72
line: 5
character: 7
token_type:
type: Whitespace
characters: " "
- start_position:
bytes: 72
line: 5
character: 7
end_position:
bytes: 73
line: 5
character: 8
token_type:
type: Identifier
identifier: e
- start_position:
bytes: 73
line: 5
character: 8
end_position:
bytes: 74
line: 5
character: 9
token_type:
type: Whitespace
characters: " "
- start_position:
bytes: 74
line: 5
character: 9
end_position:
bytes: 75
line: 5
character: 10
token_type:
type: Symbol
symbol: "="
- start_position:
bytes: 75
line: 5
character: 10
end_position:
bytes: 76
line: 5
character: 11
token_type:
type: Whitespace
characters: " "
- start_position:
bytes: 76
line: 5
character: 11
end_position:
bytes: 77
line: 5
character: 12
token_type:
type: Number
text: "1"
- start_position:
bytes: 77
line: 5
character: 12
end_position:
bytes: 78
line: 5
character: 13
token_type:
type: Whitespace
characters: " "
- start_position:
bytes: 78
line: 5
character: 13
end_position:
bytes: 79
line: 5
character: 14
token_type:
type: Symbol
symbol: "~"
- start_position:
bytes: 79
line: 5
character: 14
end_position:
bytes: 80
line: 5
character: 15
token_type:
type: Whitespace
characters: " "
- start_position:
bytes: 80
line: 5
character: 15
end_position:
bytes: 81
line: 5
character: 16
token_type:
type: Number
text: "2"
- start_position:
bytes: 81
line: 5
character: 16
end_position:
bytes: 82
line: 5
character: 16
token_type:
type: Whitespace
characters: "\n"
- start_position:
bytes: 82
line: 6
character: 1
end_position:
bytes: 87
line: 6
character: 6
token_type:
type: Symbol
symbol: local
- start_position:
bytes: 87
line: 6
character: 6
end_position:
bytes: 88
line: 6
character: 7
token_type:
type: Whitespace
characters: " "
- start_position:
bytes: 88
line: 6
character: 7
end_position:
bytes: 89
line: 6
character: 8
token_type:
type: Identifier
identifier: f
- start_position:
bytes: 89
line: 6
character: 8
end_position:
bytes: 90
line: 6
character: 9
token_type:
type: Whitespace
characters: " "
- start_position:
bytes: 90
line: 6
character: 9
end_position:
bytes: 91
line: 6
character: 10
token_type:
type: Symbol
symbol: "="
- start_position:
bytes: 91
line: 6
character: 10
end_position:
bytes: 92
line: 6
character: 11
token_type:
type: Whitespace
characters: " "
- start_position:
bytes: 92
line: 6
character: 11
end_position:
bytes: 93
line: 6
character: 12
token_type:
type: Number
text: "1"
- start_position:
bytes: 93
line: 6
character: 12
end_position:
bytes: 94
line: 6
character: 13
token_type:
type: Whitespace
characters: " "
- start_position:
bytes: 94
line: 6
character: 13
end_position:
bytes: 96
line: 6
character: 15
token_type:
type: Symbol
symbol: //
- start_position:
bytes: 96
line: 6
character: 15
end_position:
bytes: 97
line: 6
character: 16
token_type:
type: Whitespace
characters: " "
- start_position:
bytes: 97
line: 6
character: 16
end_position:
bytes: 98
line: 6
character: 17
token_type:
type: Number
text: "2"
- start_position:
bytes: 98
line: 6
character: 17
end_position:
bytes: 98
line: 6
character: 17
token_type:
type: Eof