mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-30 13:12:53 +03:00
339 lines
10 KiB
Plaintext
339 lines
10 KiB
Plaintext
---
|
|
ns: ParseExpression
|
|
expectation: Pass
|
|
outputs:
|
|
- Binary:
|
|
left:
|
|
Value:
|
|
Implicit:
|
|
- "1"
|
|
- line_start: 1
|
|
line_stop: 1
|
|
col_start: 1
|
|
col_stop: 2
|
|
path: /home/p/aleo/leo/parser/../tests/parser/expression/binary/lt.leo
|
|
content: 1 < 1
|
|
right:
|
|
Value:
|
|
Implicit:
|
|
- "1"
|
|
- line_start: 1
|
|
line_stop: 1
|
|
col_start: 5
|
|
col_stop: 6
|
|
path: /home/p/aleo/leo/parser/../tests/parser/expression/binary/lt.leo
|
|
content: 1 < 1
|
|
op: Lt
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 1
|
|
col_stop: 6
|
|
path: /home/p/aleo/leo/parser/../tests/parser/expression/binary/lt.leo
|
|
content: 1 < 1
|
|
- Binary:
|
|
left:
|
|
Value:
|
|
Implicit:
|
|
- "2"
|
|
- line_start: 1
|
|
line_stop: 1
|
|
col_start: 1
|
|
col_stop: 2
|
|
path: /home/p/aleo/leo/parser/../tests/parser/expression/binary/lt.leo
|
|
content: 2<3
|
|
right:
|
|
Value:
|
|
Implicit:
|
|
- "3"
|
|
- line_start: 1
|
|
line_stop: 1
|
|
col_start: 3
|
|
col_stop: 4
|
|
path: /home/p/aleo/leo/parser/../tests/parser/expression/binary/lt.leo
|
|
content: 2<3
|
|
op: Lt
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 1
|
|
col_stop: 4
|
|
path: /home/p/aleo/leo/parser/../tests/parser/expression/binary/lt.leo
|
|
content: 2<3
|
|
- Binary:
|
|
left:
|
|
Binary:
|
|
left:
|
|
Value:
|
|
Implicit:
|
|
- "1"
|
|
- line_start: 1
|
|
line_stop: 1
|
|
col_start: 1
|
|
col_stop: 2
|
|
path: /home/p/aleo/leo/parser/../tests/parser/expression/binary/lt.leo
|
|
content: 1 < 2 < 3
|
|
right:
|
|
Value:
|
|
Implicit:
|
|
- "2"
|
|
- line_start: 1
|
|
line_stop: 1
|
|
col_start: 5
|
|
col_stop: 6
|
|
path: /home/p/aleo/leo/parser/../tests/parser/expression/binary/lt.leo
|
|
content: 1 < 2 < 3
|
|
op: Lt
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 1
|
|
col_stop: 6
|
|
path: /home/p/aleo/leo/parser/../tests/parser/expression/binary/lt.leo
|
|
content: 1 < 2 < 3
|
|
right:
|
|
Value:
|
|
Implicit:
|
|
- "3"
|
|
- line_start: 1
|
|
line_stop: 1
|
|
col_start: 9
|
|
col_stop: 10
|
|
path: /home/p/aleo/leo/parser/../tests/parser/expression/binary/lt.leo
|
|
content: 1 < 2 < 3
|
|
op: Lt
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 1
|
|
col_stop: 10
|
|
path: /home/p/aleo/leo/parser/../tests/parser/expression/binary/lt.leo
|
|
content: 1 < 2 < 3
|
|
- Binary:
|
|
left:
|
|
Binary:
|
|
left:
|
|
Value:
|
|
Implicit:
|
|
- "1"
|
|
- line_start: 1
|
|
line_stop: 1
|
|
col_start: 1
|
|
col_stop: 2
|
|
path: /home/p/aleo/leo/parser/../tests/parser/expression/binary/lt.leo
|
|
content: 1 + 2 < 3 + 4
|
|
right:
|
|
Value:
|
|
Implicit:
|
|
- "2"
|
|
- line_start: 1
|
|
line_stop: 1
|
|
col_start: 5
|
|
col_stop: 6
|
|
path: /home/p/aleo/leo/parser/../tests/parser/expression/binary/lt.leo
|
|
content: 1 + 2 < 3 + 4
|
|
op: Add
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 1
|
|
col_stop: 6
|
|
path: /home/p/aleo/leo/parser/../tests/parser/expression/binary/lt.leo
|
|
content: 1 + 2 < 3 + 4
|
|
right:
|
|
Binary:
|
|
left:
|
|
Value:
|
|
Implicit:
|
|
- "3"
|
|
- line_start: 1
|
|
line_stop: 1
|
|
col_start: 9
|
|
col_stop: 10
|
|
path: /home/p/aleo/leo/parser/../tests/parser/expression/binary/lt.leo
|
|
content: 1 + 2 < 3 + 4
|
|
right:
|
|
Value:
|
|
Implicit:
|
|
- "4"
|
|
- line_start: 1
|
|
line_stop: 1
|
|
col_start: 13
|
|
col_stop: 14
|
|
path: /home/p/aleo/leo/parser/../tests/parser/expression/binary/lt.leo
|
|
content: 1 + 2 < 3 + 4
|
|
op: Add
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 9
|
|
col_stop: 14
|
|
path: /home/p/aleo/leo/parser/../tests/parser/expression/binary/lt.leo
|
|
content: 1 + 2 < 3 + 4
|
|
op: Lt
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 1
|
|
col_stop: 14
|
|
path: /home/p/aleo/leo/parser/../tests/parser/expression/binary/lt.leo
|
|
content: 1 + 2 < 3 + 4
|
|
- Binary:
|
|
left:
|
|
Binary:
|
|
left:
|
|
Value:
|
|
Implicit:
|
|
- "1"
|
|
- line_start: 1
|
|
line_stop: 1
|
|
col_start: 1
|
|
col_stop: 2
|
|
path: /home/p/aleo/leo/parser/../tests/parser/expression/binary/lt.leo
|
|
content: 1 < 2 < 3
|
|
right:
|
|
Value:
|
|
Implicit:
|
|
- "2"
|
|
- line_start: 1
|
|
line_stop: 1
|
|
col_start: 5
|
|
col_stop: 6
|
|
path: /home/p/aleo/leo/parser/../tests/parser/expression/binary/lt.leo
|
|
content: 1 < 2 < 3
|
|
op: Lt
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 1
|
|
col_stop: 6
|
|
path: /home/p/aleo/leo/parser/../tests/parser/expression/binary/lt.leo
|
|
content: 1 < 2 < 3
|
|
right:
|
|
Value:
|
|
Implicit:
|
|
- "3"
|
|
- line_start: 1
|
|
line_stop: 1
|
|
col_start: 9
|
|
col_stop: 10
|
|
path: /home/p/aleo/leo/parser/../tests/parser/expression/binary/lt.leo
|
|
content: 1 < 2 < 3
|
|
op: Lt
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 1
|
|
col_stop: 10
|
|
path: /home/p/aleo/leo/parser/../tests/parser/expression/binary/lt.leo
|
|
content: 1 < 2 < 3
|
|
- Binary:
|
|
left:
|
|
Binary:
|
|
left:
|
|
Binary:
|
|
left:
|
|
Value:
|
|
Implicit:
|
|
- "1"
|
|
- line_start: 1
|
|
line_stop: 1
|
|
col_start: 1
|
|
col_stop: 2
|
|
path: /home/p/aleo/leo/parser/../tests/parser/expression/binary/lt.leo
|
|
content: 1 + 2 < 3 + 4 < 5 + 6
|
|
right:
|
|
Value:
|
|
Implicit:
|
|
- "2"
|
|
- line_start: 1
|
|
line_stop: 1
|
|
col_start: 5
|
|
col_stop: 6
|
|
path: /home/p/aleo/leo/parser/../tests/parser/expression/binary/lt.leo
|
|
content: 1 + 2 < 3 + 4 < 5 + 6
|
|
op: Add
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 1
|
|
col_stop: 6
|
|
path: /home/p/aleo/leo/parser/../tests/parser/expression/binary/lt.leo
|
|
content: 1 + 2 < 3 + 4 < 5 + 6
|
|
right:
|
|
Binary:
|
|
left:
|
|
Value:
|
|
Implicit:
|
|
- "3"
|
|
- line_start: 1
|
|
line_stop: 1
|
|
col_start: 9
|
|
col_stop: 10
|
|
path: /home/p/aleo/leo/parser/../tests/parser/expression/binary/lt.leo
|
|
content: 1 + 2 < 3 + 4 < 5 + 6
|
|
right:
|
|
Value:
|
|
Implicit:
|
|
- "4"
|
|
- line_start: 1
|
|
line_stop: 1
|
|
col_start: 13
|
|
col_stop: 14
|
|
path: /home/p/aleo/leo/parser/../tests/parser/expression/binary/lt.leo
|
|
content: 1 + 2 < 3 + 4 < 5 + 6
|
|
op: Add
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 9
|
|
col_stop: 14
|
|
path: /home/p/aleo/leo/parser/../tests/parser/expression/binary/lt.leo
|
|
content: 1 + 2 < 3 + 4 < 5 + 6
|
|
op: Lt
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 1
|
|
col_stop: 14
|
|
path: /home/p/aleo/leo/parser/../tests/parser/expression/binary/lt.leo
|
|
content: 1 + 2 < 3 + 4 < 5 + 6
|
|
right:
|
|
Binary:
|
|
left:
|
|
Value:
|
|
Implicit:
|
|
- "5"
|
|
- line_start: 1
|
|
line_stop: 1
|
|
col_start: 17
|
|
col_stop: 18
|
|
path: /home/p/aleo/leo/parser/../tests/parser/expression/binary/lt.leo
|
|
content: 1 + 2 < 3 + 4 < 5 + 6
|
|
right:
|
|
Value:
|
|
Implicit:
|
|
- "6"
|
|
- line_start: 1
|
|
line_stop: 1
|
|
col_start: 21
|
|
col_stop: 22
|
|
path: /home/p/aleo/leo/parser/../tests/parser/expression/binary/lt.leo
|
|
content: 1 + 2 < 3 + 4 < 5 + 6
|
|
op: Add
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 17
|
|
col_stop: 22
|
|
path: /home/p/aleo/leo/parser/../tests/parser/expression/binary/lt.leo
|
|
content: 1 + 2 < 3 + 4 < 5 + 6
|
|
op: Lt
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 1
|
|
col_stop: 22
|
|
path: /home/p/aleo/leo/parser/../tests/parser/expression/binary/lt.leo
|
|
content: 1 + 2 < 3 + 4 < 5 + 6
|