leo/tests/parser/expression/unary/not.leo.out
2021-04-12 13:15:39 -07:00

121 lines
4.8 KiB
Plaintext

---
ns: ParseExpression
expectation: Pass
outputs:
- Unary:
inner:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":2,\\\"col_stop\\\":3,\\\"path\\\":\\\"/home/p/aleo/leo/parser/../tests/parser/expression/unary/not.leo\\\",\\\"content\\\":\\\"!x\\\"}\"}"
op: Not
span:
line_start: 1
line_stop: 1
col_start: 1
col_stop: 3
path: /home/p/aleo/leo/parser/../tests/parser/expression/unary/not.leo
content: "!x"
- Unary:
inner:
CircuitMemberAccess:
circuit:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":2,\\\"col_stop\\\":3,\\\"path\\\":\\\"/home/p/aleo/leo/parser/../tests/parser/expression/unary/not.leo\\\",\\\"content\\\":\\\"!x.y\\\"}\"}"
name: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":4,\\\"col_stop\\\":5,\\\"path\\\":\\\"/home/p/aleo/leo/parser/../tests/parser/expression/unary/not.leo\\\",\\\"content\\\":\\\"!x.y\\\"}\"}"
span:
line_start: 1
line_stop: 1
col_start: 2
col_stop: 5
path: /home/p/aleo/leo/parser/../tests/parser/expression/unary/not.leo
content: "!x.y"
op: Not
span:
line_start: 1
line_stop: 1
col_start: 1
col_stop: 5
path: /home/p/aleo/leo/parser/../tests/parser/expression/unary/not.leo
content: "!x.y"
- Unary:
inner:
CircuitStaticFunctionAccess:
circuit:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":2,\\\"col_stop\\\":3,\\\"path\\\":\\\"/home/p/aleo/leo/parser/../tests/parser/expression/unary/not.leo\\\",\\\"content\\\":\\\"!x::y\\\"}\"}"
name: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"/home/p/aleo/leo/parser/../tests/parser/expression/unary/not.leo\\\",\\\"content\\\":\\\"!x::y\\\"}\"}"
span:
line_start: 1
line_stop: 1
col_start: 2
col_stop: 6
path: /home/p/aleo/leo/parser/../tests/parser/expression/unary/not.leo
content: "!x::y"
op: Not
span:
line_start: 1
line_stop: 1
col_start: 1
col_stop: 6
path: /home/p/aleo/leo/parser/../tests/parser/expression/unary/not.leo
content: "!x::y"
- Unary:
inner:
Call:
function:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":2,\\\"col_stop\\\":3,\\\"path\\\":\\\"/home/p/aleo/leo/parser/../tests/parser/expression/unary/not.leo\\\",\\\"content\\\":\\\"!x()\\\"}\"}"
arguments: []
span:
line_start: 1
line_stop: 1
col_start: 2
col_stop: 5
path: /home/p/aleo/leo/parser/../tests/parser/expression/unary/not.leo
content: "!x()"
op: Not
span:
line_start: 1
line_stop: 1
col_start: 1
col_stop: 5
path: /home/p/aleo/leo/parser/../tests/parser/expression/unary/not.leo
content: "!x()"
- Unary:
inner:
Unary:
inner:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":3,\\\"col_stop\\\":4,\\\"path\\\":\\\"/home/p/aleo/leo/parser/../tests/parser/expression/unary/not.leo\\\",\\\"content\\\":\\\"!!x\\\"}\"}"
op: Not
span:
line_start: 1
line_stop: 1
col_start: 2
col_stop: 4
path: /home/p/aleo/leo/parser/../tests/parser/expression/unary/not.leo
content: "!!x"
op: Not
span:
line_start: 1
line_stop: 1
col_start: 1
col_stop: 4
path: /home/p/aleo/leo/parser/../tests/parser/expression/unary/not.leo
content: "!!x"
- Unary:
inner:
Unary:
inner:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":3,\\\"col_stop\\\":4,\\\"path\\\":\\\"/home/p/aleo/leo/parser/../tests/parser/expression/unary/not.leo\\\",\\\"content\\\":\\\"!-x\\\"}\"}"
op: Negate
span:
line_start: 1
line_stop: 1
col_start: 2
col_stop: 4
path: /home/p/aleo/leo/parser/../tests/parser/expression/unary/not.leo
content: "!-x"
op: Not
span:
line_start: 1
line_stop: 1
col_start: 1
col_stop: 4
path: /home/p/aleo/leo/parser/../tests/parser/expression/unary/not.leo
content: "!-x"