leo/tests/parser/expression/unary/negate.leo.out

121 lines
3.8 KiB
Plaintext
Raw Normal View History

2021-03-30 01:45:10 +03:00
---
2021-04-07 20:01:24 +03:00
namespace: ParseExpression
2021-03-30 01:45:10 +03:00
expectation: Pass
outputs:
- Unary:
inner:
2021-04-06 16:57:46 +03:00
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":2,\\\"col_stop\\\":3,\\\"path\\\":\\\"negate.leo\\\",\\\"content\\\":\\\"-x\\\"}\"}"
2021-03-30 01:45:10 +03:00
op: Negate
span:
line_start: 1
line_stop: 1
col_start: 1
col_stop: 3
2021-04-06 16:57:46 +03:00
path: negate.leo
2021-03-30 01:45:10 +03:00
content: "-x"
- Unary:
inner:
CircuitMemberAccess:
circuit:
2021-04-06 16:57:46 +03:00
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":2,\\\"col_stop\\\":3,\\\"path\\\":\\\"negate.leo\\\",\\\"content\\\":\\\"-x.y\\\"}\"}"
name: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":4,\\\"col_stop\\\":5,\\\"path\\\":\\\"negate.leo\\\",\\\"content\\\":\\\"-x.y\\\"}\"}"
2021-03-30 01:45:10 +03:00
span:
line_start: 1
line_stop: 1
col_start: 2
col_stop: 5
2021-04-06 16:57:46 +03:00
path: negate.leo
2021-03-30 01:45:10 +03:00
content: "-x.y"
op: Negate
span:
line_start: 1
line_stop: 1
col_start: 1
col_stop: 5
2021-04-06 16:57:46 +03:00
path: negate.leo
2021-03-30 01:45:10 +03:00
content: "-x.y"
- Unary:
inner:
CircuitStaticFunctionAccess:
circuit:
2021-04-06 16:57:46 +03:00
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":2,\\\"col_stop\\\":3,\\\"path\\\":\\\"negate.leo\\\",\\\"content\\\":\\\"-x::y\\\"}\"}"
name: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"negate.leo\\\",\\\"content\\\":\\\"-x::y\\\"}\"}"
2021-03-30 01:45:10 +03:00
span:
line_start: 1
line_stop: 1
col_start: 2
col_stop: 6
2021-04-06 16:57:46 +03:00
path: negate.leo
2021-03-30 01:45:10 +03:00
content: "-x::y"
op: Negate
span:
line_start: 1
line_stop: 1
col_start: 1
col_stop: 6
2021-04-06 16:57:46 +03:00
path: negate.leo
2021-03-30 01:45:10 +03:00
content: "-x::y"
- Unary:
inner:
Call:
function:
2021-04-06 16:57:46 +03:00
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":2,\\\"col_stop\\\":3,\\\"path\\\":\\\"negate.leo\\\",\\\"content\\\":\\\"-x()\\\"}\"}"
2021-03-30 01:45:10 +03:00
arguments: []
span:
line_start: 1
line_stop: 1
col_start: 2
col_stop: 5
2021-04-06 16:57:46 +03:00
path: negate.leo
2021-03-30 01:45:10 +03:00
content: "-x()"
op: Negate
span:
line_start: 1
line_stop: 1
col_start: 1
col_stop: 5
2021-04-06 16:57:46 +03:00
path: negate.leo
2021-03-30 01:45:10 +03:00
content: "-x()"
- Unary:
inner:
Unary:
inner:
2021-04-06 16:57:46 +03:00
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":3,\\\"col_stop\\\":4,\\\"path\\\":\\\"negate.leo\\\",\\\"content\\\":\\\"--x\\\"}\"}"
2021-03-30 01:45:10 +03:00
op: Negate
span:
line_start: 1
line_stop: 1
col_start: 2
col_stop: 4
2021-04-06 16:57:46 +03:00
path: negate.leo
2021-03-30 01:45:10 +03:00
content: "--x"
op: Negate
span:
line_start: 1
line_stop: 1
col_start: 1
col_stop: 4
2021-04-06 16:57:46 +03:00
path: negate.leo
2021-03-30 01:45:10 +03:00
content: "--x"
- Unary:
inner:
Unary:
inner:
2021-04-06 16:57:46 +03:00
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":3,\\\"col_stop\\\":4,\\\"path\\\":\\\"negate.leo\\\",\\\"content\\\":\\\"-!x\\\"}\"}"
2021-03-30 01:45:10 +03:00
op: Not
span:
line_start: 1
line_stop: 1
col_start: 2
col_stop: 4
2021-04-06 16:57:46 +03:00
path: negate.leo
2021-03-30 01:45:10 +03:00
content: "-!x"
op: Negate
span:
line_start: 1
line_stop: 1
col_start: 1
col_stop: 4
2021-04-06 16:57:46 +03:00
path: negate.leo
2021-03-30 01:45:10 +03:00
content: "-!x"