From 72648c993c7e328648389cf1def1304f11f7bbd9 Mon Sep 17 00:00:00 2001 From: damirka Date: Wed, 5 May 2021 17:35:34 +0300 Subject: [PATCH] program inputs --- tests/compiler/input_files/mod.rs | 21 - .../input_files/program_input/input/main.in | 5 +- .../program_input/input/main_array_fail.in | 2 +- .../program_input/input/main_fail_name.in | 2 +- .../program_input/input/main_fail_type.in | 2 +- .../program_input/input/main_field.in | 2 +- .../program_input/input/main_group.in | 2 +- .../input/main_multi_dimension_array.in | 5 +- .../program_input/input/main_multiple.in | 3 + .../program_input/input/main_tuple.in | 5 + .../program_input/input/main_tuple_fail.in | 2 +- .../input_files/program_input/main.leo | 12 +- .../input_files/program_input/main_array.leo | 10 +- .../program_input/main_array_fail.leo | 12 +- .../input_files/program_input/main_field.leo | 8 +- .../input_files/program_input/main_group.leo | 8 +- .../main_multi_dimension_array.leo | 19 +- .../program_input/main_multiple.leo | 13 +- .../input_files/program_input/main_tuple.leo | 9 + .../program_input/main_tuple_fail.leo | 8 +- .../compiler/input_files/program_input/mod.rs | 125 -- .../access.leo | 11 - .../program_input_and_program_state/basic.leo | 10 + .../input/basic.in | 2 +- .../input/basic.state | 2 +- .../input/token_withdraw.in | 3 +- .../input/token_withdraw.state | 2 +- .../program_input_and_program_state/mod.rs | 44 - .../token_withdraw.leo | 14 + .../program_input_constants/input/main.in | 5 +- .../input/main_array_fail.in | 2 +- .../input/main_double_declaration_fail.in | 5 - .../input/main_fail_name.in | 2 +- .../input/main_fail_type.in | 2 +- .../input/main_field.in | 2 +- .../input/main_group.in | 2 +- .../input/main_multi_dimension_array.in | 5 +- .../input/main_multiple.in | 3 + .../input/main_not_const_input_fail.in | 2 - .../input/main_tuple.in | 5 + .../input/main_tuple_fail.in | 2 +- .../input/main_type_mismatch.in | 2 - .../program_input_constants/main.leo | 12 +- .../program_input_constants/main_array.leo | 10 +- .../main_array_fail.leo | 12 +- .../program_input_constants/main_field.leo | 8 +- .../program_input_constants/main_group.leo | 8 +- .../main_multi_dimension_array.leo | 19 +- .../program_input_constants/main_multiple.leo | 13 +- .../program_input_constants/main_tuple.leo | 9 + .../main_tuple_fail.leo | 8 +- .../program_input_constants/mod.rs | 145 -- .../input_files/program_input/main.leo.out | 18 + .../program_input/main_array.leo.out | 15 + .../program_input/main_array_fail.leo.out | 5 + .../program_input/main_field.leo.out | 15 + .../program_input/main_group.leo.out | 15 + .../main_multi_dimension_array.leo.out | 18 + .../program_input/main_multiple.leo.out | 18 + .../program_input/main_tuple.leo.out | 18 + .../program_input/main_tuple_fail.leo.out | 5 + .../basic.leo.out | 18 + .../token_withdraw.leo.out | 18 + .../program_input_constants/main.leo.out | 18 + .../main_array.leo.out | 15 + .../main_array_fail.leo.out | 5 + .../main_field.leo.out | 15 + .../main_group.leo.out | 15 + .../main_multi_dimension_array.leo.out | 18 + .../main_multiple.leo.out | 18 + .../main_tuple.leo.out | 18 + .../main_tuple_fail.leo.out | 5 + .../parser/parser/circuits/big_self.leo.out | 53 - .../parser/parser/circuits/empty.leo.out | 13 - .../circuits/field_and_functions.leo.out | 97 -- .../parser/parser/circuits/fields.leo.out | 19 - .../parser/parser/circuits/functions.leo.out | 91 - .../parser/parser/circuits/mut_self.leo.out | 53 - .../parser/parser/circuits/self.leo.out | 53 - .../expression/access/array_access.leo.out | 267 --- .../access/array_range_access.leo.out | 401 ----- .../parser/expression/access/call.leo.out | 162 -- .../parser/expression/access/circuit.leo.out | 120 -- .../expression/access/circuit_static.leo.out | 120 -- .../parser/expression/access/tuple.leo.out | 109 -- .../parser/expression/array_init.leo.out | 150 -- .../parser/expression/array_init_fail.leo.out | 6 - .../parser/expression/array_inline.leo.out | 317 ---- .../expression/array_inline_fail.leo.out | 9 - .../parser/expression/binary/add.leo.out | 338 ---- .../parser/expression/binary/and.leo.out | 111 -- .../parser/expression/binary/div.leo.out | 180 -- .../parser/expression/binary/eq.leo.out | 338 ---- .../parser/expression/binary/exp.leo.out | 244 --- .../parser/expression/binary/gt.leo.out | 338 ---- .../parser/expression/binary/gte.leo.out | 338 ---- .../parser/expression/binary/lt.leo.out | 338 ---- .../parser/expression/binary/lte.leo.out | 338 ---- .../parser/expression/binary/mul.leo.out | 289 ---- .../parser/expression/binary/ne.leo.out | 338 ---- .../parser/expression/binary/or.leo.out | 338 ---- .../parser/expression/binary/sub.leo.out | 180 -- .../parser/parser/expression/cast.leo.out | 186 --- .../parser/expression/circuit_init.leo.out | 113 -- .../expression/circuit_init_fail.leo.out | 16 - .../parser/parser/expression/ident.leo.out | 23 - .../parser/expression/literal/address.leo.out | 13 - .../expression/literal/address_fail.leo.out | 13 - .../expression/literal/address_parse.leo.out | 40 - .../parser/expression/literal/bool.leo.out | 12 - .../expression/literal/bool_parse.leo.out | 22 - .../parser/expression/literal/comment.leo.out | 22 - .../literal/formatted_string.leo.out | 24 - .../parser/expression/literal/group.leo.out | 648 -------- .../expression/literal/group_fail.leo.out | 13 - .../parser/expression/literal/int.leo.out | 111 -- .../literal/int_parse/field.leo.out | 949 ----------- .../expression/literal/int_parse/i128.leo.out | 1053 ------------ .../expression/literal/int_parse/i16.leo.out | 1053 ------------ .../expression/literal/int_parse/i32.leo.out | 1053 ------------ .../expression/literal/int_parse/i64.leo.out | 1053 ------------ .../expression/literal/int_parse/i8.leo.out | 1053 ------------ .../literal/int_parse/implicit.leo.out | 949 ----------- .../literal/int_parse/mono_group.leo.out | 1053 ------------ .../expression/literal/int_parse/u128.leo.out | 1053 ------------ .../expression/literal/int_parse/u16.leo.out | 1053 ------------ .../expression/literal/int_parse/u32.leo.out | 1053 ------------ .../expression/literal/int_parse/u64.leo.out | 1053 ------------ .../expression/literal/int_parse/u8.leo.out | 1053 ------------ .../expression/literal/postfix_types.leo.out | 62 - .../parser/parser/expression/ternary.leo.out | 72 - .../parser/parser/expression/tuple.leo.out | 94 -- .../parser/expression/unary/negate.leo.out | 120 -- .../parser/expression/unary/not.leo.out | 120 -- .../parser/parser/functions/annotated.leo.out | 58 - .../parser/functions/annotated_param.leo.out | 59 - .../parser/functions/annotated_twice.leo.out | 67 - .../parser/functions/const_input_fail.leo.out | 5 - .../parser/functions/const_param.leo.out | 140 -- .../parser/functions/const_self_bad.leo.out | 50 - .../parser/parser/functions/empty.leo.out | 49 - .../parser/parser/functions/empty2.leo.out | 31 - .../parser/functions/param_array.leo.out | 64 - .../parser/functions/param_circuit.leo.out | 62 - .../parser/functions/param_tuple.leo.out | 64 - .../parser/parser/functions/params.leo.out | 75 - .../parser/functions/params_return.leo.out | 76 - .../parser/parser/functions/return.leo.out | 50 - .../parser/functions/return_tuple.leo.out | 52 - .../parser/parser/import/alias.leo.out | 38 - .../parser/parser/import/basic.leo.out | 38 - .../parser/parser/import/many_import.leo.out | 136 -- .../parser/import/many_import_star.leo.out | 165 -- .../parser/parser/import/names.leo.out | 94 -- .../parser/import/names_underscore.leo.out | 38 - .../parser/parser/import/star.leo.out | 35 - .../parser/parser/statement/assign.leo.out | 411 ----- .../parser/parser/statement/block.leo.out | 141 -- .../parser/statement/conditional.leo.out | 230 --- .../parser/parser/statement/console.leo.out | 207 --- .../parser/statement/definition.leo.out | 1473 ----------------- .../parser/statement/definition_fail.leo.out | 27 - .../parser/statement/expression.leo.out | 94 -- .../parser/parser/statement/iteration.leo.out | 203 --- .../parser/parser/statement/return.leo.out | 110 -- .../parser/statement/return_fail.leo.out | 7 - 166 files changed, 517 insertions(+), 25721 deletions(-) delete mode 100644 tests/compiler/input_files/mod.rs create mode 100644 tests/compiler/input_files/program_input/input/main_tuple.in create mode 100644 tests/compiler/input_files/program_input/main_tuple.leo delete mode 100644 tests/compiler/input_files/program_input/mod.rs delete mode 100644 tests/compiler/input_files/program_input_and_program_state/access.leo create mode 100644 tests/compiler/input_files/program_input_and_program_state/basic.leo delete mode 100644 tests/compiler/input_files/program_input_and_program_state/mod.rs create mode 100644 tests/compiler/input_files/program_input_and_program_state/token_withdraw.leo delete mode 100644 tests/compiler/input_files/program_input_constants/input/main_double_declaration_fail.in delete mode 100644 tests/compiler/input_files/program_input_constants/input/main_not_const_input_fail.in create mode 100644 tests/compiler/input_files/program_input_constants/input/main_tuple.in delete mode 100644 tests/compiler/input_files/program_input_constants/input/main_type_mismatch.in create mode 100644 tests/compiler/input_files/program_input_constants/main_tuple.leo delete mode 100644 tests/compiler/input_files/program_input_constants/mod.rs create mode 100644 tests/expectations/compiler/compiler/input_files/program_input/main.leo.out create mode 100644 tests/expectations/compiler/compiler/input_files/program_input/main_array.leo.out create mode 100644 tests/expectations/compiler/compiler/input_files/program_input/main_array_fail.leo.out create mode 100644 tests/expectations/compiler/compiler/input_files/program_input/main_field.leo.out create mode 100644 tests/expectations/compiler/compiler/input_files/program_input/main_group.leo.out create mode 100644 tests/expectations/compiler/compiler/input_files/program_input/main_multi_dimension_array.leo.out create mode 100644 tests/expectations/compiler/compiler/input_files/program_input/main_multiple.leo.out create mode 100644 tests/expectations/compiler/compiler/input_files/program_input/main_tuple.leo.out create mode 100644 tests/expectations/compiler/compiler/input_files/program_input/main_tuple_fail.leo.out create mode 100644 tests/expectations/compiler/compiler/input_files/program_input_and_program_state/basic.leo.out create mode 100644 tests/expectations/compiler/compiler/input_files/program_input_and_program_state/token_withdraw.leo.out create mode 100644 tests/expectations/compiler/compiler/input_files/program_input_constants/main.leo.out create mode 100644 tests/expectations/compiler/compiler/input_files/program_input_constants/main_array.leo.out create mode 100644 tests/expectations/compiler/compiler/input_files/program_input_constants/main_array_fail.leo.out create mode 100644 tests/expectations/compiler/compiler/input_files/program_input_constants/main_field.leo.out create mode 100644 tests/expectations/compiler/compiler/input_files/program_input_constants/main_group.leo.out create mode 100644 tests/expectations/compiler/compiler/input_files/program_input_constants/main_multi_dimension_array.leo.out create mode 100644 tests/expectations/compiler/compiler/input_files/program_input_constants/main_multiple.leo.out create mode 100644 tests/expectations/compiler/compiler/input_files/program_input_constants/main_tuple.leo.out create mode 100644 tests/expectations/compiler/compiler/input_files/program_input_constants/main_tuple_fail.leo.out delete mode 100644 tests/expectations/parser/parser/circuits/big_self.leo.out delete mode 100644 tests/expectations/parser/parser/circuits/empty.leo.out delete mode 100644 tests/expectations/parser/parser/circuits/field_and_functions.leo.out delete mode 100644 tests/expectations/parser/parser/circuits/fields.leo.out delete mode 100644 tests/expectations/parser/parser/circuits/functions.leo.out delete mode 100644 tests/expectations/parser/parser/circuits/mut_self.leo.out delete mode 100644 tests/expectations/parser/parser/circuits/self.leo.out delete mode 100644 tests/expectations/parser/parser/expression/access/array_access.leo.out delete mode 100644 tests/expectations/parser/parser/expression/access/array_range_access.leo.out delete mode 100644 tests/expectations/parser/parser/expression/access/call.leo.out delete mode 100644 tests/expectations/parser/parser/expression/access/circuit.leo.out delete mode 100644 tests/expectations/parser/parser/expression/access/circuit_static.leo.out delete mode 100644 tests/expectations/parser/parser/expression/access/tuple.leo.out delete mode 100644 tests/expectations/parser/parser/expression/array_init.leo.out delete mode 100644 tests/expectations/parser/parser/expression/array_init_fail.leo.out delete mode 100644 tests/expectations/parser/parser/expression/array_inline.leo.out delete mode 100644 tests/expectations/parser/parser/expression/array_inline_fail.leo.out delete mode 100644 tests/expectations/parser/parser/expression/binary/add.leo.out delete mode 100644 tests/expectations/parser/parser/expression/binary/and.leo.out delete mode 100644 tests/expectations/parser/parser/expression/binary/div.leo.out delete mode 100644 tests/expectations/parser/parser/expression/binary/eq.leo.out delete mode 100644 tests/expectations/parser/parser/expression/binary/exp.leo.out delete mode 100644 tests/expectations/parser/parser/expression/binary/gt.leo.out delete mode 100644 tests/expectations/parser/parser/expression/binary/gte.leo.out delete mode 100644 tests/expectations/parser/parser/expression/binary/lt.leo.out delete mode 100644 tests/expectations/parser/parser/expression/binary/lte.leo.out delete mode 100644 tests/expectations/parser/parser/expression/binary/mul.leo.out delete mode 100644 tests/expectations/parser/parser/expression/binary/ne.leo.out delete mode 100644 tests/expectations/parser/parser/expression/binary/or.leo.out delete mode 100644 tests/expectations/parser/parser/expression/binary/sub.leo.out delete mode 100644 tests/expectations/parser/parser/expression/cast.leo.out delete mode 100644 tests/expectations/parser/parser/expression/circuit_init.leo.out delete mode 100644 tests/expectations/parser/parser/expression/circuit_init_fail.leo.out delete mode 100644 tests/expectations/parser/parser/expression/ident.leo.out delete mode 100644 tests/expectations/parser/parser/expression/literal/address.leo.out delete mode 100644 tests/expectations/parser/parser/expression/literal/address_fail.leo.out delete mode 100644 tests/expectations/parser/parser/expression/literal/address_parse.leo.out delete mode 100644 tests/expectations/parser/parser/expression/literal/bool.leo.out delete mode 100644 tests/expectations/parser/parser/expression/literal/bool_parse.leo.out delete mode 100644 tests/expectations/parser/parser/expression/literal/comment.leo.out delete mode 100644 tests/expectations/parser/parser/expression/literal/formatted_string.leo.out delete mode 100644 tests/expectations/parser/parser/expression/literal/group.leo.out delete mode 100644 tests/expectations/parser/parser/expression/literal/group_fail.leo.out delete mode 100644 tests/expectations/parser/parser/expression/literal/int.leo.out delete mode 100644 tests/expectations/parser/parser/expression/literal/int_parse/field.leo.out delete mode 100644 tests/expectations/parser/parser/expression/literal/int_parse/i128.leo.out delete mode 100644 tests/expectations/parser/parser/expression/literal/int_parse/i16.leo.out delete mode 100644 tests/expectations/parser/parser/expression/literal/int_parse/i32.leo.out delete mode 100644 tests/expectations/parser/parser/expression/literal/int_parse/i64.leo.out delete mode 100644 tests/expectations/parser/parser/expression/literal/int_parse/i8.leo.out delete mode 100644 tests/expectations/parser/parser/expression/literal/int_parse/implicit.leo.out delete mode 100644 tests/expectations/parser/parser/expression/literal/int_parse/mono_group.leo.out delete mode 100644 tests/expectations/parser/parser/expression/literal/int_parse/u128.leo.out delete mode 100644 tests/expectations/parser/parser/expression/literal/int_parse/u16.leo.out delete mode 100644 tests/expectations/parser/parser/expression/literal/int_parse/u32.leo.out delete mode 100644 tests/expectations/parser/parser/expression/literal/int_parse/u64.leo.out delete mode 100644 tests/expectations/parser/parser/expression/literal/int_parse/u8.leo.out delete mode 100644 tests/expectations/parser/parser/expression/literal/postfix_types.leo.out delete mode 100644 tests/expectations/parser/parser/expression/ternary.leo.out delete mode 100644 tests/expectations/parser/parser/expression/tuple.leo.out delete mode 100644 tests/expectations/parser/parser/expression/unary/negate.leo.out delete mode 100644 tests/expectations/parser/parser/expression/unary/not.leo.out delete mode 100644 tests/expectations/parser/parser/functions/annotated.leo.out delete mode 100644 tests/expectations/parser/parser/functions/annotated_param.leo.out delete mode 100644 tests/expectations/parser/parser/functions/annotated_twice.leo.out delete mode 100644 tests/expectations/parser/parser/functions/const_input_fail.leo.out delete mode 100644 tests/expectations/parser/parser/functions/const_param.leo.out delete mode 100644 tests/expectations/parser/parser/functions/const_self_bad.leo.out delete mode 100644 tests/expectations/parser/parser/functions/empty.leo.out delete mode 100644 tests/expectations/parser/parser/functions/empty2.leo.out delete mode 100644 tests/expectations/parser/parser/functions/param_array.leo.out delete mode 100644 tests/expectations/parser/parser/functions/param_circuit.leo.out delete mode 100644 tests/expectations/parser/parser/functions/param_tuple.leo.out delete mode 100644 tests/expectations/parser/parser/functions/params.leo.out delete mode 100644 tests/expectations/parser/parser/functions/params_return.leo.out delete mode 100644 tests/expectations/parser/parser/functions/return.leo.out delete mode 100644 tests/expectations/parser/parser/functions/return_tuple.leo.out delete mode 100644 tests/expectations/parser/parser/import/alias.leo.out delete mode 100644 tests/expectations/parser/parser/import/basic.leo.out delete mode 100644 tests/expectations/parser/parser/import/many_import.leo.out delete mode 100644 tests/expectations/parser/parser/import/many_import_star.leo.out delete mode 100644 tests/expectations/parser/parser/import/names.leo.out delete mode 100644 tests/expectations/parser/parser/import/names_underscore.leo.out delete mode 100644 tests/expectations/parser/parser/import/star.leo.out delete mode 100644 tests/expectations/parser/parser/statement/assign.leo.out delete mode 100644 tests/expectations/parser/parser/statement/block.leo.out delete mode 100644 tests/expectations/parser/parser/statement/conditional.leo.out delete mode 100644 tests/expectations/parser/parser/statement/console.leo.out delete mode 100644 tests/expectations/parser/parser/statement/definition.leo.out delete mode 100644 tests/expectations/parser/parser/statement/definition_fail.leo.out delete mode 100644 tests/expectations/parser/parser/statement/expression.leo.out delete mode 100644 tests/expectations/parser/parser/statement/iteration.leo.out delete mode 100644 tests/expectations/parser/parser/statement/return.leo.out delete mode 100644 tests/expectations/parser/parser/statement/return_fail.leo.out diff --git a/tests/compiler/input_files/mod.rs b/tests/compiler/input_files/mod.rs deleted file mode 100644 index af220752b8..0000000000 --- a/tests/compiler/input_files/mod.rs +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (C) 2019-2021 Aleo Systems Inc. -// This file is part of the Leo library. - -// The Leo library is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. - -// The Leo library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License -// along with the Leo library. If not, see . - -mod program_input; -mod program_input_and_program_state; -mod program_input_constants; -mod program_registers; -mod program_state; diff --git a/tests/compiler/input_files/program_input/input/main.in b/tests/compiler/input_files/program_input/input/main.in index 16ba5231af..0daac95b9a 100644 --- a/tests/compiler/input_files/program_input/input/main.in +++ b/tests/compiler/input_files/program_input/input/main.in @@ -1,2 +1,5 @@ [main] -a: bool = true; \ No newline at end of file +a: bool = true; + +[registers] +r0: bool = true; diff --git a/tests/compiler/input_files/program_input/input/main_array_fail.in b/tests/compiler/input_files/program_input/input/main_array_fail.in index efdc161ee4..34db280b2e 100644 --- a/tests/compiler/input_files/program_input/input/main_array_fail.in +++ b/tests/compiler/input_files/program_input/input/main_array_fail.in @@ -1,2 +1,2 @@ [main] -x: [i16; 1] = [0i16; 1]; \ No newline at end of file +x: [i16; 1] = [0i16; 1]; diff --git a/tests/compiler/input_files/program_input/input/main_fail_name.in b/tests/compiler/input_files/program_input/input/main_fail_name.in index 411529499c..a07ee79fc9 100644 --- a/tests/compiler/input_files/program_input/input/main_fail_name.in +++ b/tests/compiler/input_files/program_input/input/main_fail_name.in @@ -1,2 +1,2 @@ [main] -bad_name: bool = true; \ No newline at end of file +bad_name: bool = true; diff --git a/tests/compiler/input_files/program_input/input/main_fail_type.in b/tests/compiler/input_files/program_input/input/main_fail_type.in index a5cf30c8cc..9bee0dc857 100644 --- a/tests/compiler/input_files/program_input/input/main_fail_type.in +++ b/tests/compiler/input_files/program_input/input/main_fail_type.in @@ -1,2 +1,2 @@ [main] -a: u8 = 1; \ No newline at end of file +a: u8 = 1; diff --git a/tests/compiler/input_files/program_input/input/main_field.in b/tests/compiler/input_files/program_input/input/main_field.in index fe9eebbd56..e626fd1b96 100644 --- a/tests/compiler/input_files/program_input/input/main_field.in +++ b/tests/compiler/input_files/program_input/input/main_field.in @@ -1,3 +1,3 @@ [main] a: field = 1; -b: field = -1; \ No newline at end of file +b: field = -1; diff --git a/tests/compiler/input_files/program_input/input/main_group.in b/tests/compiler/input_files/program_input/input/main_group.in index 2a7aecd0ad..cb785ee904 100644 --- a/tests/compiler/input_files/program_input/input/main_group.in +++ b/tests/compiler/input_files/program_input/input/main_group.in @@ -1,4 +1,4 @@ [main] a: group = 1group; b: group = -1group; -c: group = (0, -1)group; \ No newline at end of file +c: group = (0, -1)group; diff --git a/tests/compiler/input_files/program_input/input/main_multi_dimension_array.in b/tests/compiler/input_files/program_input/input/main_multi_dimension_array.in index e62ec2f232..b8755fce73 100644 --- a/tests/compiler/input_files/program_input/input/main_multi_dimension_array.in +++ b/tests/compiler/input_files/program_input/input/main_multi_dimension_array.in @@ -1,2 +1,5 @@ [main] -x: [i16; (2, 2, 3)] = [0i16; (2, 2, 3)]; \ No newline at end of file +x: [i16; (2, 2, 3)] = [0i16; (2, 2, 3)]; + +[registers] +r0: bool = true; diff --git a/tests/compiler/input_files/program_input/input/main_multiple.in b/tests/compiler/input_files/program_input/input/main_multiple.in index 546c971bf8..7ac70d0aa7 100644 --- a/tests/compiler/input_files/program_input/input/main_multiple.in +++ b/tests/compiler/input_files/program_input/input/main_multiple.in @@ -1,3 +1,6 @@ [main] a: bool = true; b: bool = false; + +[registers] +r0: bool = true; diff --git a/tests/compiler/input_files/program_input/input/main_tuple.in b/tests/compiler/input_files/program_input/input/main_tuple.in new file mode 100644 index 0000000000..f01d9f7c7b --- /dev/null +++ b/tests/compiler/input_files/program_input/input/main_tuple.in @@ -0,0 +1,5 @@ +[main] +x: (u8, bool, u8) = (10, true, 10); + +[registers] +r0: bool = true; diff --git a/tests/compiler/input_files/program_input/input/main_tuple_fail.in b/tests/compiler/input_files/program_input/input/main_tuple_fail.in index aada924c29..a9fac77664 100644 --- a/tests/compiler/input_files/program_input/input/main_tuple_fail.in +++ b/tests/compiler/input_files/program_input/input/main_tuple_fail.in @@ -1,2 +1,2 @@ [main] -x: (u8, bool) = (10, true); // wrong size here; main expects (u8, bool, u8) \ No newline at end of file +x: (u8, bool) = (10, true); // wrong size here; main expects (u8, bool, u8) diff --git a/tests/compiler/input_files/program_input/main.leo b/tests/compiler/input_files/program_input/main.leo index ba6be77256..3a87ed310e 100644 --- a/tests/compiler/input_files/program_input/main.leo +++ b/tests/compiler/input_files/program_input/main.leo @@ -1,3 +1,9 @@ -function main(a: bool) { - console.assert(a == true); -} \ No newline at end of file +/* +namespace: Compile +expectation: Pass +input_file: input/main.in +*/ + +function main(a: bool) -> bool { + return a == true; +} diff --git a/tests/compiler/input_files/program_input/main_array.leo b/tests/compiler/input_files/program_input/main_array.leo index dd7f265457..bd38e94cc8 100644 --- a/tests/compiler/input_files/program_input/main_array.leo +++ b/tests/compiler/input_files/program_input/main_array.leo @@ -1,4 +1,10 @@ -function main (x: [i16; 1]) { +/* +namespace: Compile +expectation: Pass +input_file: input/main_array.in +*/ + +function main(x: [i16; 1]) { console.log("{}", x); console.assert(x[0] == 0); -} \ No newline at end of file +} diff --git a/tests/compiler/input_files/program_input/main_array_fail.leo b/tests/compiler/input_files/program_input/main_array_fail.leo index d8c6f301d8..569f0d1ba9 100644 --- a/tests/compiler/input_files/program_input/main_array_fail.leo +++ b/tests/compiler/input_files/program_input/main_array_fail.leo @@ -1,3 +1,9 @@ -function main(x: [i16; 2]){ - console.log("x: {}", x); -} \ No newline at end of file +/* +namespace: Compile +expectation: Fail +input_file: input/main_array_fail.in +*/ + +function main(x: [i16; 2]) { + console.log("x: {}", x); +} diff --git a/tests/compiler/input_files/program_input/main_field.leo b/tests/compiler/input_files/program_input/main_field.leo index 19bf456ee7..fbc1a60132 100644 --- a/tests/compiler/input_files/program_input/main_field.leo +++ b/tests/compiler/input_files/program_input/main_field.leo @@ -1,5 +1,11 @@ +/* +namespace: Compile +expectation: Pass +input_file: input/main_field.in +*/ + function main(a: field, b: field) { // Change to assert when == is implemented for field. console.log("a: {}", a); console.log("b: {}", b); -} \ No newline at end of file +} diff --git a/tests/compiler/input_files/program_input/main_group.leo b/tests/compiler/input_files/program_input/main_group.leo index b7795ac7e7..635eae1d81 100644 --- a/tests/compiler/input_files/program_input/main_group.leo +++ b/tests/compiler/input_files/program_input/main_group.leo @@ -1,6 +1,12 @@ +/* +namespace: Compile +expectation: Pass +input_file: input/main_group.in +*/ + function main(a: group, b: group, c: group) { // Change to assert when == is implemented for group. console.log("a: {}", a); console.log("b: {}", b); console.log("c: {}", c); -} \ No newline at end of file +} diff --git a/tests/compiler/input_files/program_input/main_multi_dimension_array.leo b/tests/compiler/input_files/program_input/main_multi_dimension_array.leo index 7c89cc1082..78d35029ee 100644 --- a/tests/compiler/input_files/program_input/main_multi_dimension_array.leo +++ b/tests/compiler/input_files/program_input/main_multi_dimension_array.leo @@ -1,9 +1,14 @@ -function main(x: [i16; (2, 2, 3)]){ - console.log("x: {}", x); +/* +namespace: Compile +expectation: Pass +input_file: input/main_multi_dimension_array.in +*/ - const y: [i16; (2, 2, 3)] = [0i16; (2, 2, 3)]; - console.log("y: {}", y); +function main(x: [i16; (2, 2, 3)]) -> bool { + console.log("x: {}", x); - console.assert(x[0][0][0] == y[0][0][0]); - console.assert(x[1][1][2] == y[1][1][2]); -} \ No newline at end of file + const y: [i16; (2, 2, 3)] = [0i16; (2, 2, 3)]; + console.log("y: {}", y); + + return x[0][0][0] == y[0][0][0] && x[1][1][2] == y[1][1][2]; +} diff --git a/tests/compiler/input_files/program_input/main_multiple.leo b/tests/compiler/input_files/program_input/main_multiple.leo index eb5ef8d1f6..2360bc99ec 100644 --- a/tests/compiler/input_files/program_input/main_multiple.leo +++ b/tests/compiler/input_files/program_input/main_multiple.leo @@ -1,4 +1,9 @@ -function main(a: bool, b: bool) { - console.assert(a == true); - console.assert(b == false); -} \ No newline at end of file +/* +namespace: Compile +expectation: Pass +input_file: input/main_multiple.in +*/ + +function main(a: bool, b: bool) -> bool { + return a != b; +} diff --git a/tests/compiler/input_files/program_input/main_tuple.leo b/tests/compiler/input_files/program_input/main_tuple.leo new file mode 100644 index 0000000000..dece56e532 --- /dev/null +++ b/tests/compiler/input_files/program_input/main_tuple.leo @@ -0,0 +1,9 @@ +/* +namespace: Compile +expectation: Pass +input_file: input/main_tuple.in +*/ + +function main(x: (u8, bool, u8)) -> bool { + return x.0 == 10 && x.1 == true && x.2 == 10; +} diff --git a/tests/compiler/input_files/program_input/main_tuple_fail.leo b/tests/compiler/input_files/program_input/main_tuple_fail.leo index 7874773eff..06d55e925e 100644 --- a/tests/compiler/input_files/program_input/main_tuple_fail.leo +++ b/tests/compiler/input_files/program_input/main_tuple_fail.leo @@ -1,3 +1,9 @@ +/* +namespace: Compile +expectation: Fail +input_file: input/main_tuple_fail.in +*/ + function main(x: (u8, bool, u8)) { console.log("x: {}", x); -} \ No newline at end of file +} diff --git a/tests/compiler/input_files/program_input/mod.rs b/tests/compiler/input_files/program_input/mod.rs deleted file mode 100644 index 9fa79b9790..0000000000 --- a/tests/compiler/input_files/program_input/mod.rs +++ /dev/null @@ -1,125 +0,0 @@ -// Copyright (C) 2019-2021 Aleo Systems Inc. -// This file is part of the Leo library. - -// The Leo library is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. - -// The Leo library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License -// along with the Leo library. If not, see . - -use crate::{assert_satisfied, expect_compiler_error, parse_program_with_input, EdwardsTestCompiler}; -use leo_compiler::errors::CompilerError; - -fn expect_fail(program: EdwardsTestCompiler) { - match expect_compiler_error(program) { - CompilerError::FunctionError(_) => {} - err => panic!("expected input parser error, got {:?}", err), - } -} - -#[test] -fn test_input_pass() { - let program_string = include_str!("main.leo"); - let input_string = include_str!("input/main.in"); - - let program = parse_program_with_input(program_string, input_string).unwrap(); - - assert_satisfied(program); -} - -#[test] -fn test_input_array_fail() { - let program_string = include_str!("main_array.leo"); - let input_string = include_str!("input/main_array.in"); - - let program = parse_program_with_input(program_string, input_string).unwrap(); - - assert_satisfied(program); -} - -#[test] -fn test_input_multi_dimension_array() { - let program_string = include_str!("main_multi_dimension_array.leo"); - let input_string = include_str!("input/main_multi_dimension_array.in"); - - let program = parse_program_with_input(program_string, input_string).unwrap(); - - assert_satisfied(program); -} - -#[test] -fn test_input_fail_name() { - let program_string = include_str!("main.leo"); - let input_string = include_str!("input/main_fail_name.in"); - - let program = parse_program_with_input(program_string, input_string).unwrap(); - - expect_fail(program); -} - -#[test] -fn test_input_fail_type() { - let program_string = include_str!("main.leo"); - let input_string = include_str!("input/main_fail_type.in"); - - let program = parse_program_with_input(program_string, input_string).unwrap(); - - expect_fail(program); -} - -#[test] -fn test_input_multiple() { - let program_string = include_str!("main_multiple.leo"); - let input_string = include_str!("input/main_multiple.in"); - - let program = parse_program_with_input(program_string, input_string).unwrap(); - - assert_satisfied(program); -} - -#[test] -fn test_input_array_dimensions_mismatch() { - let program_string = include_str!("main_array_fail.leo"); - let input_string = include_str!("input/main_array_fail.in"); - - let program = parse_program_with_input(program_string, input_string).unwrap(); - - expect_fail(program); -} - -#[test] -fn test_tuple_size_mismatch() { - let program_string = include_str!("main_tuple_fail.leo"); - let input_string = include_str!("input/main_tuple_fail.in"); - - let program = parse_program_with_input(program_string, input_string).unwrap(); - - expect_fail(program); -} - -#[test] -fn test_field_input() { - let program_string = include_str!("main_field.leo"); - let input_string = include_str!("input/main_field.in"); - - let program = parse_program_with_input(program_string, input_string).unwrap(); - - assert_satisfied(program); -} - -#[test] -fn test_group_input() { - let program_string = include_str!("main_group.leo"); - let input_string = include_str!("input/main_group.in"); - - let program = parse_program_with_input(program_string, input_string).unwrap(); - - assert_satisfied(program); -} diff --git a/tests/compiler/input_files/program_input_and_program_state/access.leo b/tests/compiler/input_files/program_input_and_program_state/access.leo deleted file mode 100644 index 819f6c6c1e..0000000000 --- a/tests/compiler/input_files/program_input_and_program_state/access.leo +++ /dev/null @@ -1,11 +0,0 @@ -function main(data: [u8; 32]) { - console.assert(input.registers.value_balance == 0u64); - - console.assert(input.state.leaf_index == 0u32); - - console.assert(input.record.value == 5u64); - - console.assert(input.state_leaf.network_id == 0u8); - - console.assert(data == [0u8; 32]); -} \ No newline at end of file diff --git a/tests/compiler/input_files/program_input_and_program_state/basic.leo b/tests/compiler/input_files/program_input_and_program_state/basic.leo new file mode 100644 index 0000000000..a2c57486eb --- /dev/null +++ b/tests/compiler/input_files/program_input_and_program_state/basic.leo @@ -0,0 +1,10 @@ +/* +namespace: Compile +expectation: Pass +state_file: input/basic.state +input_file: input/basic.in +*/ + +function main(a: bool) -> bool { + return a == input.registers.b; +} diff --git a/tests/compiler/input_files/program_input_and_program_state/input/basic.in b/tests/compiler/input_files/program_input_and_program_state/input/basic.in index b62eee0443..18a27f2ea4 100644 --- a/tests/compiler/input_files/program_input_and_program_state/input/basic.in +++ b/tests/compiler/input_files/program_input_and_program_state/input/basic.in @@ -2,4 +2,4 @@ a: bool = true; [registers] -b: bool = true; \ No newline at end of file +b: bool = true; diff --git a/tests/compiler/input_files/program_input_and_program_state/input/basic.state b/tests/compiler/input_files/program_input_and_program_state/input/basic.state index 78706190fe..6482a905c8 100644 --- a/tests/compiler/input_files/program_input_and_program_state/input/basic.state +++ b/tests/compiler/input_files/program_input_and_program_state/input/basic.state @@ -9,4 +9,4 @@ a: bool = true; a: bool = true; [state_leaf] -a: bool = true; \ No newline at end of file +a: bool = true; diff --git a/tests/compiler/input_files/program_input_and_program_state/input/token_withdraw.in b/tests/compiler/input_files/program_input_and_program_state/input/token_withdraw.in index 0d4ece3b1c..498c587ec9 100644 --- a/tests/compiler/input_files/program_input_and_program_state/input/token_withdraw.in +++ b/tests/compiler/input_files/program_input_and_program_state/input/token_withdraw.in @@ -2,5 +2,6 @@ data: [u8; 32] = [0u8; 32]; [registers] +r0: bool = true; token_id: [u8; 32] = [0u8; 32]; -value_balance: u64 = 0; \ No newline at end of file +value_balance: u64 = 0; diff --git a/tests/compiler/input_files/program_input_and_program_state/input/token_withdraw.state b/tests/compiler/input_files/program_input_and_program_state/input/token_withdraw.state index 219fc44776..71f115d4d9 100644 --- a/tests/compiler/input_files/program_input_and_program_state/input/token_withdraw.state +++ b/tests/compiler/input_files/program_input_and_program_state/input/token_withdraw.state @@ -21,4 +21,4 @@ commitment_randomness: [u8; 32] = [0u8; 32]; path: [u8; 128] = [0u8; 128]; memo: [u8; 32] = [0u8; 32]; network_id: u8 = 0; -leaf_randomness: [u8; 32] = [0u8; 32]; \ No newline at end of file +leaf_randomness: [u8; 32] = [0u8; 32]; diff --git a/tests/compiler/input_files/program_input_and_program_state/mod.rs b/tests/compiler/input_files/program_input_and_program_state/mod.rs deleted file mode 100644 index 25541030ab..0000000000 --- a/tests/compiler/input_files/program_input_and_program_state/mod.rs +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright (C) 2019-2021 Aleo Systems Inc. -// This file is part of the Leo library. - -// The Leo library is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. - -// The Leo library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License -// along with the Leo library. If not, see . - -use crate::{assert_satisfied, parse_input_and_state, parse_program_with_input_and_state}; - -#[test] -fn test_basic() { - let input_string = include_str!("input/basic.in"); - let state_string = include_str!("input/basic.state"); - - parse_input_and_state(input_string, state_string).unwrap(); -} - -#[test] -fn test_full() { - let input_string = include_str!("input/token_withdraw.in"); - let state_string = include_str!("input/token_withdraw.state"); - - parse_input_and_state(input_string, state_string).unwrap(); -} - -#[test] -fn test_access() { - let program_string = include_str!("access.leo"); - let input_string = include_str!("input/token_withdraw.in"); - let state_string = include_str!("input/token_withdraw.state"); - - let program = parse_program_with_input_and_state(program_string, input_string, state_string).unwrap(); - - assert_satisfied(program); -} diff --git a/tests/compiler/input_files/program_input_and_program_state/token_withdraw.leo b/tests/compiler/input_files/program_input_and_program_state/token_withdraw.leo new file mode 100644 index 0000000000..6374554308 --- /dev/null +++ b/tests/compiler/input_files/program_input_and_program_state/token_withdraw.leo @@ -0,0 +1,14 @@ +/* +namespace: Compile +expectation: Pass +state_file: input/token_withdraw.state +input_file: input/token_withdraw.in +*/ + +function main(data: [u8; 32]) -> bool { + return input.registers.value_balance == 0u64 + && input.state.leaf_index == 0u32 + && input.record.value == 5u64 + && input.state_leaf.network_id == 0u8 + && data == [0u8; 32]; +} diff --git a/tests/compiler/input_files/program_input_constants/input/main.in b/tests/compiler/input_files/program_input_constants/input/main.in index 625ffc1ffb..ba6c1850b3 100644 --- a/tests/compiler/input_files/program_input_constants/input/main.in +++ b/tests/compiler/input_files/program_input_constants/input/main.in @@ -1,2 +1,5 @@ [constants] -a: bool = true; \ No newline at end of file +a: bool = true; + +[registers] +r0: bool = true; diff --git a/tests/compiler/input_files/program_input_constants/input/main_array_fail.in b/tests/compiler/input_files/program_input_constants/input/main_array_fail.in index e63331af22..3fe6502e8f 100644 --- a/tests/compiler/input_files/program_input_constants/input/main_array_fail.in +++ b/tests/compiler/input_files/program_input_constants/input/main_array_fail.in @@ -1,2 +1,2 @@ [constants] -x: [i16; 1] = [0i16; 1]; \ No newline at end of file +x: [i16; 1] = [0i16; 1]; diff --git a/tests/compiler/input_files/program_input_constants/input/main_double_declaration_fail.in b/tests/compiler/input_files/program_input_constants/input/main_double_declaration_fail.in deleted file mode 100644 index fcc95402a3..0000000000 --- a/tests/compiler/input_files/program_input_constants/input/main_double_declaration_fail.in +++ /dev/null @@ -1,5 +0,0 @@ -[main] -a: bool = true; - -[constants] -a: bool = false; \ No newline at end of file diff --git a/tests/compiler/input_files/program_input_constants/input/main_fail_name.in b/tests/compiler/input_files/program_input_constants/input/main_fail_name.in index 0cae21cc28..5c7bcd0957 100644 --- a/tests/compiler/input_files/program_input_constants/input/main_fail_name.in +++ b/tests/compiler/input_files/program_input_constants/input/main_fail_name.in @@ -1,2 +1,2 @@ [constants] -bad_name: bool = true; \ No newline at end of file +bad_name: bool = true; diff --git a/tests/compiler/input_files/program_input_constants/input/main_fail_type.in b/tests/compiler/input_files/program_input_constants/input/main_fail_type.in index 0bb8f694fd..8ea9b7fbf5 100644 --- a/tests/compiler/input_files/program_input_constants/input/main_fail_type.in +++ b/tests/compiler/input_files/program_input_constants/input/main_fail_type.in @@ -1,2 +1,2 @@ [constants] -a: u8 = 1; \ No newline at end of file +a: u8 = 1; diff --git a/tests/compiler/input_files/program_input_constants/input/main_field.in b/tests/compiler/input_files/program_input_constants/input/main_field.in index deea2a01a3..cc7b62e237 100644 --- a/tests/compiler/input_files/program_input_constants/input/main_field.in +++ b/tests/compiler/input_files/program_input_constants/input/main_field.in @@ -1,3 +1,3 @@ [constants] a: field = 1; -b: field = -1; \ No newline at end of file +b: field = -1; diff --git a/tests/compiler/input_files/program_input_constants/input/main_group.in b/tests/compiler/input_files/program_input_constants/input/main_group.in index 52e52dc6a8..51b14d842a 100644 --- a/tests/compiler/input_files/program_input_constants/input/main_group.in +++ b/tests/compiler/input_files/program_input_constants/input/main_group.in @@ -1,4 +1,4 @@ [constants] a: group = 1group; b: group = -1group; -c: group = (0, -1)group; \ No newline at end of file +c: group = (0, -1)group; diff --git a/tests/compiler/input_files/program_input_constants/input/main_multi_dimension_array.in b/tests/compiler/input_files/program_input_constants/input/main_multi_dimension_array.in index 0d052ae99b..70a12110fd 100644 --- a/tests/compiler/input_files/program_input_constants/input/main_multi_dimension_array.in +++ b/tests/compiler/input_files/program_input_constants/input/main_multi_dimension_array.in @@ -1,2 +1,5 @@ [constants] -x: [i16; (2, 2, 3)] = [0i16; (2, 2, 3)]; \ No newline at end of file +x: [i16; (2, 2, 3)] = [0i16; (2, 2, 3)]; + +[registers] +r0: bool = true; diff --git a/tests/compiler/input_files/program_input_constants/input/main_multiple.in b/tests/compiler/input_files/program_input_constants/input/main_multiple.in index 3e61056b7b..70d7afa103 100644 --- a/tests/compiler/input_files/program_input_constants/input/main_multiple.in +++ b/tests/compiler/input_files/program_input_constants/input/main_multiple.in @@ -1,3 +1,6 @@ [constants] a: bool = true; b: bool = false; + +[registers] +r0: bool = true; diff --git a/tests/compiler/input_files/program_input_constants/input/main_not_const_input_fail.in b/tests/compiler/input_files/program_input_constants/input/main_not_const_input_fail.in deleted file mode 100644 index b2aaee854e..0000000000 --- a/tests/compiler/input_files/program_input_constants/input/main_not_const_input_fail.in +++ /dev/null @@ -1,2 +0,0 @@ -[main] -a: bool = true; // expecting const a, not main a \ No newline at end of file diff --git a/tests/compiler/input_files/program_input_constants/input/main_tuple.in b/tests/compiler/input_files/program_input_constants/input/main_tuple.in new file mode 100644 index 0000000000..b6c685dd93 --- /dev/null +++ b/tests/compiler/input_files/program_input_constants/input/main_tuple.in @@ -0,0 +1,5 @@ +[constants] +x: (u8, bool, u8) = (10, true, 10); + +[registers] +r0: bool = true; diff --git a/tests/compiler/input_files/program_input_constants/input/main_tuple_fail.in b/tests/compiler/input_files/program_input_constants/input/main_tuple_fail.in index 4341911fba..0c1cad5312 100644 --- a/tests/compiler/input_files/program_input_constants/input/main_tuple_fail.in +++ b/tests/compiler/input_files/program_input_constants/input/main_tuple_fail.in @@ -1,2 +1,2 @@ [constants] -x: (u8, bool) = (10, true); // wrong size here; main expects (u8, bool, u8) \ No newline at end of file +x: (u8, bool) = (10, true); // wrong size here; main expects (u8, bool, u8) diff --git a/tests/compiler/input_files/program_input_constants/input/main_type_mismatch.in b/tests/compiler/input_files/program_input_constants/input/main_type_mismatch.in deleted file mode 100644 index d50f65428d..0000000000 --- a/tests/compiler/input_files/program_input_constants/input/main_type_mismatch.in +++ /dev/null @@ -1,2 +0,0 @@ -[constants] -a: u8 = 10; \ No newline at end of file diff --git a/tests/compiler/input_files/program_input_constants/main.leo b/tests/compiler/input_files/program_input_constants/main.leo index 0c33516ba8..c8edc4a9ca 100644 --- a/tests/compiler/input_files/program_input_constants/main.leo +++ b/tests/compiler/input_files/program_input_constants/main.leo @@ -1,3 +1,9 @@ -function main(const a: bool) { - console.assert(a == true); -} \ No newline at end of file +/* +namespace: Compile +expectation: Pass +input_file: ../program_input_constants/input/main.in +*/ + +function main(const a: bool) -> bool { + return a == true; +} diff --git a/tests/compiler/input_files/program_input_constants/main_array.leo b/tests/compiler/input_files/program_input_constants/main_array.leo index aa592183da..b00d7b942c 100644 --- a/tests/compiler/input_files/program_input_constants/main_array.leo +++ b/tests/compiler/input_files/program_input_constants/main_array.leo @@ -1,4 +1,10 @@ -function main (const x: [i16; 1]) { +/* +namespace: Compile +expectation: Pass +input_file: input/main_array.in +*/ + +function main(const x: [i16; 1]) { console.log("{}", x); console.assert(x[0] == 0); -} \ No newline at end of file +} diff --git a/tests/compiler/input_files/program_input_constants/main_array_fail.leo b/tests/compiler/input_files/program_input_constants/main_array_fail.leo index 6e7656f9b9..ccf9fab94d 100644 --- a/tests/compiler/input_files/program_input_constants/main_array_fail.leo +++ b/tests/compiler/input_files/program_input_constants/main_array_fail.leo @@ -1,3 +1,9 @@ -function main(const x: [i16; 2]){ - console.log("x: {}", x); -} \ No newline at end of file +/* +namespace: Compile +expectation: Fail +input_file: input/main_array_fail.in +*/ + +function main(const x: [i16; 2]) { + console.log("x: {}", x); +} diff --git a/tests/compiler/input_files/program_input_constants/main_field.leo b/tests/compiler/input_files/program_input_constants/main_field.leo index 60fc67fc74..915ff04e63 100644 --- a/tests/compiler/input_files/program_input_constants/main_field.leo +++ b/tests/compiler/input_files/program_input_constants/main_field.leo @@ -1,5 +1,11 @@ +/* +namespace: Compile +expectation: Pass +input_file: input/main_field.in +*/ + function main(const a: field, const b: field) { // Change to assert when == is implemented for field. console.log("a: {}", a); console.log("b: {}", b); -} \ No newline at end of file +} diff --git a/tests/compiler/input_files/program_input_constants/main_group.leo b/tests/compiler/input_files/program_input_constants/main_group.leo index 93accf710d..a1a4359304 100644 --- a/tests/compiler/input_files/program_input_constants/main_group.leo +++ b/tests/compiler/input_files/program_input_constants/main_group.leo @@ -1,6 +1,12 @@ +/* +namespace: Compile +expectation: Pass +input_file: input/main_group.in +*/ + function main(const a: group, const b: group, const c: group) { // Change to assert when == is implemented for group. console.log("a: {}", a); console.log("b: {}", b); console.log("c: {}", c); -} \ No newline at end of file +} diff --git a/tests/compiler/input_files/program_input_constants/main_multi_dimension_array.leo b/tests/compiler/input_files/program_input_constants/main_multi_dimension_array.leo index 56a1b3c7cf..0719646360 100644 --- a/tests/compiler/input_files/program_input_constants/main_multi_dimension_array.leo +++ b/tests/compiler/input_files/program_input_constants/main_multi_dimension_array.leo @@ -1,9 +1,14 @@ -function main(const x: [i16; (2, 2, 3)]){ - console.log("x: {}", x); +/* +namespace: Compile +expectation: Pass +input_file: input/main_multi_dimension_array.in +*/ - let y: [i16; (2, 2, 3)] = [0i16; (2, 2, 3)]; - console.log("y: {}", y); +function main(const x: [i16; (2, 2, 3)]) -> bool { + console.log("x: {}", x); - console.assert(x[0][0][0] == y[0][0][0]); - console.assert(x[1][1][2] == y[1][1][2]); -} \ No newline at end of file + const y: [i16; (2, 2, 3)] = [0i16; (2, 2, 3)]; + console.log("y: {}", y); + + return x[0][0][0] == y[0][0][0] && x[1][1][2] == y[1][1][2]; +} diff --git a/tests/compiler/input_files/program_input_constants/main_multiple.leo b/tests/compiler/input_files/program_input_constants/main_multiple.leo index 2c2179cc3d..e84853577e 100644 --- a/tests/compiler/input_files/program_input_constants/main_multiple.leo +++ b/tests/compiler/input_files/program_input_constants/main_multiple.leo @@ -1,4 +1,9 @@ -function main(const a: bool, const b: bool) { - console.assert(a == true); - console.assert(b == false); -} \ No newline at end of file +/* +namespace: Compile +expectation: Pass +input_file: input/main_multiple.in +*/ + +function main(const a: bool, const b: bool) -> bool { + return a != b; +} diff --git a/tests/compiler/input_files/program_input_constants/main_tuple.leo b/tests/compiler/input_files/program_input_constants/main_tuple.leo new file mode 100644 index 0000000000..1a20e38890 --- /dev/null +++ b/tests/compiler/input_files/program_input_constants/main_tuple.leo @@ -0,0 +1,9 @@ +/* +namespace: Compile +expectation: Pass +input_file: input/main_tuple.in +*/ + +function main(const x: (u8, bool, u8)) -> bool { + return x.0 == 10 && x.1 == true && x.2 == 10; +} diff --git a/tests/compiler/input_files/program_input_constants/main_tuple_fail.leo b/tests/compiler/input_files/program_input_constants/main_tuple_fail.leo index 639ec42835..08e9b93d1c 100644 --- a/tests/compiler/input_files/program_input_constants/main_tuple_fail.leo +++ b/tests/compiler/input_files/program_input_constants/main_tuple_fail.leo @@ -1,3 +1,9 @@ +/* +namespace: Compile +expectation: Fail +input_file: input/main_tuple_fail.in +*/ + function main(const x: (u8, bool, u8)) { console.log("x: {}", x); -} \ No newline at end of file +} diff --git a/tests/compiler/input_files/program_input_constants/mod.rs b/tests/compiler/input_files/program_input_constants/mod.rs deleted file mode 100644 index 284aef6312..0000000000 --- a/tests/compiler/input_files/program_input_constants/mod.rs +++ /dev/null @@ -1,145 +0,0 @@ -// Copyright (C) 2019-2021 Aleo Systems Inc. -// This file is part of the Leo library. - -// The Leo library is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. - -// The Leo library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License -// along with the Leo library. If not, see . - -use crate::{assert_satisfied, expect_compiler_error, parse_program_with_input, EdwardsTestCompiler}; -use leo_compiler::errors::CompilerError; - -fn expect_fail(program: EdwardsTestCompiler) { - match expect_compiler_error(program) { - CompilerError::FunctionError(_) => {} - err => panic!("expected input parser error, got {:?}", err), - } -} - -#[test] -fn test_input_pass() { - let program_string = include_str!("main.leo"); - let input_string = include_str!("input/main.in"); - - let program = parse_program_with_input(program_string, input_string).unwrap(); - - assert_satisfied(program); -} - -#[test] -fn test_input_array_fail() { - let program_string = include_str!("main_array.leo"); - let input_string = include_str!("input/main_array.in"); - - let program = parse_program_with_input(program_string, input_string).unwrap(); - - assert_satisfied(program); -} - -#[test] -fn test_input_multi_dimension_array() { - let program_string = include_str!("main_multi_dimension_array.leo"); - let input_string = include_str!("input/main_multi_dimension_array.in"); - - let program = parse_program_with_input(program_string, input_string).unwrap(); - - assert_satisfied(program); -} - -#[test] -fn test_input_fail_name() { - let program_string = include_str!("main.leo"); - let input_string = include_str!("input/main_fail_name.in"); - - let program = parse_program_with_input(program_string, input_string).unwrap(); - - expect_fail(program); -} - -#[test] -fn test_input_fail_type() { - let program_string = include_str!("main.leo"); - let input_string = include_str!("input/main_fail_type.in"); - - let program = parse_program_with_input(program_string, input_string).unwrap(); - - expect_fail(program); -} - -#[test] -fn test_input_multiple() { - let program_string = include_str!("main_multiple.leo"); - let input_string = include_str!("input/main_multiple.in"); - - let program = parse_program_with_input(program_string, input_string).unwrap(); - - assert_satisfied(program); -} - -#[test] -fn test_input_array_dimensions_mismatch() { - let program_string = include_str!("main_array_fail.leo"); - let input_string = include_str!("input/main_array_fail.in"); - - let program = parse_program_with_input(program_string, input_string).unwrap(); - - expect_fail(program); -} - -#[test] -fn test_input_double_declaration() { - let program_string = include_str!("main.leo"); - let input_string = include_str!("input/main_double_declaration_fail.in"); - - let program = parse_program_with_input(program_string, input_string).unwrap(); - - expect_fail(program); -} - -#[test] -fn test_non_constant_input() { - let program_string = include_str!("main.leo"); - let input_string = include_str!("input/main_not_const_input_fail.in"); - - let program = parse_program_with_input(program_string, input_string).unwrap(); - - expect_fail(program); -} - -#[test] -fn test_tuple_size_mismatch() { - let program_string = include_str!("main_tuple_fail.leo"); - let input_string = include_str!("input/main_tuple_fail.in"); - - let program = parse_program_with_input(program_string, input_string).unwrap(); - - expect_fail(program); -} - -#[test] -fn test_field_input() { - let program_string = include_str!("main_field.leo"); - let input_string = include_str!("input/main_field.in"); - - let program = parse_program_with_input(program_string, input_string).unwrap(); - - assert_satisfied(program); -} - -#[test] -fn test_group_input() { - let program_string = include_str!("main_group.leo"); - let input_string = include_str!("input/main_group.in"); - - let program = parse_program_with_input(program_string, input_string).unwrap(); - - assert_satisfied(program); -} diff --git a/tests/expectations/compiler/compiler/input_files/program_input/main.leo.out b/tests/expectations/compiler/compiler/input_files/program_input/main.leo.out new file mode 100644 index 0000000000..d78efc7c73 --- /dev/null +++ b/tests/expectations/compiler/compiler/input_files/program_input/main.leo.out @@ -0,0 +1,18 @@ +--- +namespace: Compile +expectation: Pass +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 1 + num_constraints: 1 + at: 042610d0fd1fe6d6ac112138f8755752f44c7d2a00f1b5960574d6da5cda393f + bt: e97756698880ab7555a959a5fb5c6b4e15bd64612aa677adbfe2d0bd91f0a83c + ct: cf1cbb66a638b4860a516671fb74850e6ccf787fe6c4c8d29e9c04efe880bd05 + output: + - input_file: input/main.in + output: + registers: + r0: + type: bool + value: "true" diff --git a/tests/expectations/compiler/compiler/input_files/program_input/main_array.leo.out b/tests/expectations/compiler/compiler/input_files/program_input/main_array.leo.out new file mode 100644 index 0000000000..9ef270002c --- /dev/null +++ b/tests/expectations/compiler/compiler/input_files/program_input/main_array.leo.out @@ -0,0 +1,15 @@ +--- +namespace: Compile +expectation: Pass +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 31 + num_constraints: 31 + at: 9dbf37472d7a01111bf49d73870895e1669fce2d7c86d19fa1cd9bf97102c34a + bt: 51c5020146972aaa76ab053686ae5364f63ce6185620eba3780cf86581f29cfe + ct: e02be0defc1d4e9bfd935093780a8693b624228f7dc2501ac1f065af2eee9bc8 + output: + - input_file: input/main_array.in + output: + registers: {} diff --git a/tests/expectations/compiler/compiler/input_files/program_input/main_array_fail.leo.out b/tests/expectations/compiler/compiler/input_files/program_input/main_array_fail.leo.out new file mode 100644 index 0000000000..041ef90457 --- /dev/null +++ b/tests/expectations/compiler/compiler/input_files/program_input/main_array_fail.leo.out @@ -0,0 +1,5 @@ +--- +namespace: Compile +expectation: Fail +outputs: + - " --> /test/src/main.leo:3:1\n |\n 3 | function main(x: [i16; 2]) {\n 4 | ...\n 5 | }\n | ^\n |\n = Input array dimensions mismatch expected 1, found array dimensions 2" diff --git a/tests/expectations/compiler/compiler/input_files/program_input/main_field.leo.out b/tests/expectations/compiler/compiler/input_files/program_input/main_field.leo.out new file mode 100644 index 0000000000..d7a82496b8 --- /dev/null +++ b/tests/expectations/compiler/compiler/input_files/program_input/main_field.leo.out @@ -0,0 +1,15 @@ +--- +namespace: Compile +expectation: Pass +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 2 + num_constraints: 0 + at: 4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945 + bt: 4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945 + ct: 4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945 + output: + - input_file: input/main_field.in + output: + registers: {} diff --git a/tests/expectations/compiler/compiler/input_files/program_input/main_group.leo.out b/tests/expectations/compiler/compiler/input_files/program_input/main_group.leo.out new file mode 100644 index 0000000000..cb46b9203e --- /dev/null +++ b/tests/expectations/compiler/compiler/input_files/program_input/main_group.leo.out @@ -0,0 +1,15 @@ +--- +namespace: Compile +expectation: Pass +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 12 + num_constraints: 9 + at: df88b362955f00b8c41afd9e31c9e41e4b8254a71ea0f3f2f97d5b6b8b767415 + bt: df58aff07b131c34e977ffb5657bbd21852f59fd7e059117c419c3c6070a7053 + ct: 335cdfb09b13172262042abccf4560511666deaa63cc1b3f30dd35dcb554840f + output: + - input_file: input/main_group.in + output: + registers: {} diff --git a/tests/expectations/compiler/compiler/input_files/program_input/main_multi_dimension_array.leo.out b/tests/expectations/compiler/compiler/input_files/program_input/main_multi_dimension_array.leo.out new file mode 100644 index 0000000000..b7dec511c8 --- /dev/null +++ b/tests/expectations/compiler/compiler/input_files/program_input/main_multi_dimension_array.leo.out @@ -0,0 +1,18 @@ +--- +namespace: Compile +expectation: Pass +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 223 + num_constraints: 223 + at: 87fe022f8971e90450cc219824d04ea84f08040429143393193aa2de0321759f + bt: 65e18f4e1e32d72f87d238401f8397b5d8ba20e7da7d50cc5930faa5673cdb77 + ct: 389354117abccc4ef9f4822705889f64f1d16b7e0d2adae52005c7b91b0ccabb + output: + - input_file: input/main_multi_dimension_array.in + output: + registers: + r0: + type: bool + value: "true" diff --git a/tests/expectations/compiler/compiler/input_files/program_input/main_multiple.leo.out b/tests/expectations/compiler/compiler/input_files/program_input/main_multiple.leo.out new file mode 100644 index 0000000000..cfe64b65b2 --- /dev/null +++ b/tests/expectations/compiler/compiler/input_files/program_input/main_multiple.leo.out @@ -0,0 +1,18 @@ +--- +namespace: Compile +expectation: Pass +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 3 + num_constraints: 3 + at: d4e77c2cd10c964fbbc4ad4f374dc36b3a6bc7d6865b87ec5234076348308c2c + bt: 49e8fa1fd3f85b0f486c49f194e4fff3da5e8039685fca1f3327389cbe9fc180 + ct: 7ca43d5c34997f3c866631161cb33186cc016972238c07771ae105ca1b05320d + output: + - input_file: input/main_multiple.in + output: + registers: + r0: + type: bool + value: "true" diff --git a/tests/expectations/compiler/compiler/input_files/program_input/main_tuple.leo.out b/tests/expectations/compiler/compiler/input_files/program_input/main_tuple.leo.out new file mode 100644 index 0000000000..9326008186 --- /dev/null +++ b/tests/expectations/compiler/compiler/input_files/program_input/main_tuple.leo.out @@ -0,0 +1,18 @@ +--- +namespace: Compile +expectation: Pass +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 33 + num_constraints: 33 + at: 16cd2aaf51f97f0d967f934facd55d3da0f128b5548ca7d9033099dabb8755aa + bt: 13ce6219d223223b0e2a5b8bab43bda704fb2509e20143c1c8dc28238c65a0c3 + ct: 1a2cc6ebebf9b0d70351fb54db6ab269bfec125b7d84dea8450ee1566d937a38 + output: + - input_file: input/main_tuple.in + output: + registers: + r0: + type: bool + value: "true" diff --git a/tests/expectations/compiler/compiler/input_files/program_input/main_tuple_fail.leo.out b/tests/expectations/compiler/compiler/input_files/program_input/main_tuple_fail.leo.out new file mode 100644 index 0000000000..c7b025f3b1 --- /dev/null +++ b/tests/expectations/compiler/compiler/input_files/program_input/main_tuple_fail.leo.out @@ -0,0 +1,5 @@ +--- +namespace: Compile +expectation: Fail +outputs: + - " --> /test/src/main.leo:3:1\n |\n 3 | function main(x: (u8, bool, u8)) {\n 4 | ...\n 5 | }\n | ^\n |\n = Input tuple size mismatch expected 3, found tuple with length 2" diff --git a/tests/expectations/compiler/compiler/input_files/program_input_and_program_state/basic.leo.out b/tests/expectations/compiler/compiler/input_files/program_input_and_program_state/basic.leo.out new file mode 100644 index 0000000000..77912f4fdb --- /dev/null +++ b/tests/expectations/compiler/compiler/input_files/program_input_and_program_state/basic.leo.out @@ -0,0 +1,18 @@ +--- +namespace: Compile +expectation: Pass +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 3 + num_constraints: 3 + at: c5f99f3b350445cd2709c7f76cda7a2ff158e972c58dc1294b346ab21b5c9100 + bt: 5a01b0726c5b948a3b336179b77081865f51dc2f1de630ce95b03424a5ae7998 + ct: 7ca43d5c34997f3c866631161cb33186cc016972238c07771ae105ca1b05320d + output: + - input_file: input/basic.in + output: + registers: + b: + type: bool + value: "true" diff --git a/tests/expectations/compiler/compiler/input_files/program_input_and_program_state/token_withdraw.leo.out b/tests/expectations/compiler/compiler/input_files/program_input_and_program_state/token_withdraw.leo.out new file mode 100644 index 0000000000..187b24114a --- /dev/null +++ b/tests/expectations/compiler/compiler/input_files/program_input_and_program_state/token_withdraw.leo.out @@ -0,0 +1,18 @@ +--- +namespace: Compile +expectation: Pass +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 847 + num_constraints: 847 + at: 7a173ccf91016726958e205fb7a60e954c826a7d8f3dbfba86417c4dad8a8809 + bt: ef390629424c3ec765f6759eba6be4285e92bbb34e1fdb083ea723021fda1a83 + ct: 048882f78f795732711ba34cb6892495a782c2573a1358a9c679b97fa5ea5fe7 + output: + - input_file: input/token_withdraw.in + output: + registers: + r0: + type: bool + value: "true" diff --git a/tests/expectations/compiler/compiler/input_files/program_input_constants/main.leo.out b/tests/expectations/compiler/compiler/input_files/program_input_constants/main.leo.out new file mode 100644 index 0000000000..2c44a3fa29 --- /dev/null +++ b/tests/expectations/compiler/compiler/input_files/program_input_constants/main.leo.out @@ -0,0 +1,18 @@ +--- +namespace: Compile +expectation: Pass +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 0 + num_constraints: 0 + at: 4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945 + bt: 4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945 + ct: 4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945 + output: + - input_file: "../program_input_constants/input/main.in" + output: + registers: + r0: + type: bool + value: "true" diff --git a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_array.leo.out b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_array.leo.out new file mode 100644 index 0000000000..ff0fd97799 --- /dev/null +++ b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_array.leo.out @@ -0,0 +1,15 @@ +--- +namespace: Compile +expectation: Pass +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 0 + num_constraints: 0 + at: 4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945 + bt: 4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945 + ct: 4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945 + output: + - input_file: input/main_array.in + output: + registers: {} diff --git a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_array_fail.leo.out b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_array_fail.leo.out new file mode 100644 index 0000000000..5088df2b5f --- /dev/null +++ b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_array_fail.leo.out @@ -0,0 +1,5 @@ +--- +namespace: Compile +expectation: Fail +outputs: + - " --> /test/src/main.leo:3:1\n |\n 3 | function main(const x: [i16; 2]) {\n 4 | ...\n 5 | }\n | ^\n |\n = Input array dimensions mismatch expected 2, found array dimensions 1" diff --git a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_field.leo.out b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_field.leo.out new file mode 100644 index 0000000000..213567a511 --- /dev/null +++ b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_field.leo.out @@ -0,0 +1,15 @@ +--- +namespace: Compile +expectation: Pass +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 0 + num_constraints: 0 + at: 4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945 + bt: 4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945 + ct: 4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945 + output: + - input_file: input/main_field.in + output: + registers: {} diff --git a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_group.leo.out b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_group.leo.out new file mode 100644 index 0000000000..fa74af2029 --- /dev/null +++ b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_group.leo.out @@ -0,0 +1,15 @@ +--- +namespace: Compile +expectation: Pass +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 0 + num_constraints: 0 + at: 4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945 + bt: 4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945 + ct: 4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945 + output: + - input_file: input/main_group.in + output: + registers: {} diff --git a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_multi_dimension_array.leo.out b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_multi_dimension_array.leo.out new file mode 100644 index 0000000000..214c553e6e --- /dev/null +++ b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_multi_dimension_array.leo.out @@ -0,0 +1,18 @@ +--- +namespace: Compile +expectation: Pass +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 0 + num_constraints: 0 + at: 4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945 + bt: 4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945 + ct: 4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945 + output: + - input_file: input/main_multi_dimension_array.in + output: + registers: + r0: + type: bool + value: "true" diff --git a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_multiple.leo.out b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_multiple.leo.out new file mode 100644 index 0000000000..37cef1b382 --- /dev/null +++ b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_multiple.leo.out @@ -0,0 +1,18 @@ +--- +namespace: Compile +expectation: Pass +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 0 + num_constraints: 0 + at: 4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945 + bt: 4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945 + ct: 4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945 + output: + - input_file: input/main_multiple.in + output: + registers: + r0: + type: bool + value: "true" diff --git a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_tuple.leo.out b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_tuple.leo.out new file mode 100644 index 0000000000..ce6ad15cdd --- /dev/null +++ b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_tuple.leo.out @@ -0,0 +1,18 @@ +--- +namespace: Compile +expectation: Pass +outputs: + - circuit: + num_public_variables: 0 + num_private_variables: 0 + num_constraints: 0 + at: 4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945 + bt: 4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945 + ct: 4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945 + output: + - input_file: input/main_tuple.in + output: + registers: + r0: + type: bool + value: "true" diff --git a/tests/expectations/compiler/compiler/input_files/program_input_constants/main_tuple_fail.leo.out b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_tuple_fail.leo.out new file mode 100644 index 0000000000..f1b289f53f --- /dev/null +++ b/tests/expectations/compiler/compiler/input_files/program_input_constants/main_tuple_fail.leo.out @@ -0,0 +1,5 @@ +--- +namespace: Compile +expectation: Fail +outputs: + - " --> /test/src/main.leo:3:1\n |\n 3 | function main(const x: (u8, bool, u8)) {\n 4 | ...\n 5 | }\n | ^\n |\n = Input tuple size mismatch expected 3, found tuple with length 2" diff --git a/tests/expectations/parser/parser/circuits/big_self.leo.out b/tests/expectations/parser/parser/circuits/big_self.leo.out deleted file mode 100644 index abdced08ca..0000000000 --- a/tests/expectations/parser/parser/circuits/big_self.leo.out +++ /dev/null @@ -1,53 +0,0 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - name: "" - expected_input: [] - imports: [] - circuits: - "{\"name\":\"X\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":9,\\\"col_stop\\\":10,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"circuit X {\\\"}\"}": - circuit_name: "{\"name\":\"X\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":9,\\\"col_stop\\\":10,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"circuit X {\\\"}\"}" - members: - - CircuitFunction: - annotations: [] - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":4,\\\"line_stop\\\":4,\\\"col_start\\\":14,\\\"col_stop\\\":15,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\" function x() -> Self {\\\"}\"}" - input: [] - output: SelfType - block: - statements: - - Return: - expression: - CircuitInit: - name: "{\"name\":\"Self\",\"span\":\"{\\\"line_start\\\":5,\\\"line_stop\\\":5,\\\"col_start\\\":16,\\\"col_stop\\\":20,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\" return Self {};\\\"}\"}" - members: [] - span: - line_start: 5 - line_stop: 5 - col_start: 16 - col_stop: 23 - path: test - content: " return Self {};" - span: - line_start: 5 - line_stop: 5 - col_start: 9 - col_stop: 23 - path: test - content: " return Self {};" - span: - line_start: 4 - line_stop: 6 - col_start: 26 - col_stop: 6 - path: test - content: " function x() -> Self {\n...\n }" - span: - line_start: 4 - line_stop: 6 - col_start: 5 - col_stop: 6 - path: test - content: " function x() -> Self {\n...\n }" - global_consts: {} - functions: {} diff --git a/tests/expectations/parser/parser/circuits/empty.leo.out b/tests/expectations/parser/parser/circuits/empty.leo.out deleted file mode 100644 index e826c4097d..0000000000 --- a/tests/expectations/parser/parser/circuits/empty.leo.out +++ /dev/null @@ -1,13 +0,0 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - name: "" - expected_input: [] - imports: [] - circuits: - "{\"name\":\"X\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":9,\\\"col_stop\\\":10,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"circuit X {\\\"}\"}": - circuit_name: "{\"name\":\"X\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":9,\\\"col_stop\\\":10,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"circuit X {\\\"}\"}" - members: [] - global_consts: {} - functions: {} diff --git a/tests/expectations/parser/parser/circuits/field_and_functions.leo.out b/tests/expectations/parser/parser/circuits/field_and_functions.leo.out deleted file mode 100644 index 039d525028..0000000000 --- a/tests/expectations/parser/parser/circuits/field_and_functions.leo.out +++ /dev/null @@ -1,97 +0,0 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - name: "" - expected_input: [] - imports: [] - circuits: - "{\"name\":\"X\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":9,\\\"col_stop\\\":10,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"circuit X {\\\"}\"}": - circuit_name: "{\"name\":\"X\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":9,\\\"col_stop\\\":10,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"circuit X {\\\"}\"}" - members: - - CircuitVariable: - - "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":4,\\\"line_stop\\\":4,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\" x: u32,\\\"}\"}" - - IntegerType: U32 - - CircuitVariable: - - "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":5,\\\"line_stop\\\":5,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\" y: u32,\\\"}\"}" - - IntegerType: U32 - - CircuitFunction: - annotations: [] - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":6,\\\"line_stop\\\":6,\\\"col_start\\\":14,\\\"col_stop\\\":15,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\" function x() {\\\"}\"}" - input: [] - output: ~ - block: - statements: - - Return: - expression: - TupleInit: - elements: [] - span: - line_start: 7 - line_stop: 7 - col_start: 16 - col_stop: 18 - path: test - content: " return ();" - span: - line_start: 7 - line_stop: 7 - col_start: 9 - col_stop: 18 - path: test - content: " return ();" - span: - line_start: 6 - line_stop: 8 - col_start: 18 - col_stop: 6 - path: test - content: " function x() {\n...\n }" - span: - line_start: 6 - line_stop: 8 - col_start: 5 - col_stop: 6 - path: test - content: " function x() {\n...\n }" - - CircuitFunction: - annotations: [] - identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":9,\\\"line_stop\\\":9,\\\"col_start\\\":14,\\\"col_stop\\\":15,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\" function y() {\\\"}\"}" - input: [] - output: ~ - block: - statements: - - Return: - expression: - TupleInit: - elements: [] - span: - line_start: 10 - line_stop: 10 - col_start: 16 - col_stop: 18 - path: test - content: " return ();" - span: - line_start: 10 - line_stop: 10 - col_start: 9 - col_stop: 18 - path: test - content: " return ();" - span: - line_start: 9 - line_stop: 11 - col_start: 18 - col_stop: 6 - path: test - content: " function y() {\n...\n }" - span: - line_start: 9 - line_stop: 11 - col_start: 5 - col_stop: 6 - path: test - content: " function y() {\n...\n }" - global_consts: {} - functions: {} diff --git a/tests/expectations/parser/parser/circuits/fields.leo.out b/tests/expectations/parser/parser/circuits/fields.leo.out deleted file mode 100644 index 851d2945c7..0000000000 --- a/tests/expectations/parser/parser/circuits/fields.leo.out +++ /dev/null @@ -1,19 +0,0 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - name: "" - expected_input: [] - imports: [] - circuits: - "{\"name\":\"X\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":9,\\\"col_stop\\\":10,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"circuit X {\\\"}\"}": - circuit_name: "{\"name\":\"X\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":9,\\\"col_stop\\\":10,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"circuit X {\\\"}\"}" - members: - - CircuitVariable: - - "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":4,\\\"line_stop\\\":4,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\" x: u32,\\\"}\"}" - - IntegerType: U32 - - CircuitVariable: - - "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":5,\\\"line_stop\\\":5,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\" y: u32,\\\"}\"}" - - IntegerType: U32 - global_consts: {} - functions: {} diff --git a/tests/expectations/parser/parser/circuits/functions.leo.out b/tests/expectations/parser/parser/circuits/functions.leo.out deleted file mode 100644 index aebda6c4e5..0000000000 --- a/tests/expectations/parser/parser/circuits/functions.leo.out +++ /dev/null @@ -1,91 +0,0 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - name: "" - expected_input: [] - imports: [] - circuits: - "{\"name\":\"X\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":9,\\\"col_stop\\\":10,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"circuit X {\\\"}\"}": - circuit_name: "{\"name\":\"X\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":9,\\\"col_stop\\\":10,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"circuit X {\\\"}\"}" - members: - - CircuitFunction: - annotations: [] - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":4,\\\"line_stop\\\":4,\\\"col_start\\\":14,\\\"col_stop\\\":15,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\" function x() {\\\"}\"}" - input: [] - output: ~ - block: - statements: - - Return: - expression: - TupleInit: - elements: [] - span: - line_start: 5 - line_stop: 5 - col_start: 16 - col_stop: 18 - path: test - content: " return ();" - span: - line_start: 5 - line_stop: 5 - col_start: 9 - col_stop: 18 - path: test - content: " return ();" - span: - line_start: 4 - line_stop: 6 - col_start: 18 - col_stop: 6 - path: test - content: " function x() {\n...\n }" - span: - line_start: 4 - line_stop: 6 - col_start: 5 - col_stop: 6 - path: test - content: " function x() {\n...\n }" - - CircuitFunction: - annotations: [] - identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":7,\\\"line_stop\\\":7,\\\"col_start\\\":14,\\\"col_stop\\\":15,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\" function y() {\\\"}\"}" - input: [] - output: ~ - block: - statements: - - Return: - expression: - TupleInit: - elements: [] - span: - line_start: 8 - line_stop: 8 - col_start: 16 - col_stop: 18 - path: test - content: " return ();" - span: - line_start: 8 - line_stop: 8 - col_start: 9 - col_stop: 18 - path: test - content: " return ();" - span: - line_start: 7 - line_stop: 9 - col_start: 18 - col_stop: 6 - path: test - content: " function y() {\n...\n }" - span: - line_start: 7 - line_stop: 9 - col_start: 5 - col_stop: 6 - path: test - content: " function y() {\n...\n }" - global_consts: {} - functions: {} diff --git a/tests/expectations/parser/parser/circuits/mut_self.leo.out b/tests/expectations/parser/parser/circuits/mut_self.leo.out deleted file mode 100644 index 03997801dc..0000000000 --- a/tests/expectations/parser/parser/circuits/mut_self.leo.out +++ /dev/null @@ -1,53 +0,0 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - name: "" - expected_input: [] - imports: [] - circuits: - "{\"name\":\"X\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":9,\\\"col_stop\\\":10,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"circuit X {\\\"}\"}": - circuit_name: "{\"name\":\"X\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":9,\\\"col_stop\\\":10,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"circuit X {\\\"}\"}" - members: - - CircuitFunction: - annotations: [] - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":4,\\\"line_stop\\\":4,\\\"col_start\\\":14,\\\"col_stop\\\":15,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\" function x(mut self) {\\\"}\"}" - input: - - MutSelfKeyword: "{\"name\":\"mut self\",\"span\":\"{\\\"line_start\\\":4,\\\"line_stop\\\":4,\\\"col_start\\\":16,\\\"col_stop\\\":24,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\" function x(mut self) {\\\"}\"}" - output: ~ - block: - statements: - - Return: - expression: - TupleInit: - elements: [] - span: - line_start: 5 - line_stop: 5 - col_start: 16 - col_stop: 18 - path: test - content: " return ();" - span: - line_start: 5 - line_stop: 5 - col_start: 9 - col_stop: 18 - path: test - content: " return ();" - span: - line_start: 4 - line_stop: 6 - col_start: 26 - col_stop: 6 - path: test - content: " function x(mut self) {\n...\n }" - span: - line_start: 4 - line_stop: 6 - col_start: 5 - col_stop: 6 - path: test - content: " function x(mut self) {\n...\n }" - global_consts: {} - functions: {} diff --git a/tests/expectations/parser/parser/circuits/self.leo.out b/tests/expectations/parser/parser/circuits/self.leo.out deleted file mode 100644 index 65785a36b6..0000000000 --- a/tests/expectations/parser/parser/circuits/self.leo.out +++ /dev/null @@ -1,53 +0,0 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - name: "" - expected_input: [] - imports: [] - circuits: - "{\"name\":\"X\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":9,\\\"col_stop\\\":10,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"circuit X {\\\"}\"}": - circuit_name: "{\"name\":\"X\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":9,\\\"col_stop\\\":10,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"circuit X {\\\"}\"}" - members: - - CircuitFunction: - annotations: [] - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":4,\\\"line_stop\\\":4,\\\"col_start\\\":14,\\\"col_stop\\\":15,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\" function x(self) {\\\"}\"}" - input: - - SelfKeyword: "{\"name\":\"self\",\"span\":\"{\\\"line_start\\\":4,\\\"line_stop\\\":4,\\\"col_start\\\":16,\\\"col_stop\\\":20,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\" function x(self) {\\\"}\"}" - output: ~ - block: - statements: - - Return: - expression: - TupleInit: - elements: [] - span: - line_start: 5 - line_stop: 5 - col_start: 16 - col_stop: 18 - path: test - content: " return ();" - span: - line_start: 5 - line_stop: 5 - col_start: 9 - col_stop: 18 - path: test - content: " return ();" - span: - line_start: 4 - line_stop: 6 - col_start: 22 - col_stop: 6 - path: test - content: " function x(self) {\n...\n }" - span: - line_start: 4 - line_stop: 6 - col_start: 5 - col_stop: 6 - path: test - content: " function x(self) {\n...\n }" - global_consts: {} - functions: {} diff --git a/tests/expectations/parser/parser/expression/access/array_access.leo.out b/tests/expectations/parser/parser/expression/access/array_access.leo.out deleted file mode 100644 index 5c820cc814..0000000000 --- a/tests/expectations/parser/parser/expression/access/array_access.leo.out +++ /dev/null @@ -1,267 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - ArrayAccess: - array: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[0]\\\"}\"}" - index: - Value: - Implicit: - - "0" - - line_start: 1 - line_stop: 1 - col_start: 3 - col_stop: 4 - path: test - content: "x[0]" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 5 - path: test - content: "x[0]" - - ArrayAccess: - array: - Identifier: "{\"name\":\"X\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"X[1]\\\"}\"}" - index: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 3 - col_stop: 4 - path: test - content: "X[1]" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 5 - path: test - content: "X[1]" - - ArrayAccess: - array: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[0u8]\\\"}\"}" - index: - Value: - Integer: - - U8 - - "0" - - line_start: 1 - line_stop: 1 - col_start: 3 - col_stop: 6 - path: test - content: "x[0u8]" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: "x[0u8]" - - ArrayAccess: - array: - ArrayAccess: - array: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[1u8][2u8]\\\"}\"}" - index: - Value: - Integer: - - U8 - - "1" - - line_start: 1 - line_stop: 1 - col_start: 3 - col_stop: 6 - path: test - content: "x[1u8][2u8]" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: "x[1u8][2u8]" - index: - Value: - Integer: - - U8 - - "2" - - line_start: 1 - line_stop: 1 - col_start: 8 - col_stop: 11 - path: test - content: "x[1u8][2u8]" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: "x[1u8][2u8]" - - ArrayAccess: - array: - ArrayAccess: - array: - ArrayAccess: - array: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[x][y][z]\\\"}\"}" - index: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":3,\\\"col_stop\\\":4,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[x][y][z]\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 5 - path: test - content: "x[x][y][z]" - index: - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":6,\\\"col_stop\\\":7,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[x][y][z]\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 8 - path: test - content: "x[x][y][z]" - index: - Identifier: "{\"name\":\"z\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":9,\\\"col_stop\\\":10,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[x][y][z]\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 11 - path: test - content: "x[x][y][z]" - - Call: - function: - ArrayAccess: - array: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[0]()\\\"}\"}" - index: - Value: - Implicit: - - "0" - - line_start: 1 - line_stop: 1 - col_start: 3 - col_stop: 4 - path: test - content: "x[0]()" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 5 - path: test - content: "x[0]()" - arguments: [] - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: "x[0]()" - - ArrayAccess: - array: - Call: - function: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x()[0]\\\"}\"}" - arguments: [] - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: "x()[0]" - index: - Value: - Implicit: - - "0" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: "x()[0]" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: "x()[0]" - - Call: - function: - CircuitStaticFunctionAccess: - circuit: - Call: - function: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x(y)::y(x)\\\"}\"}" - arguments: - - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":3,\\\"col_stop\\\":4,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x(y)::y(x)\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 5 - path: test - content: "x(y)::y(x)" - name: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":7,\\\"col_stop\\\":8,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x(y)::y(x)\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 8 - path: test - content: "x(y)::y(x)" - arguments: - - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":9,\\\"col_stop\\\":10,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x(y)::y(x)\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 11 - path: test - content: "x(y)::y(x)" - - ArrayAccess: - array: - TupleAccess: - tuple: - ArrayAccess: - array: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[x].0[x]\\\"}\"}" - index: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":3,\\\"col_stop\\\":4,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[x].0[x]\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 5 - path: test - content: "x[x].0[x]" - index: - value: "0" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: "x[x].0[x]" - index: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":8,\\\"col_stop\\\":9,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[x].0[x]\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "x[x].0[x]" diff --git a/tests/expectations/parser/parser/expression/access/array_range_access.leo.out b/tests/expectations/parser/parser/expression/access/array_range_access.leo.out deleted file mode 100644 index 10b02e133d..0000000000 --- a/tests/expectations/parser/parser/expression/access/array_range_access.leo.out +++ /dev/null @@ -1,401 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - ArrayRangeAccess: - array: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[..]\\\"}\"}" - left: ~ - right: ~ - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: "x[..]" - - ArrayRangeAccess: - array: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[1..]\\\"}\"}" - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 3 - col_stop: 4 - path: test - content: "x[1..]" - right: ~ - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: "x[1..]" - - ArrayRangeAccess: - array: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[..1]\\\"}\"}" - left: ~ - right: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: "x[..1]" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: "x[..1]" - - ArrayRangeAccess: - array: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[1..1]\\\"}\"}" - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 3 - col_stop: 4 - path: test - content: "x[1..1]" - right: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 7 - path: test - content: "x[1..1]" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 8 - path: test - content: "x[1..1]" - - ArrayRangeAccess: - array: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[0..100]\\\"}\"}" - left: - Value: - Implicit: - - "0" - - line_start: 1 - line_stop: 1 - col_start: 3 - col_stop: 4 - path: test - content: "x[0..100]" - right: - Value: - Implicit: - - "100" - - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 9 - path: test - content: "x[0..100]" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "x[0..100]" - - ArrayAccess: - array: - ArrayAccess: - array: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[323452345.2345234523453453][323452345.2345234523453453]\\\"}\"}" - index: - TupleAccess: - tuple: - Value: - Implicit: - - "323452345" - - line_start: 1 - line_stop: 1 - col_start: 3 - col_stop: 12 - path: test - content: "x[323452345.2345234523453453][323452345.2345234523453453]" - index: - value: "2345234523453453" - span: - line_start: 1 - line_stop: 1 - col_start: 3 - col_stop: 29 - path: test - content: "x[323452345.2345234523453453][323452345.2345234523453453]" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 30 - path: test - content: "x[323452345.2345234523453453][323452345.2345234523453453]" - index: - TupleAccess: - tuple: - Value: - Implicit: - - "323452345" - - line_start: 1 - line_stop: 1 - col_start: 31 - col_stop: 40 - path: test - content: "x[323452345.2345234523453453][323452345.2345234523453453]" - index: - value: "2345234523453453" - span: - line_start: 1 - line_stop: 1 - col_start: 31 - col_stop: 57 - path: test - content: "x[323452345.2345234523453453][323452345.2345234523453453]" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 58 - path: test - content: "x[323452345.2345234523453453][323452345.2345234523453453]" - - ArrayRangeAccess: - array: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[0u8..1u8]\\\"}\"}" - left: - Value: - Integer: - - U8 - - "0" - - line_start: 1 - line_stop: 1 - col_start: 3 - col_stop: 6 - path: test - content: "x[0u8..1u8]" - right: - Value: - Integer: - - U8 - - "1" - - line_start: 1 - line_stop: 1 - col_start: 8 - col_stop: 11 - path: test - content: "x[0u8..1u8]" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: "x[0u8..1u8]" - - ArrayRangeAccess: - array: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[0u8..]\\\"}\"}" - left: - Value: - Integer: - - U8 - - "0" - - line_start: 1 - line_stop: 1 - col_start: 3 - col_stop: 6 - path: test - content: "x[0u8..]" - right: ~ - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 9 - path: test - content: "x[0u8..]" - - ArrayRangeAccess: - array: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[..0u8]\\\"}\"}" - left: ~ - right: - Value: - Integer: - - U8 - - "0" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 8 - path: test - content: "x[..0u8]" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 9 - path: test - content: "x[..0u8]" - - ArrayRangeAccess: - array: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[..]\\\"}\"}" - left: ~ - right: ~ - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: "x[..]" - - ArrayRangeAccess: - array: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[x.y..]\\\"}\"}" - left: - CircuitMemberAccess: - circuit: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":3,\\\"col_stop\\\":4,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[x.y..]\\\"}\"}" - name: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[x.y..]\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 3 - col_stop: 6 - path: test - content: "x[x.y..]" - right: ~ - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 9 - path: test - content: "x[x.y..]" - - ArrayRangeAccess: - array: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[..y.x]\\\"}\"}" - left: ~ - right: - CircuitMemberAccess: - circuit: - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[..y.x]\\\"}\"}" - name: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":7,\\\"col_stop\\\":8,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[..y.x]\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 8 - path: test - content: "x[..y.x]" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 9 - path: test - content: "x[..y.x]" - - ArrayRangeAccess: - array: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[x.y..y.x]\\\"}\"}" - left: - CircuitMemberAccess: - circuit: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":3,\\\"col_stop\\\":4,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[x.y..y.x]\\\"}\"}" - name: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[x.y..y.x]\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 3 - col_stop: 6 - path: test - content: "x[x.y..y.x]" - right: - CircuitMemberAccess: - circuit: - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":8,\\\"col_stop\\\":9,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[x.y..y.x]\\\"}\"}" - name: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[x.y..y.x]\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 8 - col_stop: 11 - path: test - content: "x[x.y..y.x]" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: "x[x.y..y.x]" - - ArrayRangeAccess: - array: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[x.y.x..y.x.y]\\\"}\"}" - left: - CircuitMemberAccess: - circuit: - CircuitMemberAccess: - circuit: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":3,\\\"col_stop\\\":4,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[x.y.x..y.x.y]\\\"}\"}" - name: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[x.y.x..y.x.y]\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 3 - col_stop: 6 - path: test - content: "x[x.y.x..y.x.y]" - name: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":7,\\\"col_stop\\\":8,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[x.y.x..y.x.y]\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 3 - col_stop: 8 - path: test - content: "x[x.y.x..y.x.y]" - right: - CircuitMemberAccess: - circuit: - CircuitMemberAccess: - circuit: - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[x.y.x..y.x.y]\\\"}\"}" - name: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":12,\\\"col_stop\\\":13,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[x.y.x..y.x.y]\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 10 - col_stop: 13 - path: test - content: "x[x.y.x..y.x.y]" - name: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":14,\\\"col_stop\\\":15,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[x.y.x..y.x.y]\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 10 - col_stop: 15 - path: test - content: "x[x.y.x..y.x.y]" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 16 - path: test - content: "x[x.y.x..y.x.y]" diff --git a/tests/expectations/parser/parser/expression/access/call.leo.out b/tests/expectations/parser/parser/expression/access/call.leo.out deleted file mode 100644 index ed9e9058da..0000000000 --- a/tests/expectations/parser/parser/expression/access/call.leo.out +++ /dev/null @@ -1,162 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Call: - function: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x()\\\"}\"}" - arguments: [] - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: x() - - Call: - function: - Identifier: "{\"name\":\"X\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"X()\\\"}\"}" - arguments: [] - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: X() - - Call: - function: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x(y)\\\"}\"}" - arguments: - - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":3,\\\"col_stop\\\":4,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x(y)\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 5 - path: test - content: x(y) - - Call: - function: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x(y, z)\\\"}\"}" - arguments: - - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":3,\\\"col_stop\\\":4,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x(y, z)\\\"}\"}" - - Identifier: "{\"name\":\"z\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":6,\\\"col_stop\\\":7,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x(y, z)\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 8 - path: test - content: "x(y, z)" - - Call: - function: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x(x, y, z)\\\"}\"}" - arguments: - - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":3,\\\"col_stop\\\":4,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x(x, y, z)\\\"}\"}" - - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":6,\\\"col_stop\\\":7,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x(x, y, z)\\\"}\"}" - - Identifier: "{\"name\":\"z\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":9,\\\"col_stop\\\":10,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x(x, y, z)\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 11 - path: test - content: "x(x, y, z)" - - Call: - function: - CircuitStaticFunctionAccess: - circuit: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x::y()\\\"}\"}" - name: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":4,\\\"col_stop\\\":5,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x::y()\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 5 - path: test - content: "x::y()" - arguments: [] - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: "x::y()" - - Call: - function: - CircuitStaticFunctionAccess: - circuit: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x::y(x)\\\"}\"}" - name: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":4,\\\"col_stop\\\":5,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x::y(x)\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 5 - path: test - content: "x::y(x)" - arguments: - - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":6,\\\"col_stop\\\":7,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x::y(x)\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 8 - path: test - content: "x::y(x)" - - Call: - function: - TupleAccess: - tuple: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x.0(x)\\\"}\"}" - index: - value: "0" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: x.0(x) - arguments: - - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x.0(x)\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: x.0(x) - - Call: - function: - ArrayAccess: - array: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[0](x)\\\"}\"}" - index: - Value: - Implicit: - - "0" - - line_start: 1 - line_stop: 1 - col_start: 3 - col_stop: 4 - path: test - content: "x[0](x)" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 5 - path: test - content: "x[0](x)" - arguments: - - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":6,\\\"col_stop\\\":7,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[0](x)\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 8 - path: test - content: "x[0](x)" diff --git a/tests/expectations/parser/parser/expression/access/circuit.leo.out b/tests/expectations/parser/parser/expression/access/circuit.leo.out deleted file mode 100644 index e10176179c..0000000000 --- a/tests/expectations/parser/parser/expression/access/circuit.leo.out +++ /dev/null @@ -1,120 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - CircuitMemberAccess: - circuit: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x.y\\\"}\"}" - name: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":3,\\\"col_stop\\\":4,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x.y\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: x.y - - CircuitMemberAccess: - circuit: - Identifier: "{\"name\":\"X\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"X.Y\\\"}\"}" - name: "{\"name\":\"Y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":3,\\\"col_stop\\\":4,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"X.Y\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: X.Y - - CircuitMemberAccess: - circuit: - CircuitMemberAccess: - circuit: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x.y.z\\\"}\"}" - name: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":3,\\\"col_stop\\\":4,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x.y.z\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: x.y.z - name: "{\"name\":\"z\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x.y.z\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: x.y.z - - Call: - function: - CircuitMemberAccess: - circuit: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x.y()\\\"}\"}" - name: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":3,\\\"col_stop\\\":4,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x.y()\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: x.y() - arguments: [] - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: x.y() - - TupleAccess: - tuple: - CircuitMemberAccess: - circuit: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x.y.0\\\"}\"}" - name: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":3,\\\"col_stop\\\":4,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x.y.0\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: x.y.0 - index: - value: "0" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: x.y.0 - - ArrayAccess: - array: - CircuitMemberAccess: - circuit: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x.y[1]\\\"}\"}" - name: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":3,\\\"col_stop\\\":4,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x.y[1]\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: "x.y[1]" - index: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: "x.y[1]" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: "x.y[1]" diff --git a/tests/expectations/parser/parser/expression/access/circuit_static.leo.out b/tests/expectations/parser/parser/expression/access/circuit_static.leo.out deleted file mode 100644 index eed96329a1..0000000000 --- a/tests/expectations/parser/parser/expression/access/circuit_static.leo.out +++ /dev/null @@ -1,120 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - CircuitStaticFunctionAccess: - circuit: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x::y\\\"}\"}" - name: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":4,\\\"col_stop\\\":5,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x::y\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 5 - path: test - content: "x::y" - - CircuitStaticFunctionAccess: - circuit: - Identifier: "{\"name\":\"X\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"X::Y\\\"}\"}" - name: "{\"name\":\"Y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":4,\\\"col_stop\\\":5,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"X::Y\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 5 - path: test - content: "X::Y" - - CircuitStaticFunctionAccess: - circuit: - CircuitStaticFunctionAccess: - circuit: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x::y::z\\\"}\"}" - name: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":4,\\\"col_stop\\\":5,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x::y::z\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 5 - path: test - content: "x::y::z" - name: "{\"name\":\"z\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":7,\\\"col_stop\\\":8,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x::y::z\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 8 - path: test - content: "x::y::z" - - Call: - function: - CircuitStaticFunctionAccess: - circuit: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x::y()\\\"}\"}" - name: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":4,\\\"col_stop\\\":5,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x::y()\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 5 - path: test - content: "x::y()" - arguments: [] - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: "x::y()" - - TupleAccess: - tuple: - CircuitStaticFunctionAccess: - circuit: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x::y.0\\\"}\"}" - name: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":4,\\\"col_stop\\\":5,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x::y.0\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 5 - path: test - content: "x::y.0" - index: - value: "0" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: "x::y.0" - - ArrayAccess: - array: - CircuitStaticFunctionAccess: - circuit: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x::y[1]\\\"}\"}" - name: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":4,\\\"col_stop\\\":5,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x::y[1]\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 5 - path: test - content: "x::y[1]" - index: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 7 - path: test - content: "x::y[1]" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 8 - path: test - content: "x::y[1]" diff --git a/tests/expectations/parser/parser/expression/access/tuple.leo.out b/tests/expectations/parser/parser/expression/access/tuple.leo.out deleted file mode 100644 index c4089a4522..0000000000 --- a/tests/expectations/parser/parser/expression/access/tuple.leo.out +++ /dev/null @@ -1,109 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - TupleAccess: - tuple: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x.0\\\"}\"}" - index: - value: "0" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: x.0 - - TupleAccess: - tuple: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x.1\\\"}\"}" - index: - value: "1" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: x.1 - - TupleAccess: - tuple: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x.2\\\"}\"}" - index: - value: "2" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: x.2 - - TupleAccess: - tuple: - TupleAccess: - tuple: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x.0.0\\\"}\"}" - index: - value: "0" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: x.0.0 - index: - value: "0" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: x.0.0 - - TupleAccess: - tuple: - TupleAccess: - tuple: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x.1.1\\\"}\"}" - index: - value: "1" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: x.1.1 - index: - value: "1" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: x.1.1 - - TupleAccess: - tuple: - TupleAccess: - tuple: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x.2.2\\\"}\"}" - index: - value: "2" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: x.2.2 - index: - value: "2" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: x.2.2 diff --git a/tests/expectations/parser/parser/expression/array_init.leo.out b/tests/expectations/parser/parser/expression/array_init.leo.out deleted file mode 100644 index c8ee3bfb32..0000000000 --- a/tests/expectations/parser/parser/expression/array_init.leo.out +++ /dev/null @@ -1,150 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - ArrayInit: - element: - Value: - Integer: - - U8 - - "0" - - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 5 - path: test - content: "[0u8; 1]" - dimensions: - - value: "1" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 9 - path: test - content: "[0u8; 1]" - - ArrayInit: - element: - Value: - Implicit: - - "0" - - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 3 - path: test - content: "[0; 1]" - dimensions: - - value: "1" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: "[0; 1]" - - ArrayInit: - element: - Value: - Implicit: - - "0" - - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 3 - path: test - content: "[0; (1)]" - dimensions: - - value: "1" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 9 - path: test - content: "[0; (1)]" - - ArrayInit: - element: - Value: - Implicit: - - "0" - - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 3 - path: test - content: "[0; (1, 2)]" - dimensions: - - value: "1" - - value: "2" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: "[0; (1, 2)]" - - ArrayInit: - element: - Value: - Implicit: - - "0" - - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 3 - path: test - content: "[0; (1, 2, 3)]" - dimensions: - - value: "1" - - value: "2" - - value: "3" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: "[0; (1, 2, 3)]" - - ArrayInit: - element: - ArrayInit: - element: - ArrayInit: - element: - Value: - Implicit: - - "0" - - line_start: 1 - line_stop: 1 - col_start: 4 - col_stop: 5 - path: test - content: "[[[0; 3]; 2]; 1]" - dimensions: - - value: "3" - span: - line_start: 1 - line_stop: 1 - col_start: 3 - col_stop: 9 - path: test - content: "[[[0; 3]; 2]; 1]" - dimensions: - - value: "2" - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 13 - path: test - content: "[[[0; 3]; 2]; 1]" - dimensions: - - value: "1" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 17 - path: test - content: "[[[0; 3]; 2]; 1]" diff --git a/tests/expectations/parser/parser/expression/array_init_fail.leo.out b/tests/expectations/parser/parser/expression/array_init_fail.leo.out deleted file mode 100644 index 3e6e920477..0000000000 --- a/tests/expectations/parser/parser/expression/array_init_fail.leo.out +++ /dev/null @@ -1,6 +0,0 @@ ---- -namespace: ParseExpression -expectation: Fail -outputs: - - " --> test:1:1\n |\n 1 | [...0u8; 1]\n | ^^^^^^^\n |\n = illegal spread in array initializer" - - " --> test:1:1\n |\n 1 | [...0; 1]\n | ^^^^^\n |\n = illegal spread in array initializer" diff --git a/tests/expectations/parser/parser/expression/array_inline.leo.out b/tests/expectations/parser/parser/expression/array_inline.leo.out deleted file mode 100644 index ae4ccf624f..0000000000 --- a/tests/expectations/parser/parser/expression/array_inline.leo.out +++ /dev/null @@ -1,317 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - ArrayInline: - elements: - - Expression: - Value: - Integer: - - U8 - - "0" - - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 5 - path: test - content: "[0u8, 1, 2, 3]" - - Expression: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 7 - col_stop: 8 - path: test - content: "[0u8, 1, 2, 3]" - - Expression: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 10 - col_stop: 11 - path: test - content: "[0u8, 1, 2, 3]" - - Expression: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 13 - col_stop: 14 - path: test - content: "[0u8, 1, 2, 3]" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: "[0u8, 1, 2, 3]" - - ArrayInline: - elements: - - Expression: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 3 - path: test - content: "[1]" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: "[1]" - - ArrayInline: - elements: - - Expression: - Value: - Integer: - - U8 - - "1" - - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 5 - path: test - content: "[1u8]" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: "[1u8]" - - ArrayInline: - elements: - - Expression: - Value: - Integer: - - U8 - - "1" - - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 5 - path: test - content: "[1u8,]" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: "[1u8,]" - - ArrayInline: - elements: - - Expression: - Value: - Implicit: - - "0" - - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 3 - path: test - content: "[0, 1,]" - - Expression: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: "[0, 1,]" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 8 - path: test - content: "[0, 1,]" - - ArrayInline: - elements: - - Expression: - Value: - Implicit: - - "0" - - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 3 - path: test - content: "[0,1,]" - - Expression: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 4 - col_stop: 5 - path: test - content: "[0,1,]" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: "[0,1,]" - - ArrayInline: - elements: [] - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 3 - path: test - content: "[]" - - ArrayInline: - elements: - - Expression: - ArrayInline: - elements: - - Expression: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 3 - col_stop: 4 - path: test - content: "[[1,2,3],[1,2,3]]" - - Expression: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: "[[1,2,3],[1,2,3]]" - - Expression: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 7 - col_stop: 8 - path: test - content: "[[1,2,3],[1,2,3]]" - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 9 - path: test - content: "[[1,2,3],[1,2,3]]" - - Expression: - ArrayInline: - elements: - - Expression: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 11 - col_stop: 12 - path: test - content: "[[1,2,3],[1,2,3]]" - - Expression: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 13 - col_stop: 14 - path: test - content: "[[1,2,3],[1,2,3]]" - - Expression: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 15 - col_stop: 16 - path: test - content: "[[1,2,3],[1,2,3]]" - span: - line_start: 1 - line_stop: 1 - col_start: 10 - col_stop: 17 - path: test - content: "[[1,2,3],[1,2,3]]" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 18 - path: test - content: "[[1,2,3],[1,2,3]]" - - ArrayInline: - elements: - - Expression: - ArrayInline: - elements: [] - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 4 - path: test - content: "[[]]" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 5 - path: test - content: "[[]]" - - ArrayInline: - elements: - - Expression: - ArrayInline: - elements: [] - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 4 - path: test - content: "[[], []]" - - Expression: - ArrayInline: - elements: [] - span: - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 8 - path: test - content: "[[], []]" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 9 - path: test - content: "[[], []]" diff --git a/tests/expectations/parser/parser/expression/array_inline_fail.leo.out b/tests/expectations/parser/parser/expression/array_inline_fail.leo.out deleted file mode 100644 index 3565e3e59c..0000000000 --- a/tests/expectations/parser/parser/expression/array_inline_fail.leo.out +++ /dev/null @@ -1,9 +0,0 @@ ---- -namespace: ParseExpression -expectation: Fail -outputs: - - " --> test:1:2\n |\n 1 | [,]\n | ^\n |\n = expected 'expression', got ','" - - " --> test:1:2\n |\n 1 | [,,]\n | ^\n |\n = expected 'expression', got ','" - - " --> test:1:4\n |\n 1 | [0,,]\n | ^\n |\n = expected 'expression', got ','" - - " --> test:1:2\n |\n 1 | [,0]\n | ^\n |\n = expected 'expression', got ','" - - " --> test:1:2\n |\n 1 | [,0,]\n | ^\n |\n = expected 'expression', got ','" diff --git a/tests/expectations/parser/parser/expression/binary/add.leo.out b/tests/expectations/parser/parser/expression/binary/add.leo.out deleted file mode 100644 index 72d244dd8d..0000000000 --- a/tests/expectations/parser/parser/expression/binary/add.leo.out +++ /dev/null @@ -1,338 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Binary: - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 + 1 - right: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: 1 + 1 - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 1 + 1 - - Binary: - left: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 2+3 - right: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 3 - col_stop: 4 - path: test - content: 2+3 - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: 2+3 - - Binary: - left: - Binary: - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 + 2 + 3 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: 1 + 2 + 3 - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 1 + 2 + 3 - right: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 10 - path: test - content: 1 + 2 + 3 - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: 1 + 2 + 3 - - Binary: - left: - Binary: - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 * 2 + 3 * 4 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: 1 * 2 + 3 * 4 - op: Mul - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 1 * 2 + 3 * 4 - right: - Binary: - left: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 10 - path: test - content: 1 * 2 + 3 * 4 - right: - Value: - Implicit: - - "4" - - line_start: 1 - line_stop: 1 - col_start: 13 - col_stop: 14 - path: test - content: 1 * 2 + 3 * 4 - op: Mul - span: - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 14 - path: test - content: 1 * 2 + 3 * 4 - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - 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: test - content: 1 + 2 - 3 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: 1 + 2 - 3 - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 1 + 2 - 3 - right: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 10 - path: test - content: 1 + 2 - 3 - op: Sub - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - 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: test - content: 1 * 2 + 3 * 4 - 5 * 6 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: 1 * 2 + 3 * 4 - 5 * 6 - op: Mul - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - 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: test - content: 1 * 2 + 3 * 4 - 5 * 6 - right: - Value: - Implicit: - - "4" - - line_start: 1 - line_stop: 1 - col_start: 13 - col_stop: 14 - path: test - content: 1 * 2 + 3 * 4 - 5 * 6 - op: Mul - span: - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 14 - path: test - content: 1 * 2 + 3 * 4 - 5 * 6 - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - 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: test - content: 1 * 2 + 3 * 4 - 5 * 6 - right: - Value: - Implicit: - - "6" - - line_start: 1 - line_stop: 1 - col_start: 21 - col_stop: 22 - path: test - content: 1 * 2 + 3 * 4 - 5 * 6 - op: Mul - span: - line_start: 1 - line_stop: 1 - col_start: 17 - col_stop: 22 - path: test - content: 1 * 2 + 3 * 4 - 5 * 6 - op: Sub - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 22 - path: test - content: 1 * 2 + 3 * 4 - 5 * 6 diff --git a/tests/expectations/parser/parser/expression/binary/and.leo.out b/tests/expectations/parser/parser/expression/binary/and.leo.out deleted file mode 100644 index b6f8de5d72..0000000000 --- a/tests/expectations/parser/parser/expression/binary/and.leo.out +++ /dev/null @@ -1,111 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Binary: - left: - Value: - Boolean: - - "true" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 5 - path: test - content: true && false - right: - Value: - Boolean: - - "false" - - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 14 - path: test - content: true && false - op: And - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: true && false - - Binary: - left: - Value: - Boolean: - - "false" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: false&&true - right: - Value: - Boolean: - - "true" - - line_start: 1 - line_stop: 1 - col_start: 8 - col_stop: 12 - path: test - content: false&&true - op: And - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: false&&true - - Binary: - left: - Binary: - left: - Value: - Boolean: - - "true" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 5 - path: test - content: true&&false&&true - right: - Value: - Boolean: - - "false" - - line_start: 1 - line_stop: 1 - col_start: 7 - col_stop: 12 - path: test - content: true&&false&&true - op: And - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: true&&false&&true - right: - Value: - Boolean: - - "true" - - line_start: 1 - line_stop: 1 - col_start: 14 - col_stop: 18 - path: test - content: true&&false&&true - op: And - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 18 - path: test - content: true&&false&&true diff --git a/tests/expectations/parser/parser/expression/binary/div.leo.out b/tests/expectations/parser/parser/expression/binary/div.leo.out deleted file mode 100644 index 45684cd859..0000000000 --- a/tests/expectations/parser/parser/expression/binary/div.leo.out +++ /dev/null @@ -1,180 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Binary: - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 / 1 - right: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: 1 / 1 - op: Div - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 1 / 1 - - Binary: - left: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 2/3 - right: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 3 - col_stop: 4 - path: test - content: 2/3 - op: Div - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: 2/3 - - Binary: - left: - Binary: - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 / 2 / 3 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: 1 / 2 / 3 - op: Div - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 1 / 2 / 3 - right: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 10 - path: test - content: 1 / 2 / 3 - op: Div - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: 1 / 2 / 3 - - Binary: - left: - Binary: - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 ** 2 / 3 ** 4 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 7 - path: test - content: 1 ** 2 / 3 ** 4 - op: Pow - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: 1 ** 2 / 3 ** 4 - right: - Binary: - left: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 10 - col_stop: 11 - path: test - content: 1 ** 2 / 3 ** 4 - right: - Value: - Implicit: - - "4" - - line_start: 1 - line_stop: 1 - col_start: 15 - col_stop: 16 - path: test - content: 1 ** 2 / 3 ** 4 - op: Pow - span: - line_start: 1 - line_stop: 1 - col_start: 10 - col_stop: 16 - path: test - content: 1 ** 2 / 3 ** 4 - op: Div - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 16 - path: test - content: 1 ** 2 / 3 ** 4 diff --git a/tests/expectations/parser/parser/expression/binary/eq.leo.out b/tests/expectations/parser/parser/expression/binary/eq.leo.out deleted file mode 100644 index 56f7df069c..0000000000 --- a/tests/expectations/parser/parser/expression/binary/eq.leo.out +++ /dev/null @@ -1,338 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Binary: - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 == 1 - right: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 7 - path: test - content: 1 == 1 - op: Eq - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: 1 == 1 - - Binary: - left: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 2==3 - right: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 4 - col_stop: 5 - path: test - content: 2==3 - op: Eq - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 5 - path: test - content: 2==3 - - Binary: - left: - Binary: - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 == 2 == 3 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 7 - path: test - content: 1 == 2 == 3 - op: Eq - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: 1 == 2 == 3 - right: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 11 - col_stop: 12 - path: test - content: 1 == 2 == 3 - op: Eq - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 1 == 2 == 3 - - Binary: - left: - Binary: - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 < 2 == 3 < 4 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: 1 < 2 == 3 < 4 - op: Lt - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 1 < 2 == 3 < 4 - right: - Binary: - left: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 10 - col_stop: 11 - path: test - content: 1 < 2 == 3 < 4 - right: - Value: - Implicit: - - "4" - - line_start: 1 - line_stop: 1 - col_start: 14 - col_stop: 15 - path: test - content: 1 < 2 == 3 < 4 - op: Lt - span: - line_start: 1 - line_stop: 1 - col_start: 10 - col_stop: 15 - path: test - content: 1 < 2 == 3 < 4 - op: Eq - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - 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: test - content: 1 == 2 == 3 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 7 - path: test - content: 1 == 2 == 3 - op: Eq - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: 1 == 2 == 3 - right: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 11 - col_stop: 12 - path: test - content: 1 == 2 == 3 - op: Eq - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - 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: test - content: 1 < 2 == 3 < 4 == 5 < 6 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: 1 < 2 == 3 < 4 == 5 < 6 - op: Lt - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 1 < 2 == 3 < 4 == 5 < 6 - right: - Binary: - left: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 10 - col_stop: 11 - path: test - content: 1 < 2 == 3 < 4 == 5 < 6 - right: - Value: - Implicit: - - "4" - - line_start: 1 - line_stop: 1 - col_start: 14 - col_stop: 15 - path: test - content: 1 < 2 == 3 < 4 == 5 < 6 - op: Lt - span: - line_start: 1 - line_stop: 1 - col_start: 10 - col_stop: 15 - path: test - content: 1 < 2 == 3 < 4 == 5 < 6 - op: Eq - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 1 < 2 == 3 < 4 == 5 < 6 - right: - Binary: - left: - Value: - Implicit: - - "5" - - line_start: 1 - line_stop: 1 - col_start: 19 - col_stop: 20 - path: test - content: 1 < 2 == 3 < 4 == 5 < 6 - right: - Value: - Implicit: - - "6" - - line_start: 1 - line_stop: 1 - col_start: 23 - col_stop: 24 - path: test - content: 1 < 2 == 3 < 4 == 5 < 6 - op: Lt - span: - line_start: 1 - line_stop: 1 - col_start: 19 - col_stop: 24 - path: test - content: 1 < 2 == 3 < 4 == 5 < 6 - op: Eq - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 24 - path: test - content: 1 < 2 == 3 < 4 == 5 < 6 diff --git a/tests/expectations/parser/parser/expression/binary/exp.leo.out b/tests/expectations/parser/parser/expression/binary/exp.leo.out deleted file mode 100644 index b0c39a877f..0000000000 --- a/tests/expectations/parser/parser/expression/binary/exp.leo.out +++ /dev/null @@ -1,244 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Binary: - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 ** 1 - right: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 7 - path: test - content: 1 ** 1 - op: Pow - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: 1 ** 1 - - Binary: - left: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 2**3 - right: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 4 - col_stop: 5 - path: test - content: 2**3 - op: Pow - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 5 - path: test - content: 2**3 - - Binary: - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 ** 2 ** 3 - right: - Binary: - left: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 7 - path: test - content: 1 ** 2 ** 3 - right: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 11 - col_stop: 12 - path: test - content: 1 ** 2 ** 3 - op: Pow - span: - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 12 - path: test - content: 1 ** 2 ** 3 - op: Pow - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 1 ** 2 ** 3 - - Binary: - left: - Cast: - inner: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 as i8 ** 3 as i8 - target_type: - IntegerType: I8 - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 8 - path: test - content: 1 as i8 ** 3 as i8 - right: - Cast: - inner: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 12 - col_stop: 13 - path: test - content: 1 as i8 ** 3 as i8 - target_type: - IntegerType: I8 - span: - line_start: 1 - line_stop: 1 - col_start: 12 - col_stop: 19 - path: test - content: 1 as i8 ** 3 as i8 - op: Pow - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 19 - path: test - content: 1 as i8 ** 3 as i8 - - Binary: - left: - Cast: - inner: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 as i8 ** 3 as i8 ** 5 as i8 - target_type: - IntegerType: I8 - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 8 - path: test - content: 1 as i8 ** 3 as i8 ** 5 as i8 - right: - Binary: - left: - Cast: - inner: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 12 - col_stop: 13 - path: test - content: 1 as i8 ** 3 as i8 ** 5 as i8 - target_type: - IntegerType: I8 - span: - line_start: 1 - line_stop: 1 - col_start: 12 - col_stop: 19 - path: test - content: 1 as i8 ** 3 as i8 ** 5 as i8 - right: - Cast: - inner: - Value: - Implicit: - - "5" - - line_start: 1 - line_stop: 1 - col_start: 23 - col_stop: 24 - path: test - content: 1 as i8 ** 3 as i8 ** 5 as i8 - target_type: - IntegerType: I8 - span: - line_start: 1 - line_stop: 1 - col_start: 23 - col_stop: 30 - path: test - content: 1 as i8 ** 3 as i8 ** 5 as i8 - op: Pow - span: - line_start: 1 - line_stop: 1 - col_start: 12 - col_stop: 30 - path: test - content: 1 as i8 ** 3 as i8 ** 5 as i8 - op: Pow - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 30 - path: test - content: 1 as i8 ** 3 as i8 ** 5 as i8 diff --git a/tests/expectations/parser/parser/expression/binary/gt.leo.out b/tests/expectations/parser/parser/expression/binary/gt.leo.out deleted file mode 100644 index b9d5cfd72d..0000000000 --- a/tests/expectations/parser/parser/expression/binary/gt.leo.out +++ /dev/null @@ -1,338 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Binary: - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 > 1 - right: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: 1 > 1 - op: Gt - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 1 > 1 - - Binary: - left: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 2>3 - right: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 3 - col_stop: 4 - path: test - content: 2>3 - op: Gt - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: 2>3 - - Binary: - left: - Binary: - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 > 2 > 3 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: 1 > 2 > 3 - op: Gt - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 1 > 2 > 3 - right: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 10 - path: test - content: 1 > 2 > 3 - op: Gt - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: 1 > 2 > 3 - - Binary: - left: - Binary: - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 + 2 > 3 + 4 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: 1 + 2 > 3 + 4 - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 1 + 2 > 3 + 4 - right: - Binary: - left: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 10 - path: test - content: 1 + 2 > 3 + 4 - right: - Value: - Implicit: - - "4" - - line_start: 1 - line_stop: 1 - col_start: 13 - col_stop: 14 - path: test - content: 1 + 2 > 3 + 4 - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 14 - path: test - content: 1 + 2 > 3 + 4 - op: Gt - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - 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: test - content: 1 > 2 > 3 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: 1 > 2 > 3 - op: Gt - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 1 > 2 > 3 - right: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 10 - path: test - content: 1 > 2 > 3 - op: Gt - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - 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: test - content: 1 + 2 > 3 + 4 > 5 + 6 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: 1 + 2 > 3 + 4 > 5 + 6 - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - 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: test - content: 1 + 2 > 3 + 4 > 5 + 6 - right: - Value: - Implicit: - - "4" - - line_start: 1 - line_stop: 1 - col_start: 13 - col_stop: 14 - path: test - content: 1 + 2 > 3 + 4 > 5 + 6 - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 14 - path: test - content: 1 + 2 > 3 + 4 > 5 + 6 - op: Gt - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - 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: test - content: 1 + 2 > 3 + 4 > 5 + 6 - right: - Value: - Implicit: - - "6" - - line_start: 1 - line_stop: 1 - col_start: 21 - col_stop: 22 - path: test - content: 1 + 2 > 3 + 4 > 5 + 6 - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 17 - col_stop: 22 - path: test - content: 1 + 2 > 3 + 4 > 5 + 6 - op: Gt - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 22 - path: test - content: 1 + 2 > 3 + 4 > 5 + 6 diff --git a/tests/expectations/parser/parser/expression/binary/gte.leo.out b/tests/expectations/parser/parser/expression/binary/gte.leo.out deleted file mode 100644 index 9ab526f71c..0000000000 --- a/tests/expectations/parser/parser/expression/binary/gte.leo.out +++ /dev/null @@ -1,338 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Binary: - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 >= 1 - right: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 7 - path: test - content: 1 >= 1 - op: Ge - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: 1 >= 1 - - Binary: - left: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 2 >= 3 - right: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 7 - path: test - content: 2 >= 3 - op: Ge - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: 2 >= 3 - - Binary: - left: - Binary: - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 >= 2 >= 3 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 7 - path: test - content: 1 >= 2 >= 3 - op: Ge - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: 1 >= 2 >= 3 - right: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 11 - col_stop: 12 - path: test - content: 1 >= 2 >= 3 - op: Ge - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 1 >= 2 >= 3 - - Binary: - left: - Binary: - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 + 2 >= 3 + 4 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: 1 + 2 >= 3 + 4 - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 1 + 2 >= 3 + 4 - right: - Binary: - left: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 10 - col_stop: 11 - path: test - content: 1 + 2 >= 3 + 4 - right: - Value: - Implicit: - - "4" - - line_start: 1 - line_stop: 1 - col_start: 14 - col_stop: 15 - path: test - content: 1 + 2 >= 3 + 4 - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 10 - col_stop: 15 - path: test - content: 1 + 2 >= 3 + 4 - op: Ge - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - 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: test - content: 1 >= 2 >= 3 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 7 - path: test - content: 1 >= 2 >= 3 - op: Ge - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: 1 >= 2 >= 3 - right: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 11 - col_stop: 12 - path: test - content: 1 >= 2 >= 3 - op: Ge - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - 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: test - content: 1 + 2 >= 3 + 4 >= 5 + 6 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: 1 + 2 >= 3 + 4 >= 5 + 6 - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 1 + 2 >= 3 + 4 >= 5 + 6 - right: - Binary: - left: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 10 - col_stop: 11 - path: test - content: 1 + 2 >= 3 + 4 >= 5 + 6 - right: - Value: - Implicit: - - "4" - - line_start: 1 - line_stop: 1 - col_start: 14 - col_stop: 15 - path: test - content: 1 + 2 >= 3 + 4 >= 5 + 6 - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 10 - col_stop: 15 - path: test - content: 1 + 2 >= 3 + 4 >= 5 + 6 - op: Ge - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 1 + 2 >= 3 + 4 >= 5 + 6 - right: - Binary: - left: - Value: - Implicit: - - "5" - - line_start: 1 - line_stop: 1 - col_start: 19 - col_stop: 20 - path: test - content: 1 + 2 >= 3 + 4 >= 5 + 6 - right: - Value: - Implicit: - - "6" - - line_start: 1 - line_stop: 1 - col_start: 23 - col_stop: 24 - path: test - content: 1 + 2 >= 3 + 4 >= 5 + 6 - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 19 - col_stop: 24 - path: test - content: 1 + 2 >= 3 + 4 >= 5 + 6 - op: Ge - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 24 - path: test - content: 1 + 2 >= 3 + 4 >= 5 + 6 diff --git a/tests/expectations/parser/parser/expression/binary/lt.leo.out b/tests/expectations/parser/parser/expression/binary/lt.leo.out deleted file mode 100644 index 9879afc9d3..0000000000 --- a/tests/expectations/parser/parser/expression/binary/lt.leo.out +++ /dev/null @@ -1,338 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Binary: - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 < 1 - right: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: 1 < 1 - op: Lt - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 1 < 1 - - Binary: - left: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 2<3 - right: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 3 - col_stop: 4 - path: test - content: 2<3 - op: Lt - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: 2<3 - - Binary: - left: - Binary: - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 < 2 < 3 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: 1 < 2 < 3 - op: Lt - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 1 < 2 < 3 - right: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 10 - path: test - content: 1 < 2 < 3 - op: Lt - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: 1 < 2 < 3 - - Binary: - left: - Binary: - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 + 2 < 3 + 4 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: 1 + 2 < 3 + 4 - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 1 + 2 < 3 + 4 - right: - Binary: - left: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 10 - path: test - content: 1 + 2 < 3 + 4 - right: - Value: - Implicit: - - "4" - - line_start: 1 - line_stop: 1 - col_start: 13 - col_stop: 14 - path: test - content: 1 + 2 < 3 + 4 - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 14 - path: test - content: 1 + 2 < 3 + 4 - op: Lt - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - 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: test - content: 1 < 2 < 3 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: 1 < 2 < 3 - op: Lt - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 1 < 2 < 3 - right: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 10 - path: test - content: 1 < 2 < 3 - op: Lt - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - 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: test - content: 1 + 2 < 3 + 4 < 5 + 6 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: 1 + 2 < 3 + 4 < 5 + 6 - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - 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: test - content: 1 + 2 < 3 + 4 < 5 + 6 - right: - Value: - Implicit: - - "4" - - line_start: 1 - line_stop: 1 - col_start: 13 - col_stop: 14 - path: test - content: 1 + 2 < 3 + 4 < 5 + 6 - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 14 - path: test - content: 1 + 2 < 3 + 4 < 5 + 6 - op: Lt - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - 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: test - content: 1 + 2 < 3 + 4 < 5 + 6 - right: - Value: - Implicit: - - "6" - - line_start: 1 - line_stop: 1 - col_start: 21 - col_stop: 22 - path: test - content: 1 + 2 < 3 + 4 < 5 + 6 - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 17 - col_stop: 22 - path: test - content: 1 + 2 < 3 + 4 < 5 + 6 - op: Lt - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 22 - path: test - content: 1 + 2 < 3 + 4 < 5 + 6 diff --git a/tests/expectations/parser/parser/expression/binary/lte.leo.out b/tests/expectations/parser/parser/expression/binary/lte.leo.out deleted file mode 100644 index f40df4bddb..0000000000 --- a/tests/expectations/parser/parser/expression/binary/lte.leo.out +++ /dev/null @@ -1,338 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Binary: - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 <= 1 - right: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 7 - path: test - content: 1 <= 1 - op: Le - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: 1 <= 1 - - Binary: - left: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 2 <= 3 - right: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 7 - path: test - content: 2 <= 3 - op: Le - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: 2 <= 3 - - Binary: - left: - Binary: - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 <= 2 <= 3 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 7 - path: test - content: 1 <= 2 <= 3 - op: Le - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: 1 <= 2 <= 3 - right: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 11 - col_stop: 12 - path: test - content: 1 <= 2 <= 3 - op: Le - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 1 <= 2 <= 3 - - Binary: - left: - Binary: - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 + 2 <= 3 + 4 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: 1 + 2 <= 3 + 4 - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 1 + 2 <= 3 + 4 - right: - Binary: - left: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 10 - col_stop: 11 - path: test - content: 1 + 2 <= 3 + 4 - right: - Value: - Implicit: - - "4" - - line_start: 1 - line_stop: 1 - col_start: 14 - col_stop: 15 - path: test - content: 1 + 2 <= 3 + 4 - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 10 - col_stop: 15 - path: test - content: 1 + 2 <= 3 + 4 - op: Le - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - 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: test - content: 1 <= 2 <= 3 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 7 - path: test - content: 1 <= 2 <= 3 - op: Le - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: 1 <= 2 <= 3 - right: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 11 - col_stop: 12 - path: test - content: 1 <= 2 <= 3 - op: Le - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - 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: test - content: 1 + 2 <= 3 + 4 <= 5 + 6 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: 1 + 2 <= 3 + 4 <= 5 + 6 - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 1 + 2 <= 3 + 4 <= 5 + 6 - right: - Binary: - left: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 10 - col_stop: 11 - path: test - content: 1 + 2 <= 3 + 4 <= 5 + 6 - right: - Value: - Implicit: - - "4" - - line_start: 1 - line_stop: 1 - col_start: 14 - col_stop: 15 - path: test - content: 1 + 2 <= 3 + 4 <= 5 + 6 - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 10 - col_stop: 15 - path: test - content: 1 + 2 <= 3 + 4 <= 5 + 6 - op: Le - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 1 + 2 <= 3 + 4 <= 5 + 6 - right: - Binary: - left: - Value: - Implicit: - - "5" - - line_start: 1 - line_stop: 1 - col_start: 19 - col_stop: 20 - path: test - content: 1 + 2 <= 3 + 4 <= 5 + 6 - right: - Value: - Implicit: - - "6" - - line_start: 1 - line_stop: 1 - col_start: 23 - col_stop: 24 - path: test - content: 1 + 2 <= 3 + 4 <= 5 + 6 - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 19 - col_stop: 24 - path: test - content: 1 + 2 <= 3 + 4 <= 5 + 6 - op: Le - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 24 - path: test - content: 1 + 2 <= 3 + 4 <= 5 + 6 diff --git a/tests/expectations/parser/parser/expression/binary/mul.leo.out b/tests/expectations/parser/parser/expression/binary/mul.leo.out deleted file mode 100644 index c146eeee15..0000000000 --- a/tests/expectations/parser/parser/expression/binary/mul.leo.out +++ /dev/null @@ -1,289 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Binary: - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 * 1 - right: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: 1 * 1 - op: Mul - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 1 * 1 - - Binary: - left: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 2*3 - right: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 3 - col_stop: 4 - path: test - content: 2*3 - op: Mul - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: 2*3 - - Binary: - left: - Binary: - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 * 2 * 3 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: 1 * 2 * 3 - op: Mul - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 1 * 2 * 3 - right: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 10 - path: test - content: 1 * 2 * 3 - op: Mul - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: 1 * 2 * 3 - - Binary: - left: - Binary: - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 ** 2 * 3 ** 4 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 7 - path: test - content: 1 ** 2 * 3 ** 4 - op: Pow - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: 1 ** 2 * 3 ** 4 - right: - Binary: - left: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 10 - col_stop: 11 - path: test - content: 1 ** 2 * 3 ** 4 - right: - Value: - Implicit: - - "4" - - line_start: 1 - line_stop: 1 - col_start: 15 - col_stop: 16 - path: test - content: 1 ** 2 * 3 ** 4 - op: Pow - span: - line_start: 1 - line_stop: 1 - col_start: 10 - col_stop: 16 - path: test - content: 1 ** 2 * 3 ** 4 - op: Mul - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 16 - path: test - content: 1 ** 2 * 3 ** 4 - - Binary: - left: - Binary: - left: - Binary: - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 ** 2 * 3 ** 4 / 5 ** 6 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 7 - path: test - content: 1 ** 2 * 3 ** 4 / 5 ** 6 - op: Pow - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: 1 ** 2 * 3 ** 4 / 5 ** 6 - right: - Binary: - left: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 10 - col_stop: 11 - path: test - content: 1 ** 2 * 3 ** 4 / 5 ** 6 - right: - Value: - Implicit: - - "4" - - line_start: 1 - line_stop: 1 - col_start: 15 - col_stop: 16 - path: test - content: 1 ** 2 * 3 ** 4 / 5 ** 6 - op: Pow - span: - line_start: 1 - line_stop: 1 - col_start: 10 - col_stop: 16 - path: test - content: 1 ** 2 * 3 ** 4 / 5 ** 6 - op: Mul - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 16 - path: test - content: 1 ** 2 * 3 ** 4 / 5 ** 6 - right: - Binary: - left: - Value: - Implicit: - - "5" - - line_start: 1 - line_stop: 1 - col_start: 19 - col_stop: 20 - path: test - content: 1 ** 2 * 3 ** 4 / 5 ** 6 - right: - Value: - Implicit: - - "6" - - line_start: 1 - line_stop: 1 - col_start: 24 - col_stop: 25 - path: test - content: 1 ** 2 * 3 ** 4 / 5 ** 6 - op: Pow - span: - line_start: 1 - line_stop: 1 - col_start: 19 - col_stop: 25 - path: test - content: 1 ** 2 * 3 ** 4 / 5 ** 6 - op: Div - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 25 - path: test - content: 1 ** 2 * 3 ** 4 / 5 ** 6 diff --git a/tests/expectations/parser/parser/expression/binary/ne.leo.out b/tests/expectations/parser/parser/expression/binary/ne.leo.out deleted file mode 100644 index 65fb6e2298..0000000000 --- a/tests/expectations/parser/parser/expression/binary/ne.leo.out +++ /dev/null @@ -1,338 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Binary: - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 != 1 - right: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 7 - path: test - content: 1 != 1 - op: Ne - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: 1 != 1 - - Binary: - left: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 2!=3 - right: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 4 - col_stop: 5 - path: test - content: 2!=3 - op: Ne - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 5 - path: test - content: 2!=3 - - Binary: - left: - Binary: - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 != 2 != 3 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 7 - path: test - content: 1 != 2 != 3 - op: Ne - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: 1 != 2 != 3 - right: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 11 - col_stop: 12 - path: test - content: 1 != 2 != 3 - op: Ne - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 1 != 2 != 3 - - Binary: - left: - Binary: - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 < 2 != 3 < 4 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: 1 < 2 != 3 < 4 - op: Lt - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 1 < 2 != 3 < 4 - right: - Binary: - left: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 10 - col_stop: 11 - path: test - content: 1 < 2 != 3 < 4 - right: - Value: - Implicit: - - "4" - - line_start: 1 - line_stop: 1 - col_start: 14 - col_stop: 15 - path: test - content: 1 < 2 != 3 < 4 - op: Lt - span: - line_start: 1 - line_stop: 1 - col_start: 10 - col_stop: 15 - path: test - content: 1 < 2 != 3 < 4 - op: Ne - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - 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: test - content: 1 != 2 != 3 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 7 - path: test - content: 1 != 2 != 3 - op: Ne - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: 1 != 2 != 3 - right: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 11 - col_stop: 12 - path: test - content: 1 != 2 != 3 - op: Ne - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - 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: test - content: 1 < 2 != 3 < 4 != 5 < 6 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: 1 < 2 != 3 < 4 != 5 < 6 - op: Lt - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 1 < 2 != 3 < 4 != 5 < 6 - right: - Binary: - left: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 10 - col_stop: 11 - path: test - content: 1 < 2 != 3 < 4 != 5 < 6 - right: - Value: - Implicit: - - "4" - - line_start: 1 - line_stop: 1 - col_start: 14 - col_stop: 15 - path: test - content: 1 < 2 != 3 < 4 != 5 < 6 - op: Lt - span: - line_start: 1 - line_stop: 1 - col_start: 10 - col_stop: 15 - path: test - content: 1 < 2 != 3 < 4 != 5 < 6 - op: Ne - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 1 < 2 != 3 < 4 != 5 < 6 - right: - Binary: - left: - Value: - Implicit: - - "5" - - line_start: 1 - line_stop: 1 - col_start: 19 - col_stop: 20 - path: test - content: 1 < 2 != 3 < 4 != 5 < 6 - right: - Value: - Implicit: - - "6" - - line_start: 1 - line_stop: 1 - col_start: 23 - col_stop: 24 - path: test - content: 1 < 2 != 3 < 4 != 5 < 6 - op: Lt - span: - line_start: 1 - line_stop: 1 - col_start: 19 - col_stop: 24 - path: test - content: 1 < 2 != 3 < 4 != 5 < 6 - op: Ne - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 24 - path: test - content: 1 < 2 != 3 < 4 != 5 < 6 diff --git a/tests/expectations/parser/parser/expression/binary/or.leo.out b/tests/expectations/parser/parser/expression/binary/or.leo.out deleted file mode 100644 index 72d244dd8d..0000000000 --- a/tests/expectations/parser/parser/expression/binary/or.leo.out +++ /dev/null @@ -1,338 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Binary: - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 + 1 - right: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: 1 + 1 - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 1 + 1 - - Binary: - left: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 2+3 - right: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 3 - col_stop: 4 - path: test - content: 2+3 - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: 2+3 - - Binary: - left: - Binary: - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 + 2 + 3 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: 1 + 2 + 3 - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 1 + 2 + 3 - right: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 10 - path: test - content: 1 + 2 + 3 - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: 1 + 2 + 3 - - Binary: - left: - Binary: - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 * 2 + 3 * 4 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: 1 * 2 + 3 * 4 - op: Mul - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 1 * 2 + 3 * 4 - right: - Binary: - left: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 10 - path: test - content: 1 * 2 + 3 * 4 - right: - Value: - Implicit: - - "4" - - line_start: 1 - line_stop: 1 - col_start: 13 - col_stop: 14 - path: test - content: 1 * 2 + 3 * 4 - op: Mul - span: - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 14 - path: test - content: 1 * 2 + 3 * 4 - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - 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: test - content: 1 + 2 - 3 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: 1 + 2 - 3 - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 1 + 2 - 3 - right: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 10 - path: test - content: 1 + 2 - 3 - op: Sub - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - 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: test - content: 1 * 2 + 3 * 4 - 5 * 6 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: 1 * 2 + 3 * 4 - 5 * 6 - op: Mul - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - 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: test - content: 1 * 2 + 3 * 4 - 5 * 6 - right: - Value: - Implicit: - - "4" - - line_start: 1 - line_stop: 1 - col_start: 13 - col_stop: 14 - path: test - content: 1 * 2 + 3 * 4 - 5 * 6 - op: Mul - span: - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 14 - path: test - content: 1 * 2 + 3 * 4 - 5 * 6 - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - 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: test - content: 1 * 2 + 3 * 4 - 5 * 6 - right: - Value: - Implicit: - - "6" - - line_start: 1 - line_stop: 1 - col_start: 21 - col_stop: 22 - path: test - content: 1 * 2 + 3 * 4 - 5 * 6 - op: Mul - span: - line_start: 1 - line_stop: 1 - col_start: 17 - col_stop: 22 - path: test - content: 1 * 2 + 3 * 4 - 5 * 6 - op: Sub - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 22 - path: test - content: 1 * 2 + 3 * 4 - 5 * 6 diff --git a/tests/expectations/parser/parser/expression/binary/sub.leo.out b/tests/expectations/parser/parser/expression/binary/sub.leo.out deleted file mode 100644 index 4e39639fe2..0000000000 --- a/tests/expectations/parser/parser/expression/binary/sub.leo.out +++ /dev/null @@ -1,180 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Binary: - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 - 1 - right: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: 1 - 1 - op: Sub - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 1 - 1 - - Binary: - left: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 2-3 - right: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 3 - col_stop: 4 - path: test - content: 2-3 - op: Sub - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: 2-3 - - Binary: - left: - Binary: - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 - 2 - 3 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: 1 - 2 - 3 - op: Sub - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 1 - 2 - 3 - right: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 10 - path: test - content: 1 - 2 - 3 - op: Sub - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: 1 - 2 - 3 - - Binary: - left: - Binary: - left: - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: 1 * 2 - 3 * 4 - right: - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: 1 * 2 - 3 * 4 - op: Mul - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 1 * 2 - 3 * 4 - right: - Binary: - left: - Value: - Implicit: - - "3" - - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 10 - path: test - content: 1 * 2 - 3 * 4 - right: - Value: - Implicit: - - "4" - - line_start: 1 - line_stop: 1 - col_start: 13 - col_stop: 14 - path: test - content: 1 * 2 - 3 * 4 - op: Mul - span: - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 14 - path: test - content: 1 * 2 - 3 * 4 - op: Sub - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 1 * 2 - 3 * 4 diff --git a/tests/expectations/parser/parser/expression/cast.leo.out b/tests/expectations/parser/parser/expression/cast.leo.out deleted file mode 100644 index 25ace32c14..0000000000 --- a/tests/expectations/parser/parser/expression/cast.leo.out +++ /dev/null @@ -1,186 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Cast: - inner: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x as u8\\\"}\"}" - target_type: - IntegerType: U8 - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 8 - path: test - content: x as u8 - - Cast: - inner: - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"y as id\\\"}\"}" - target_type: - Circuit: "{\"name\":\"id\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":6,\\\"col_stop\\\":8,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"y as id\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 8 - path: test - content: y as id - - Cast: - inner: - Identifier: "{\"name\":\"z\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"z as u32\\\"}\"}" - target_type: - IntegerType: U32 - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 9 - path: test - content: z as u32 - - Cast: - inner: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x as i128\\\"}\"}" - target_type: - IntegerType: I128 - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: x as i128 - - Cast: - inner: - Cast: - inner: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x as u8 as u128\\\"}\"}" - target_type: - IntegerType: U8 - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 8 - path: test - content: x as u8 as u128 - target_type: - IntegerType: U128 - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 16 - path: test - content: x as u8 as u128 - - Cast: - inner: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x as field\\\"}\"}" - target_type: Field - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 11 - path: test - content: x as field - - Cast: - inner: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x as group\\\"}\"}" - target_type: Group - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 11 - path: test - content: x as group - - Binary: - left: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x ** y as u32 ** z\\\"}\"}" - right: - Binary: - left: - Cast: - inner: - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":6,\\\"col_stop\\\":7,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x ** y as u32 ** z\\\"}\"}" - target_type: - IntegerType: U32 - span: - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 14 - path: test - content: x ** y as u32 ** z - right: - Identifier: "{\"name\":\"z\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":18,\\\"col_stop\\\":19,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x ** y as u32 ** z\\\"}\"}" - op: Pow - span: - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 19 - path: test - content: x ** y as u32 ** z - op: Pow - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 19 - path: test - content: x ** y as u32 ** z - - Value: - Implicit: - - "" - - line_start: 0 - line_stop: 0 - col_start: 0 - col_stop: 0 - path: "" - content: "" - - Cast: - inner: - Unary: - inner: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":2,\\\"col_stop\\\":3,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"!x as u32\\\"}\"}" - op: Not - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 3 - path: test - content: "!x as u32" - target_type: - IntegerType: U32 - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "!x as u32" - - Cast: - inner: - Unary: - inner: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":2,\\\"col_stop\\\":3,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"-x as u32\\\"}\"}" - op: Negate - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 3 - path: test - content: "-x as u32" - target_type: - IntegerType: U32 - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "-x as u32" diff --git a/tests/expectations/parser/parser/expression/circuit_init.leo.out b/tests/expectations/parser/parser/expression/circuit_init.leo.out deleted file mode 100644 index 4295420d95..0000000000 --- a/tests/expectations/parser/parser/expression/circuit_init.leo.out +++ /dev/null @@ -1,113 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - CircuitInit: - name: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x {}\\\"}\"}" - members: [] - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 5 - path: test - content: "x {}" - - CircuitInit: - name: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x {y}\\\"}\"}" - members: - - identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":4,\\\"col_stop\\\":5,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x {y}\\\"}\"}" - expression: ~ - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: "x {y}" - - CircuitInit: - name: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x{y}\\\"}\"}" - members: - - identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":3,\\\"col_stop\\\":4,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x{y}\\\"}\"}" - expression: ~ - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 5 - path: test - content: "x{y}" - - CircuitInit: - name: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x{}\\\"}\"}" - members: [] - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: "x{}" - - CircuitInit: - name: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x{y: y}\\\"}\"}" - members: - - identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":3,\\\"col_stop\\\":4,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x{y: y}\\\"}\"}" - expression: - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":6,\\\"col_stop\\\":7,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x{y: y}\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 8 - path: test - content: "x{y: y}" - - CircuitInit: - name: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x{y: x}\\\"}\"}" - members: - - identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":3,\\\"col_stop\\\":4,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x{y: x}\\\"}\"}" - expression: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":6,\\\"col_stop\\\":7,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x{y: x}\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 8 - path: test - content: "x{y: x}" - - CircuitInit: - name: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x{y: x,}\\\"}\"}" - members: - - identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":3,\\\"col_stop\\\":4,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x{y: x,}\\\"}\"}" - expression: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":6,\\\"col_stop\\\":7,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x{y: x,}\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 9 - path: test - content: "x{y: x,}" - - CircuitInit: - name: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x{y:x, x:y,}\\\"}\"}" - members: - - identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":3,\\\"col_stop\\\":4,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x{y:x, x:y,}\\\"}\"}" - expression: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x{y:x, x:y,}\\\"}\"}" - - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":8,\\\"col_stop\\\":9,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x{y:x, x:y,}\\\"}\"}" - expression: - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x{y:x, x:y,}\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: "x{y:x, x:y,}" - - CircuitInit: - name: "{\"name\":\"Self\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":5,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"Self {}\\\"}\"}" - members: [] - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 8 - path: test - content: "Self {}" diff --git a/tests/expectations/parser/parser/expression/circuit_init_fail.leo.out b/tests/expectations/parser/parser/expression/circuit_init_fail.leo.out deleted file mode 100644 index 3aae92971f..0000000000 --- a/tests/expectations/parser/parser/expression/circuit_init_fail.leo.out +++ /dev/null @@ -1,16 +0,0 @@ ---- -namespace: ParseExpression -expectation: Fail -outputs: - - " --> test:1:3\n |\n 1 | x {\n | ^\n |\n = unexpected EOF" - - "did not consume all input: '}' @ 1:3-4\n" - - " --> test:1:4\n |\n 1 | x {,}\n | ^\n |\n = expected 'ident', got ','" - - " --> test:1:5\n |\n 1 | x { , }\n | ^\n |\n = expected 'ident', got ','" - - " --> test:1:4\n |\n 1 | x {,,,}\n | ^\n |\n = expected 'ident', got ','" - - " --> test:1:6\n |\n 1 | x {x,,}\n | ^\n |\n = expected 'ident', got ','" - - " --> test:1:4\n |\n 1 | x {,,x}\n | ^\n |\n = expected 'ident', got ','" - - " --> test:1:4\n |\n 1 | x {,x}\n | ^\n |\n = expected 'ident', got ','" - - " --> test:1:8\n |\n 1 | x {x:y,,}\n | ^\n |\n = expected 'ident', got ','" - - " --> test:1:4\n |\n 1 | x {,,x:y}\n | ^\n |\n = expected 'ident', got ','" - - " --> test:1:4\n |\n 1 | x {,x:y}\n | ^\n |\n = expected 'ident', got ','" - - " --> test:1:6\n |\n 1 | x {x:}\n | ^\n |\n = expected 'expression', got '}'" diff --git a/tests/expectations/parser/parser/expression/ident.leo.out b/tests/expectations/parser/parser/expression/ident.leo.out deleted file mode 100644 index a92fc0c1c8..0000000000 --- a/tests/expectations/parser/parser/expression/ident.leo.out +++ /dev/null @@ -1,23 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x\\\"}\"}" - - Identifier: "{\"name\":\"X\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"X\\\"}\"}" - - Identifier: "{\"name\":\"xxx\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":4,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"xxx\\\"}\"}" - - Identifier: "{\"name\":\"XXX\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":4,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"XXX\\\"}\"}" - - Identifier: "{\"name\":\"x1\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":3,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x1\\\"}\"}" - - Identifier: "{\"name\":\"xu32\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":5,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"xu32\\\"}\"}" - - Identifier: "{\"name\":\"testx\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"testx\\\"}\"}" - - Identifier: "{\"name\":\"truex\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"truex\\\"}\"}" - - Identifier: "{\"name\":\"TRUE\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":5,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"TRUE\\\"}\"}" - - Identifier: "{\"name\":\"testX\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"testX\\\"}\"}" - - Identifier: "{\"name\":\"letX\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":5,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"letX\\\"}\"}" - - Identifier: "{\"name\":\"constX\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":7,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"constX\\\"}\"}" - - Identifier: "{\"name\":\"test_test\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":10,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"test_test\\\"}\"}" - - Identifier: "{\"name\":\"self\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":5,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"self\\\"}\"}" - - Identifier: "{\"name\":\"Self\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":5,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"Self\\\"}\"}" - - Identifier: "{\"name\":\"input\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"input\\\"}\"}" - - Identifier: "{\"name\":\"selfX\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"selfX\\\"}\"}" - - Identifier: "{\"name\":\"SelfX\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"SelfX\\\"}\"}" - - Identifier: "{\"name\":\"inputX\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":7,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"inputX\\\"}\"}" diff --git a/tests/expectations/parser/parser/expression/literal/address.leo.out b/tests/expectations/parser/parser/expression/literal/address.leo.out deleted file mode 100644 index 04610e6ead..0000000000 --- a/tests/expectations/parser/parser/expression/literal/address.leo.out +++ /dev/null @@ -1,13 +0,0 @@ ---- -namespace: Token -expectation: Pass -outputs: - - "'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57j8' @ 1:1-64" - - "'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57j9' @ 1:1-64" - - "'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d9' @ 1:1-64" - - "'aleo1aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8st' @ 1:1-64" - - "'ALEO1' @ 1:1-6" - - "'Aleo1' @ 1:1-6" - - "'aleO1' @ 1:1-6" - - "'aleo2qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d9' @ 1:1-64" - - "'bleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d9' @ 1:1-64" diff --git a/tests/expectations/parser/parser/expression/literal/address_fail.leo.out b/tests/expectations/parser/parser/expression/literal/address_fail.leo.out deleted file mode 100644 index c0fc912fd4..0000000000 --- a/tests/expectations/parser/parser/expression/literal/address_fail.leo.out +++ /dev/null @@ -1,13 +0,0 @@ ---- -namespace: Token -expectation: Fail -outputs: - - " --> test:1:1\n |\n 1 | aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1aleo1\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1aleo1'" - - " --> test:1:1\n |\n 1 | aleo1qnr4dkkvkgfqph0vzc3y6Z2eu975wnpz2925ntjccd5cfqxtyu8sta57J9\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6Z2eu975wnpz2925ntjccd5cfqxtyu8sta57J9'" - - " --> test:1:1\n |\n 1 | aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d'" - - " --> test:1:1\n |\n 1 | aleo1\n | ^^^^^\n |\n = invalid address literal: 'aleo1'" - - " --> test:1:1\n |\n 1 | aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8st\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8st'" - - " --> test:1:1\n |\n 1 | aleo1\n | ^^^^^\n |\n = invalid address literal: 'aleo1'" - - " --> test:1:1\n |\n 1 | aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1aleo1\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1aleo1'" - - " --> test:1:1\n |\n 1 | aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d11\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d11'" - - " --> test:1:1\n |\n 1 | aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1x\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1x'" diff --git a/tests/expectations/parser/parser/expression/literal/address_parse.leo.out b/tests/expectations/parser/parser/expression/literal/address_parse.leo.out deleted file mode 100644 index ce2e019189..0000000000 --- a/tests/expectations/parser/parser/expression/literal/address_parse.leo.out +++ /dev/null @@ -1,40 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Value: - Address: - - aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57j8 - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 64 - path: test - content: aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57j8 - - Value: - Address: - - aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57j9 - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 64 - path: test - content: aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57j9 - - Value: - Address: - - aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d9 - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 64 - path: test - content: aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d9 - - Value: - Address: - - aleo1aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8st - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 64 - path: test - content: aleo1aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8st diff --git a/tests/expectations/parser/parser/expression/literal/bool.leo.out b/tests/expectations/parser/parser/expression/literal/bool.leo.out deleted file mode 100644 index 9222f3dd49..0000000000 --- a/tests/expectations/parser/parser/expression/literal/bool.leo.out +++ /dev/null @@ -1,12 +0,0 @@ ---- -namespace: Token -expectation: Pass -outputs: - - "'true' @ 1:1-5" - - "'True' @ 1:1-5" - - "'TRUE' @ 1:1-5" - - "'truE' @ 1:1-5" - - "'false' @ 1:1-6" - - "'False' @ 1:1-6" - - "'FALSE' @ 1:1-6" - - "'falsE' @ 1:1-6" diff --git a/tests/expectations/parser/parser/expression/literal/bool_parse.leo.out b/tests/expectations/parser/parser/expression/literal/bool_parse.leo.out deleted file mode 100644 index 85b9453e0b..0000000000 --- a/tests/expectations/parser/parser/expression/literal/bool_parse.leo.out +++ /dev/null @@ -1,22 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Value: - Boolean: - - "true" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 5 - path: test - content: "true" - - Value: - Boolean: - - "false" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: "false" diff --git a/tests/expectations/parser/parser/expression/literal/comment.leo.out b/tests/expectations/parser/parser/expression/literal/comment.leo.out deleted file mode 100644 index 9f4cc8a518..0000000000 --- a/tests/expectations/parser/parser/expression/literal/comment.leo.out +++ /dev/null @@ -1,22 +0,0 @@ ---- -namespace: Token -expectation: Pass -outputs: - - "'// test1' @ 1:1-9" - - "'// test2' @ 1:1-9" - - "'//test3' @ 1:1-8" - - "'/' @ 1:1-2,'/' @ 1:3-4,'test4' @ 1:5-10" - - "'/* test5 */' @ 1:1-12" - - "'/*' @ 1:1-3" - - "'test' @ 1:1-5,'6' @ 1:6-7,'*' @ 1:8-9,'/' @ 1:9-10" - - "'/* test 7' @ 1:1-10" - - "'*' @ 1:1-2,'/' @ 1:2-3" - - "'/*test8 */' @ 1:1-11" - - "'/* test9*/' @ 1:1-11" - - "'/*test10*/' @ 1:1-11" - - "'/*/**/' @ 1:1-7" - - "'/**/' @ 1:1-5" - - "'/*//*/' @ 1:1-7" - - "'/** /*/' @ 1:1-8" - - "'/** **/' @ 1:1-8" - - "'/*' @ 1:1-3" diff --git a/tests/expectations/parser/parser/expression/literal/formatted_string.leo.out b/tests/expectations/parser/parser/expression/literal/formatted_string.leo.out deleted file mode 100644 index 47fddf9292..0000000000 --- a/tests/expectations/parser/parser/expression/literal/formatted_string.leo.out +++ /dev/null @@ -1,24 +0,0 @@ ---- -namespace: Token -expectation: Pass -outputs: - - "'\"{}\"' @ 1:1-5" - - "'\" {} \"' @ 1:1-7" - - "'\"{}d\"' @ 1:1-6" - - "'\"{}D\"' @ 1:1-6" - - "'\"d{}\"' @ 1:1-6" - - "'\"D{}\"' @ 1:1-6" - - "'\"D{}D\"' @ 1:1-7" - - "'\"{}{}\"' @ 1:1-7" - - "'\"D{}{}D\"' @ 1:1-9" - - "'\"D{}{}\"' @ 1:1-8" - - "'\"{}{}D\"' @ 1:1-8" - - "'\"D{}D{}D\"' @ 1:1-10" - - "'\"{{}}\"' @ 1:1-7" - - "'\"}}\"' @ 1:1-5" - - "'\"{{\"' @ 1:1-5" - - "'\"}}{{\"' @ 1:1-7" - - "'\"{{}\"' @ 1:1-6" - - "'\"{}}\"' @ 1:1-6" - - "'\"{\"' @ 1:1-4" - - "'\"}\"' @ 1:1-4" diff --git a/tests/expectations/parser/parser/expression/literal/group.leo.out b/tests/expectations/parser/parser/expression/literal/group.leo.out deleted file mode 100644 index 2a4389526e..0000000000 --- a/tests/expectations/parser/parser/expression/literal/group.leo.out +++ /dev/null @@ -1,648 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Value: - Group: - Tuple: - x: SignHigh - y: Inferred - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 12 - path: test - content: "(+, _)group" - - Value: - Group: - Tuple: - x: Inferred - y: SignLow - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 12 - path: test - content: "(_, -)group" - - Value: - Group: - Tuple: - x: SignHigh - y: SignLow - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 12 - path: test - content: "(+, -)group" - - Value: - Group: - Tuple: - x: SignLow - y: SignHigh - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 12 - path: test - content: "(-, +)group" - - Value: - Group: - Tuple: - x: SignHigh - y: SignHigh - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 12 - path: test - content: "(+, +)group" - - Value: - Group: - Tuple: - x: SignLow - y: SignLow - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 12 - path: test - content: "(-, -)group" - - Value: - Group: - Tuple: - x: Inferred - y: Inferred - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 12 - path: test - content: "(_, _)group" - - Value: - Group: - Tuple: - x: - Number: - - "123" - - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 5 - path: test - content: "(123,-456)group" - y: - Number: - - "-456" - - line_start: 1 - line_stop: 1 - col_start: 7 - col_stop: 10 - path: test - content: "(123,-456)group" - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 16 - path: test - content: "(123,-456)group" - - Value: - Group: - Tuple: - x: - Number: - - "-123" - - line_start: 1 - line_stop: 1 - col_start: 3 - col_stop: 6 - path: test - content: "(-123,456)group" - y: - Number: - - "456" - - line_start: 1 - line_stop: 1 - col_start: 7 - col_stop: 10 - path: test - content: "(-123,456)group" - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 16 - path: test - content: "(-123,456)group" - - Value: - Group: - Tuple: - x: - Number: - - "-123" - - line_start: 1 - line_stop: 1 - col_start: 3 - col_stop: 6 - path: test - content: "(-123,456)group" - y: - Number: - - "456" - - line_start: 1 - line_stop: 1 - col_start: 7 - col_stop: 10 - path: test - content: "(-123,456)group" - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 16 - path: test - content: "(-123,456)group" - - Value: - Group: - Tuple: - x: - Number: - - "123" - - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 5 - path: test - content: "(123, _)group" - y: Inferred - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 14 - path: test - content: "(123, _)group" - - Value: - Group: - Tuple: - x: - Number: - - "123" - - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 5 - path: test - content: "(123, -)group" - y: SignLow - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 14 - path: test - content: "(123, -)group" - - Value: - Group: - Tuple: - x: - Number: - - "123" - - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 5 - path: test - content: "(123, -)group" - y: SignLow - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 14 - path: test - content: "(123, -)group" - - Value: - Group: - Tuple: - x: - Number: - - "123" - - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 5 - path: test - content: "(123, +)group" - y: SignHigh - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 14 - path: test - content: "(123, +)group" - - Value: - Group: - Tuple: - x: - Number: - - "123" - - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 5 - path: test - content: "(123, +)group" - y: SignHigh - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 14 - path: test - content: "(123, +)group" - - Value: - Group: - Tuple: - x: - Number: - - "123" - - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 5 - path: test - content: "(123, -)group" - y: SignLow - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 14 - path: test - content: "(123, -)group" - - Value: - Group: - Tuple: - x: - Number: - - "123" - - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 5 - path: test - content: "(123, _)group" - y: Inferred - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 14 - path: test - content: "(123, _)group" - - Value: - Group: - Tuple: - x: SignHigh - y: - Number: - - "345" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 8 - path: test - content: "(+, 345)group" - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 14 - path: test - content: "(+, 345)group" - - Value: - Group: - Tuple: - x: Inferred - y: - Number: - - "345" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 8 - path: test - content: "(_, 345)group" - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 14 - path: test - content: "(_, 345)group" - - Value: - Group: - Tuple: - x: SignHigh - y: - Number: - - "345" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 8 - path: test - content: "(+, 345)group" - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 14 - path: test - content: "(+, 345)group" - - Value: - Group: - Tuple: - x: SignLow - y: - Number: - - "345" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 8 - path: test - content: "(-, 345)group" - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 14 - path: test - content: "(-, 345)group" - - Value: - Group: - Tuple: - x: SignHigh - y: - Number: - - "345" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 8 - path: test - content: "(+, 345)group" - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 14 - path: test - content: "(+, 345)group" - - Value: - Group: - Tuple: - x: SignLow - y: - Number: - - "345" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 8 - path: test - content: "(-, 345)group" - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 14 - path: test - content: "(-, 345)group" - - Value: - Group: - Tuple: - x: Inferred - y: - Number: - - "345" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 8 - path: test - content: "(_, 345)group" - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 14 - path: test - content: "(_, 345)group" - - Value: - Group: - Tuple: - x: - Number: - - "123" - - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 5 - path: test - content: "(123, 456)group" - y: - Number: - - "456" - - line_start: 1 - line_stop: 1 - col_start: 7 - col_stop: 10 - path: test - content: "(123, 456)group" - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 16 - path: test - content: "(123, 456)group" - - Value: - Group: - Tuple: - x: - Number: - - "123" - - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 5 - path: test - content: "(123, 456)group" - y: - Number: - - "456" - - line_start: 1 - line_stop: 1 - col_start: 7 - col_stop: 10 - path: test - content: "(123, 456)group" - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 16 - path: test - content: "(123, 456)group" - - Value: - Group: - Tuple: - x: - Number: - - "123" - - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 5 - path: test - content: "(123, 456)group" - y: - Number: - - "456" - - line_start: 1 - line_stop: 1 - col_start: 7 - col_stop: 10 - path: test - content: "(123, 456)group" - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 16 - path: test - content: "(123, 456)group" - - Value: - Group: - Tuple: - x: - Number: - - "123" - - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 5 - path: test - content: "(123, 456)group" - y: - Number: - - "456" - - line_start: 1 - line_stop: 1 - col_start: 7 - col_stop: 10 - path: test - content: "(123, 456)group" - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 16 - path: test - content: "(123, 456)group" - - Value: - Group: - Tuple: - x: - Number: - - "123" - - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 5 - path: test - content: "(123, 456)group" - y: - Number: - - "456" - - line_start: 1 - line_stop: 1 - col_start: 7 - col_stop: 10 - path: test - content: "(123, 456)group" - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 16 - path: test - content: "(123, 456)group" - - Value: - Group: - Tuple: - x: - Number: - - "123" - - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 5 - path: test - content: "(123, 456)group" - y: - Number: - - "456" - - line_start: 1 - line_stop: 1 - col_start: 7 - col_stop: 10 - path: test - content: "(123, 456)group" - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 16 - path: test - content: "(123, 456)group" - - Value: - Group: - Tuple: - x: - Number: - - "123" - - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 5 - path: test - content: "(123, 456)group" - y: - Number: - - "456" - - line_start: 1 - line_stop: 1 - col_start: 7 - col_stop: 10 - path: test - content: "(123, 456)group" - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 16 - path: test - content: "(123, 456)group" diff --git a/tests/expectations/parser/parser/expression/literal/group_fail.leo.out b/tests/expectations/parser/parser/expression/literal/group_fail.leo.out deleted file mode 100644 index da65de24fa..0000000000 --- a/tests/expectations/parser/parser/expression/literal/group_fail.leo.out +++ /dev/null @@ -1,13 +0,0 @@ ---- -namespace: ParseExpression -expectation: Fail -outputs: - - " --> test:1:1\n |\n 1 | group\n | ^^^^^\n |\n = expected 'expression', got 'group'" - - "did not consume all input: 'group' @ 1:3-8\n" - - "did not consume all input: 'group' @ 1:6-11\n" - - " --> test:1:2\n |\n 1 | (,)group\n | ^\n |\n = expected 'expression', got ','" - - " --> test:1:2\n |\n 1 | (+, -,)group\n | ^\n |\n = expected 'expression', got '+'" - - " --> test:1:2\n |\n 1 | (,+, -)group\n | ^\n |\n = expected 'expression', got ','" - - "did not consume all input: 'group' @ 1:6-11\n" - - "did not consume all input: 'group' @ 1:12-17\n" - - "did not consume all input: 'group' @ 1:15-20\n" diff --git a/tests/expectations/parser/parser/expression/literal/int.leo.out b/tests/expectations/parser/parser/expression/literal/int.leo.out deleted file mode 100644 index ccac03f213..0000000000 --- a/tests/expectations/parser/parser/expression/literal/int.leo.out +++ /dev/null @@ -1,111 +0,0 @@ ---- -namespace: Token -expectation: Pass -outputs: - - "'123' @ 1:1-4,'abc123' @ 1:4-10" - - "'123' @ 1:1-4,'abc' @ 1:4-7" - - "'123' @ 1:1-4" - - "'456' @ 1:1-4" - - "'123' @ 1:1-4,'456' @ 1:5-8" - - "'87377802873778028737780287377802873778028737780287377802873778028737780287377802' @ 1:1-81" - - "'8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802' @ 1:1-401" - - "'340130024' @ 1:1-10" - - "'158951116' @ 1:1-10" - - "'155529659' @ 1:1-10" - - "'642023166' @ 1:1-10" - - "'228481736' @ 1:1-10" - - "'469712960' @ 1:1-10" - - "'929437719' @ 1:1-10" - - "'721072814' @ 1:1-10" - - "'363254789' @ 1:1-10" - - "'906732565' @ 1:1-10" - - "'288246391' @ 1:1-10" - - "'724940549' @ 1:1-10" - - "'487101620' @ 1:1-10" - - "'261373583' @ 1:1-10" - - "'891163927' @ 1:1-10" - - "'743967544' @ 1:1-10" - - "'8372586' @ 1:1-8" - - "'461793278' @ 1:1-10" - - "'806307045' @ 1:1-10" - - "'122764546' @ 1:1-10" - - "'356336181' @ 1:1-10" - - "'158370903' @ 1:1-10" - - "'774460877' @ 1:1-10" - - "'557174131' @ 1:1-10" - - "'492401267' @ 1:1-10" - - "'893445620' @ 1:1-10" - - "'957757048' @ 1:1-10" - - "'721540649' @ 1:1-10" - - "'390746493' @ 1:1-10" - - "'211251725' @ 1:1-10" - - "'938266114' @ 1:1-10" - - "'156985870' @ 1:1-10" - - "'703831126' @ 1:1-10" - - "'729964155' @ 1:1-10" - - "'988151305' @ 1:1-10" - - "'320872435' @ 1:1-10" - - "'719287167' @ 1:1-10" - - "'152289486' @ 1:1-10" - - "'740067975' @ 1:1-10" - - "'728627816' @ 1:1-10" - - "'385008978' @ 1:1-10" - - "'553967635' @ 1:1-10" - - "'71980713' @ 1:1-9" - - "'519444716' @ 1:1-10" - - "'116499965' @ 1:1-10" - - "'717422268' @ 1:1-10" - - "'18966279' @ 1:1-9" - - "'22458638' @ 1:1-9" - - "'857282620' @ 1:1-10" - - "'920675898' @ 1:1-10" - - "'762235516' @ 1:1-10" - - "'469018377' @ 1:1-10" - - "'199986521' @ 1:1-10" - - "'536679358' @ 1:1-10" - - "'591399452' @ 1:1-10" - - "'83083158' @ 1:1-9" - - "'599449051' @ 1:1-10" - - "'445442318' @ 1:1-10" - - "'585486590' @ 1:1-10" - - "'209278800' @ 1:1-10" - - "'873568117' @ 1:1-10" - - "'664470940' @ 1:1-10" - - "'465262783' @ 1:1-10" - - "'605652874' @ 1:1-10" - - "'376803940' @ 1:1-10" - - "'965247040' @ 1:1-10" - - "'598474509' @ 1:1-10" - - "'845119918' @ 1:1-10" - - "'648159133' @ 1:1-10" - - "'669051032' @ 1:1-10" - - "'800600261' @ 1:1-10" - - "'434689764' @ 1:1-10" - - "'520060080' @ 1:1-10" - - "'804659385' @ 1:1-10" - - "'537828058' @ 1:1-10" - - "'716600292' @ 1:1-10" - - "'387020273' @ 1:1-10" - - "'199375617' @ 1:1-10" - - "'680337189' @ 1:1-10" - - "'818479931' @ 1:1-10" - - "'893693281' @ 1:1-10" - - "'87377802' @ 1:1-9" - - "'84699261' @ 1:1-9" - - "'292826090' @ 1:1-10" - - "'569171405' @ 1:1-10" - - "'387436237' @ 1:1-10" - - "'150682190' @ 1:1-10" - - "'888770419' @ 1:1-10" - - "'824696431' @ 1:1-10" - - "'765659803' @ 1:1-10" - - "'270163693' @ 1:1-10" - - "'427940240' @ 1:1-10" - - "'504997332' @ 1:1-10" - - "'337808338' @ 1:1-10" - - "'907200008' @ 1:1-10" - - "'757177889' @ 1:1-10" - - "'696697188' @ 1:1-10" - - "'41376051' @ 1:1-9" - - "'496293518' @ 1:1-10" - - "'251218820' @ 1:1-10" diff --git a/tests/expectations/parser/parser/expression/literal/int_parse/field.leo.out b/tests/expectations/parser/parser/expression/literal/int_parse/field.leo.out deleted file mode 100644 index c7f5f3576f..0000000000 --- a/tests/expectations/parser/parser/expression/literal/int_parse/field.leo.out +++ /dev/null @@ -1,949 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Value: - Field: - - "123" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 9 - path: test - content: 123field - - Value: - Implicit: - - "123" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: "123" - - Value: - Field: - - "456" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 9 - path: test - content: 456field - - Value: - Field: - - "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 86 - path: test - content: 87377802873778028737780287377802873778028737780287377802873778028737780287377802field - - Value: - Field: - - "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 406 - path: test - content: 8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802field - - Value: - Field: - - "340130024" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 340130024field - - Value: - Field: - - "158951116" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 158951116field - - Value: - Field: - - "155529659" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 155529659field - - Value: - Field: - - "642023166" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 642023166field - - Value: - Field: - - "228481736" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 228481736field - - Value: - Field: - - "469712960" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 469712960field - - Value: - Field: - - "929437719" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 929437719field - - Value: - Field: - - "721072814" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 721072814field - - Value: - Field: - - "363254789" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 363254789field - - Value: - Field: - - "906732565" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 906732565field - - Value: - Field: - - "288246391" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 288246391field - - Value: - Field: - - "724940549" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 724940549field - - Value: - Field: - - "487101620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 487101620field - - Value: - Field: - - "261373583" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 261373583field - - Value: - Field: - - "891163927" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 891163927field - - Value: - Field: - - "743967544" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 743967544field - - Value: - Field: - - "8372586" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 8372586field - - Value: - Field: - - "461793278" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 461793278field - - Value: - Field: - - "806307045" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 806307045field - - Value: - Field: - - "122764546" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 122764546field - - Value: - Field: - - "356336181" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 356336181field - - Value: - Field: - - "158370903" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 158370903field - - Value: - Field: - - "774460877" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 774460877field - - Value: - Field: - - "557174131" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 557174131field - - Value: - Field: - - "492401267" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 492401267field - - Value: - Field: - - "893445620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 893445620field - - Value: - Field: - - "957757048" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 957757048field - - Value: - Field: - - "721540649" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 721540649field - - Value: - Field: - - "390746493" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 390746493field - - Value: - Field: - - "211251725" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 211251725field - - Value: - Field: - - "938266114" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 938266114field - - Value: - Field: - - "156985870" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 156985870field - - Value: - Field: - - "703831126" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 703831126field - - Value: - Field: - - "729964155" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 729964155field - - Value: - Field: - - "988151305" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 988151305field - - Value: - Field: - - "320872435" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 320872435field - - Value: - Field: - - "719287167" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 719287167field - - Value: - Field: - - "152289486" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 152289486field - - Value: - Field: - - "740067975" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 740067975field - - Value: - Field: - - "728627816" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 728627816field - - Value: - Field: - - "385008978" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 385008978field - - Value: - Field: - - "553967635" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 553967635field - - Value: - Field: - - "71980713" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 71980713field - - Value: - Field: - - "519444716" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 519444716field - - Value: - Field: - - "116499965" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 116499965field - - Value: - Field: - - "717422268" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 717422268field - - Value: - Field: - - "18966279" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 18966279field - - Value: - Field: - - "22458638" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 22458638field - - Value: - Field: - - "857282620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 857282620field - - Value: - Field: - - "920675898" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 920675898field - - Value: - Field: - - "762235516" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 762235516field - - Value: - Field: - - "469018377" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 469018377field - - Value: - Field: - - "199986521" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 199986521field - - Value: - Field: - - "536679358" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 536679358field - - Value: - Field: - - "591399452" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 591399452field - - Value: - Field: - - "83083158" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 83083158field - - Value: - Field: - - "599449051" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 599449051field - - Value: - Field: - - "445442318" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 445442318field - - Value: - Field: - - "585486590" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 585486590field - - Value: - Field: - - "209278800" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 209278800field - - Value: - Field: - - "873568117" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 873568117field - - Value: - Field: - - "664470940" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 664470940field - - Value: - Field: - - "465262783" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 465262783field - - Value: - Field: - - "605652874" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 605652874field - - Value: - Field: - - "376803940" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 376803940field - - Value: - Field: - - "965247040" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 965247040field - - Value: - Field: - - "598474509" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 598474509field - - Value: - Field: - - "845119918" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 845119918field - - Value: - Field: - - "648159133" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 648159133field - - Value: - Field: - - "669051032" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 669051032field - - Value: - Field: - - "800600261" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 800600261field - - Value: - Field: - - "434689764" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 434689764field - - Value: - Field: - - "520060080" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 520060080field - - Value: - Field: - - "804659385" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 804659385field - - Value: - Field: - - "537828058" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 537828058field - - Value: - Field: - - "716600292" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 716600292field - - Value: - Field: - - "387020273" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 387020273field - - Value: - Field: - - "199375617" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 199375617field - - Value: - Field: - - "680337189" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 680337189field - - Value: - Field: - - "818479931" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 818479931field - - Value: - Field: - - "893693281" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 893693281field - - Value: - Field: - - "87377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 87377802field - - Value: - Field: - - "84699261" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 84699261field - - Value: - Field: - - "292826090" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 292826090field - - Value: - Field: - - "569171405" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 569171405field - - Value: - Field: - - "387436237" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 387436237field - - Value: - Field: - - "150682190" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 150682190field - - Value: - Field: - - "888770419" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 888770419field - - Value: - Field: - - "824696431" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 824696431field - - Value: - Field: - - "765659803" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 765659803field - - Value: - Field: - - "270163693" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 270163693field - - Value: - Field: - - "427940240" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 427940240field - - Value: - Field: - - "504997332" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 504997332field - - Value: - Field: - - "337808338" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 337808338field - - Value: - Field: - - "907200008" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 907200008field - - Value: - Field: - - "757177889" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 757177889field - - Value: - Field: - - "696697188" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 696697188field - - Value: - Field: - - "41376051" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 41376051field - - Value: - Field: - - "496293518" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 496293518field - - Value: - Field: - - "251218820" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 251218820field diff --git a/tests/expectations/parser/parser/expression/literal/int_parse/i128.leo.out b/tests/expectations/parser/parser/expression/literal/int_parse/i128.leo.out deleted file mode 100644 index f0d886348f..0000000000 --- a/tests/expectations/parser/parser/expression/literal/int_parse/i128.leo.out +++ /dev/null @@ -1,1053 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Value: - Integer: - - I128 - - "123" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 8 - path: test - content: 123i128 - - Value: - Implicit: - - "123" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: "123" - - Value: - Integer: - - I128 - - "456" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 8 - path: test - content: 456i128 - - Value: - Integer: - - I128 - - "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 85 - path: test - content: 87377802873778028737780287377802873778028737780287377802873778028737780287377802i128 - - Value: - Integer: - - I128 - - "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 405 - path: test - content: 8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802i128 - - Value: - Integer: - - I128 - - "340130024" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 340130024i128 - - Value: - Integer: - - I128 - - "158951116" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 158951116i128 - - Value: - Integer: - - I128 - - "155529659" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 155529659i128 - - Value: - Integer: - - I128 - - "642023166" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 642023166i128 - - Value: - Integer: - - I128 - - "228481736" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 228481736i128 - - Value: - Integer: - - I128 - - "469712960" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 469712960i128 - - Value: - Integer: - - I128 - - "929437719" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 929437719i128 - - Value: - Integer: - - I128 - - "721072814" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 721072814i128 - - Value: - Integer: - - I128 - - "363254789" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 363254789i128 - - Value: - Integer: - - I128 - - "906732565" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 906732565i128 - - Value: - Integer: - - I128 - - "288246391" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 288246391i128 - - Value: - Integer: - - I128 - - "724940549" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 724940549i128 - - Value: - Integer: - - I128 - - "487101620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 487101620i128 - - Value: - Integer: - - I128 - - "261373583" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 261373583i128 - - Value: - Integer: - - I128 - - "891163927" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 891163927i128 - - Value: - Integer: - - I128 - - "743967544" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 743967544i128 - - Value: - Integer: - - I128 - - "8372586" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 8372586i128 - - Value: - Integer: - - I128 - - "461793278" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 461793278i128 - - Value: - Integer: - - I128 - - "806307045" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 806307045i128 - - Value: - Integer: - - I128 - - "122764546" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 122764546i128 - - Value: - Integer: - - I128 - - "356336181" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 356336181i128 - - Value: - Integer: - - I128 - - "158370903" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 158370903i128 - - Value: - Integer: - - I128 - - "774460877" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 774460877i128 - - Value: - Integer: - - I128 - - "557174131" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 557174131i128 - - Value: - Integer: - - I128 - - "492401267" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 492401267i128 - - Value: - Integer: - - I128 - - "893445620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 893445620i128 - - Value: - Integer: - - I128 - - "957757048" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 957757048i128 - - Value: - Integer: - - I128 - - "721540649" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 721540649i128 - - Value: - Integer: - - I128 - - "390746493" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 390746493i128 - - Value: - Integer: - - I128 - - "211251725" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 211251725i128 - - Value: - Integer: - - I128 - - "938266114" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 938266114i128 - - Value: - Integer: - - I128 - - "156985870" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 156985870i128 - - Value: - Integer: - - I128 - - "703831126" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 703831126i128 - - Value: - Integer: - - I128 - - "729964155" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 729964155i128 - - Value: - Integer: - - I128 - - "988151305" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 988151305i128 - - Value: - Integer: - - I128 - - "320872435" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 320872435i128 - - Value: - Integer: - - I128 - - "719287167" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 719287167i128 - - Value: - Integer: - - I128 - - "152289486" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 152289486i128 - - Value: - Integer: - - I128 - - "740067975" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 740067975i128 - - Value: - Integer: - - I128 - - "728627816" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 728627816i128 - - Value: - Integer: - - I128 - - "385008978" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 385008978i128 - - Value: - Integer: - - I128 - - "553967635" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 553967635i128 - - Value: - Integer: - - I128 - - "71980713" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 71980713i128 - - Value: - Integer: - - I128 - - "519444716" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 519444716i128 - - Value: - Integer: - - I128 - - "116499965" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 116499965i128 - - Value: - Integer: - - I128 - - "717422268" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 717422268i128 - - Value: - Integer: - - I128 - - "18966279" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 18966279i128 - - Value: - Integer: - - I128 - - "22458638" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 22458638i128 - - Value: - Integer: - - I128 - - "857282620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 857282620i128 - - Value: - Integer: - - I128 - - "920675898" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 920675898i128 - - Value: - Integer: - - I128 - - "762235516" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 762235516i128 - - Value: - Integer: - - I128 - - "469018377" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 469018377i128 - - Value: - Integer: - - I128 - - "199986521" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 199986521i128 - - Value: - Integer: - - I128 - - "536679358" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 536679358i128 - - Value: - Integer: - - I128 - - "591399452" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 591399452i128 - - Value: - Integer: - - I128 - - "83083158" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 83083158i128 - - Value: - Integer: - - I128 - - "599449051" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 599449051i128 - - Value: - Integer: - - I128 - - "445442318" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 445442318i128 - - Value: - Integer: - - I128 - - "585486590" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 585486590i128 - - Value: - Integer: - - I128 - - "209278800" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 209278800i128 - - Value: - Integer: - - I128 - - "873568117" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 873568117i128 - - Value: - Integer: - - I128 - - "664470940" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 664470940i128 - - Value: - Integer: - - I128 - - "465262783" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 465262783i128 - - Value: - Integer: - - I128 - - "605652874" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 605652874i128 - - Value: - Integer: - - I128 - - "376803940" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 376803940i128 - - Value: - Integer: - - I128 - - "965247040" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 965247040i128 - - Value: - Integer: - - I128 - - "598474509" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 598474509i128 - - Value: - Integer: - - I128 - - "845119918" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 845119918i128 - - Value: - Integer: - - I128 - - "648159133" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 648159133i128 - - Value: - Integer: - - I128 - - "669051032" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 669051032i128 - - Value: - Integer: - - I128 - - "800600261" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 800600261i128 - - Value: - Integer: - - I128 - - "434689764" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 434689764i128 - - Value: - Integer: - - I128 - - "520060080" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 520060080i128 - - Value: - Integer: - - I128 - - "804659385" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 804659385i128 - - Value: - Integer: - - I128 - - "537828058" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 537828058i128 - - Value: - Integer: - - I128 - - "716600292" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 716600292i128 - - Value: - Integer: - - I128 - - "387020273" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 387020273i128 - - Value: - Integer: - - I128 - - "199375617" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 199375617i128 - - Value: - Integer: - - I128 - - "680337189" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 680337189i128 - - Value: - Integer: - - I128 - - "818479931" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 818479931i128 - - Value: - Integer: - - I128 - - "893693281" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 893693281i128 - - Value: - Integer: - - I128 - - "87377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 87377802i128 - - Value: - Integer: - - I128 - - "84699261" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 84699261i128 - - Value: - Integer: - - I128 - - "292826090" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 292826090i128 - - Value: - Integer: - - I128 - - "569171405" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 569171405i128 - - Value: - Integer: - - I128 - - "387436237" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 387436237i128 - - Value: - Integer: - - I128 - - "150682190" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 150682190i128 - - Value: - Integer: - - I128 - - "888770419" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 888770419i128 - - Value: - Integer: - - I128 - - "824696431" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 824696431i128 - - Value: - Integer: - - I128 - - "765659803" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 765659803i128 - - Value: - Integer: - - I128 - - "270163693" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 270163693i128 - - Value: - Integer: - - I128 - - "427940240" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 427940240i128 - - Value: - Integer: - - I128 - - "504997332" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 504997332i128 - - Value: - Integer: - - I128 - - "337808338" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 337808338i128 - - Value: - Integer: - - I128 - - "907200008" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 907200008i128 - - Value: - Integer: - - I128 - - "757177889" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 757177889i128 - - Value: - Integer: - - I128 - - "696697188" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 696697188i128 - - Value: - Integer: - - I128 - - "41376051" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 41376051i128 - - Value: - Integer: - - I128 - - "496293518" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 496293518i128 - - Value: - Integer: - - I128 - - "251218820" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 251218820i128 diff --git a/tests/expectations/parser/parser/expression/literal/int_parse/i16.leo.out b/tests/expectations/parser/parser/expression/literal/int_parse/i16.leo.out deleted file mode 100644 index 82a8fc8b1b..0000000000 --- a/tests/expectations/parser/parser/expression/literal/int_parse/i16.leo.out +++ /dev/null @@ -1,1053 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Value: - Integer: - - I16 - - "123" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: 123i16 - - Value: - Implicit: - - "123" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: "123" - - Value: - Integer: - - I16 - - "456" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: 456i16 - - Value: - Integer: - - I16 - - "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 84 - path: test - content: 87377802873778028737780287377802873778028737780287377802873778028737780287377802i16 - - Value: - Integer: - - I16 - - "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 404 - path: test - content: 8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802i16 - - Value: - Integer: - - I16 - - "340130024" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 340130024i16 - - Value: - Integer: - - I16 - - "158951116" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 158951116i16 - - Value: - Integer: - - I16 - - "155529659" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 155529659i16 - - Value: - Integer: - - I16 - - "642023166" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 642023166i16 - - Value: - Integer: - - I16 - - "228481736" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 228481736i16 - - Value: - Integer: - - I16 - - "469712960" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 469712960i16 - - Value: - Integer: - - I16 - - "929437719" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 929437719i16 - - Value: - Integer: - - I16 - - "721072814" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 721072814i16 - - Value: - Integer: - - I16 - - "363254789" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 363254789i16 - - Value: - Integer: - - I16 - - "906732565" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 906732565i16 - - Value: - Integer: - - I16 - - "288246391" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 288246391i16 - - Value: - Integer: - - I16 - - "724940549" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 724940549i16 - - Value: - Integer: - - I16 - - "487101620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 487101620i16 - - Value: - Integer: - - I16 - - "261373583" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 261373583i16 - - Value: - Integer: - - I16 - - "891163927" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 891163927i16 - - Value: - Integer: - - I16 - - "743967544" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 743967544i16 - - Value: - Integer: - - I16 - - "8372586" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 11 - path: test - content: 8372586i16 - - Value: - Integer: - - I16 - - "461793278" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 461793278i16 - - Value: - Integer: - - I16 - - "806307045" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 806307045i16 - - Value: - Integer: - - I16 - - "122764546" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 122764546i16 - - Value: - Integer: - - I16 - - "356336181" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 356336181i16 - - Value: - Integer: - - I16 - - "158370903" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 158370903i16 - - Value: - Integer: - - I16 - - "774460877" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 774460877i16 - - Value: - Integer: - - I16 - - "557174131" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 557174131i16 - - Value: - Integer: - - I16 - - "492401267" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 492401267i16 - - Value: - Integer: - - I16 - - "893445620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 893445620i16 - - Value: - Integer: - - I16 - - "957757048" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 957757048i16 - - Value: - Integer: - - I16 - - "721540649" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 721540649i16 - - Value: - Integer: - - I16 - - "390746493" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 390746493i16 - - Value: - Integer: - - I16 - - "211251725" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 211251725i16 - - Value: - Integer: - - I16 - - "938266114" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 938266114i16 - - Value: - Integer: - - I16 - - "156985870" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 156985870i16 - - Value: - Integer: - - I16 - - "703831126" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 703831126i16 - - Value: - Integer: - - I16 - - "729964155" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 729964155i16 - - Value: - Integer: - - I16 - - "988151305" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 988151305i16 - - Value: - Integer: - - I16 - - "320872435" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 320872435i16 - - Value: - Integer: - - I16 - - "719287167" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 719287167i16 - - Value: - Integer: - - I16 - - "152289486" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 152289486i16 - - Value: - Integer: - - I16 - - "740067975" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 740067975i16 - - Value: - Integer: - - I16 - - "728627816" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 728627816i16 - - Value: - Integer: - - I16 - - "385008978" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 385008978i16 - - Value: - Integer: - - I16 - - "553967635" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 553967635i16 - - Value: - Integer: - - I16 - - "71980713" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 71980713i16 - - Value: - Integer: - - I16 - - "519444716" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 519444716i16 - - Value: - Integer: - - I16 - - "116499965" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 116499965i16 - - Value: - Integer: - - I16 - - "717422268" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 717422268i16 - - Value: - Integer: - - I16 - - "18966279" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 18966279i16 - - Value: - Integer: - - I16 - - "22458638" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 22458638i16 - - Value: - Integer: - - I16 - - "857282620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 857282620i16 - - Value: - Integer: - - I16 - - "920675898" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 920675898i16 - - Value: - Integer: - - I16 - - "762235516" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 762235516i16 - - Value: - Integer: - - I16 - - "469018377" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 469018377i16 - - Value: - Integer: - - I16 - - "199986521" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 199986521i16 - - Value: - Integer: - - I16 - - "536679358" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 536679358i16 - - Value: - Integer: - - I16 - - "591399452" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 591399452i16 - - Value: - Integer: - - I16 - - "83083158" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 83083158i16 - - Value: - Integer: - - I16 - - "599449051" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 599449051i16 - - Value: - Integer: - - I16 - - "445442318" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 445442318i16 - - Value: - Integer: - - I16 - - "585486590" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 585486590i16 - - Value: - Integer: - - I16 - - "209278800" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 209278800i16 - - Value: - Integer: - - I16 - - "873568117" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 873568117i16 - - Value: - Integer: - - I16 - - "664470940" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 664470940i16 - - Value: - Integer: - - I16 - - "465262783" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 465262783i16 - - Value: - Integer: - - I16 - - "605652874" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 605652874i16 - - Value: - Integer: - - I16 - - "376803940" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 376803940i16 - - Value: - Integer: - - I16 - - "965247040" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 965247040i16 - - Value: - Integer: - - I16 - - "598474509" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 598474509i16 - - Value: - Integer: - - I16 - - "845119918" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 845119918i16 - - Value: - Integer: - - I16 - - "648159133" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 648159133i16 - - Value: - Integer: - - I16 - - "669051032" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 669051032i16 - - Value: - Integer: - - I16 - - "800600261" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 800600261i16 - - Value: - Integer: - - I16 - - "434689764" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 434689764i16 - - Value: - Integer: - - I16 - - "520060080" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 520060080i16 - - Value: - Integer: - - I16 - - "804659385" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 804659385i16 - - Value: - Integer: - - I16 - - "537828058" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 537828058i16 - - Value: - Integer: - - I16 - - "716600292" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 716600292i16 - - Value: - Integer: - - I16 - - "387020273" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 387020273i16 - - Value: - Integer: - - I16 - - "199375617" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 199375617i16 - - Value: - Integer: - - I16 - - "680337189" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 680337189i16 - - Value: - Integer: - - I16 - - "818479931" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 818479931i16 - - Value: - Integer: - - I16 - - "893693281" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 893693281i16 - - Value: - Integer: - - I16 - - "87377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 87377802i16 - - Value: - Integer: - - I16 - - "84699261" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 84699261i16 - - Value: - Integer: - - I16 - - "292826090" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 292826090i16 - - Value: - Integer: - - I16 - - "569171405" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 569171405i16 - - Value: - Integer: - - I16 - - "387436237" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 387436237i16 - - Value: - Integer: - - I16 - - "150682190" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 150682190i16 - - Value: - Integer: - - I16 - - "888770419" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 888770419i16 - - Value: - Integer: - - I16 - - "824696431" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 824696431i16 - - Value: - Integer: - - I16 - - "765659803" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 765659803i16 - - Value: - Integer: - - I16 - - "270163693" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 270163693i16 - - Value: - Integer: - - I16 - - "427940240" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 427940240i16 - - Value: - Integer: - - I16 - - "504997332" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 504997332i16 - - Value: - Integer: - - I16 - - "337808338" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 337808338i16 - - Value: - Integer: - - I16 - - "907200008" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 907200008i16 - - Value: - Integer: - - I16 - - "757177889" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 757177889i16 - - Value: - Integer: - - I16 - - "696697188" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 696697188i16 - - Value: - Integer: - - I16 - - "41376051" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 41376051i16 - - Value: - Integer: - - I16 - - "496293518" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 496293518i16 - - Value: - Integer: - - I16 - - "251218820" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 251218820i16 diff --git a/tests/expectations/parser/parser/expression/literal/int_parse/i32.leo.out b/tests/expectations/parser/parser/expression/literal/int_parse/i32.leo.out deleted file mode 100644 index 82d66bdbf5..0000000000 --- a/tests/expectations/parser/parser/expression/literal/int_parse/i32.leo.out +++ /dev/null @@ -1,1053 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Value: - Integer: - - I32 - - "123" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: 123i32 - - Value: - Implicit: - - "123" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: "123" - - Value: - Integer: - - I32 - - "456" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: 456i32 - - Value: - Integer: - - I32 - - "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 84 - path: test - content: 87377802873778028737780287377802873778028737780287377802873778028737780287377802i32 - - Value: - Integer: - - I32 - - "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 404 - path: test - content: 8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802i32 - - Value: - Integer: - - I32 - - "340130024" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 340130024i32 - - Value: - Integer: - - I32 - - "158951116" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 158951116i32 - - Value: - Integer: - - I32 - - "155529659" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 155529659i32 - - Value: - Integer: - - I32 - - "642023166" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 642023166i32 - - Value: - Integer: - - I32 - - "228481736" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 228481736i32 - - Value: - Integer: - - I32 - - "469712960" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 469712960i32 - - Value: - Integer: - - I32 - - "929437719" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 929437719i32 - - Value: - Integer: - - I32 - - "721072814" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 721072814i32 - - Value: - Integer: - - I32 - - "363254789" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 363254789i32 - - Value: - Integer: - - I32 - - "906732565" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 906732565i32 - - Value: - Integer: - - I32 - - "288246391" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 288246391i32 - - Value: - Integer: - - I32 - - "724940549" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 724940549i32 - - Value: - Integer: - - I32 - - "487101620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 487101620i32 - - Value: - Integer: - - I32 - - "261373583" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 261373583i32 - - Value: - Integer: - - I32 - - "891163927" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 891163927i32 - - Value: - Integer: - - I32 - - "743967544" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 743967544i32 - - Value: - Integer: - - I32 - - "8372586" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 11 - path: test - content: 8372586i32 - - Value: - Integer: - - I32 - - "461793278" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 461793278i32 - - Value: - Integer: - - I32 - - "806307045" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 806307045i32 - - Value: - Integer: - - I32 - - "122764546" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 122764546i32 - - Value: - Integer: - - I32 - - "356336181" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 356336181i32 - - Value: - Integer: - - I32 - - "158370903" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 158370903i32 - - Value: - Integer: - - I32 - - "774460877" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 774460877i32 - - Value: - Integer: - - I32 - - "557174131" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 557174131i32 - - Value: - Integer: - - I32 - - "492401267" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 492401267i32 - - Value: - Integer: - - I32 - - "893445620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 893445620i32 - - Value: - Integer: - - I32 - - "957757048" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 957757048i32 - - Value: - Integer: - - I32 - - "721540649" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 721540649i32 - - Value: - Integer: - - I32 - - "390746493" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 390746493i32 - - Value: - Integer: - - I32 - - "211251725" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 211251725i32 - - Value: - Integer: - - I32 - - "938266114" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 938266114i32 - - Value: - Integer: - - I32 - - "156985870" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 156985870i32 - - Value: - Integer: - - I32 - - "703831126" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 703831126i32 - - Value: - Integer: - - I32 - - "729964155" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 729964155i32 - - Value: - Integer: - - I32 - - "988151305" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 988151305i32 - - Value: - Integer: - - I32 - - "320872435" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 320872435i32 - - Value: - Integer: - - I32 - - "719287167" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 719287167i32 - - Value: - Integer: - - I32 - - "152289486" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 152289486i32 - - Value: - Integer: - - I32 - - "740067975" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 740067975i32 - - Value: - Integer: - - I32 - - "728627816" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 728627816i32 - - Value: - Integer: - - I32 - - "385008978" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 385008978i32 - - Value: - Integer: - - I32 - - "553967635" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 553967635i32 - - Value: - Integer: - - I32 - - "71980713" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 71980713i32 - - Value: - Integer: - - I32 - - "519444716" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 519444716i32 - - Value: - Integer: - - I32 - - "116499965" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 116499965i32 - - Value: - Integer: - - I32 - - "717422268" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 717422268i32 - - Value: - Integer: - - I32 - - "18966279" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 18966279i32 - - Value: - Integer: - - I32 - - "22458638" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 22458638i32 - - Value: - Integer: - - I32 - - "857282620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 857282620i32 - - Value: - Integer: - - I32 - - "920675898" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 920675898i32 - - Value: - Integer: - - I32 - - "762235516" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 762235516i32 - - Value: - Integer: - - I32 - - "469018377" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 469018377i32 - - Value: - Integer: - - I32 - - "199986521" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 199986521i32 - - Value: - Integer: - - I32 - - "536679358" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 536679358i32 - - Value: - Integer: - - I32 - - "591399452" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 591399452i32 - - Value: - Integer: - - I32 - - "83083158" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 83083158i32 - - Value: - Integer: - - I32 - - "599449051" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 599449051i32 - - Value: - Integer: - - I32 - - "445442318" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 445442318i32 - - Value: - Integer: - - I32 - - "585486590" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 585486590i32 - - Value: - Integer: - - I32 - - "209278800" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 209278800i32 - - Value: - Integer: - - I32 - - "873568117" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 873568117i32 - - Value: - Integer: - - I32 - - "664470940" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 664470940i32 - - Value: - Integer: - - I32 - - "465262783" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 465262783i32 - - Value: - Integer: - - I32 - - "605652874" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 605652874i32 - - Value: - Integer: - - I32 - - "376803940" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 376803940i32 - - Value: - Integer: - - I32 - - "965247040" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 965247040i32 - - Value: - Integer: - - I32 - - "598474509" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 598474509i32 - - Value: - Integer: - - I32 - - "845119918" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 845119918i32 - - Value: - Integer: - - I32 - - "648159133" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 648159133i32 - - Value: - Integer: - - I32 - - "669051032" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 669051032i32 - - Value: - Integer: - - I32 - - "800600261" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 800600261i32 - - Value: - Integer: - - I32 - - "434689764" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 434689764i32 - - Value: - Integer: - - I32 - - "520060080" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 520060080i32 - - Value: - Integer: - - I32 - - "804659385" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 804659385i32 - - Value: - Integer: - - I32 - - "537828058" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 537828058i32 - - Value: - Integer: - - I32 - - "716600292" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 716600292i32 - - Value: - Integer: - - I32 - - "387020273" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 387020273i32 - - Value: - Integer: - - I32 - - "199375617" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 199375617i32 - - Value: - Integer: - - I32 - - "680337189" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 680337189i32 - - Value: - Integer: - - I32 - - "818479931" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 818479931i32 - - Value: - Integer: - - I32 - - "893693281" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 893693281i32 - - Value: - Integer: - - I32 - - "87377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 87377802i32 - - Value: - Integer: - - I32 - - "84699261" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 84699261i32 - - Value: - Integer: - - I32 - - "292826090" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 292826090i32 - - Value: - Integer: - - I32 - - "569171405" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 569171405i32 - - Value: - Integer: - - I32 - - "387436237" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 387436237i32 - - Value: - Integer: - - I32 - - "150682190" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 150682190i32 - - Value: - Integer: - - I32 - - "888770419" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 888770419i32 - - Value: - Integer: - - I32 - - "824696431" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 824696431i32 - - Value: - Integer: - - I32 - - "765659803" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 765659803i32 - - Value: - Integer: - - I32 - - "270163693" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 270163693i32 - - Value: - Integer: - - I32 - - "427940240" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 427940240i32 - - Value: - Integer: - - I32 - - "504997332" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 504997332i32 - - Value: - Integer: - - I32 - - "337808338" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 337808338i32 - - Value: - Integer: - - I32 - - "907200008" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 907200008i32 - - Value: - Integer: - - I32 - - "757177889" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 757177889i32 - - Value: - Integer: - - I32 - - "696697188" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 696697188i32 - - Value: - Integer: - - I32 - - "41376051" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 41376051i32 - - Value: - Integer: - - I32 - - "496293518" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 496293518i32 - - Value: - Integer: - - I32 - - "251218820" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 251218820i32 diff --git a/tests/expectations/parser/parser/expression/literal/int_parse/i64.leo.out b/tests/expectations/parser/parser/expression/literal/int_parse/i64.leo.out deleted file mode 100644 index 24949c2f99..0000000000 --- a/tests/expectations/parser/parser/expression/literal/int_parse/i64.leo.out +++ /dev/null @@ -1,1053 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Value: - Integer: - - I64 - - "123" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: 123i64 - - Value: - Implicit: - - "123" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: "123" - - Value: - Integer: - - I64 - - "456" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: 456i64 - - Value: - Integer: - - I64 - - "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 84 - path: test - content: 87377802873778028737780287377802873778028737780287377802873778028737780287377802i64 - - Value: - Integer: - - I64 - - "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 404 - path: test - content: 8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802i64 - - Value: - Integer: - - I64 - - "340130024" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 340130024i64 - - Value: - Integer: - - I64 - - "158951116" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 158951116i64 - - Value: - Integer: - - I64 - - "155529659" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 155529659i64 - - Value: - Integer: - - I64 - - "642023166" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 642023166i64 - - Value: - Integer: - - I64 - - "228481736" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 228481736i64 - - Value: - Integer: - - I64 - - "469712960" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 469712960i64 - - Value: - Integer: - - I64 - - "929437719" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 929437719i64 - - Value: - Integer: - - I64 - - "721072814" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 721072814i64 - - Value: - Integer: - - I64 - - "363254789" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 363254789i64 - - Value: - Integer: - - I64 - - "906732565" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 906732565i64 - - Value: - Integer: - - I64 - - "288246391" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 288246391i64 - - Value: - Integer: - - I64 - - "724940549" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 724940549i64 - - Value: - Integer: - - I64 - - "487101620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 487101620i64 - - Value: - Integer: - - I64 - - "261373583" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 261373583i64 - - Value: - Integer: - - I64 - - "891163927" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 891163927i64 - - Value: - Integer: - - I64 - - "743967544" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 743967544i64 - - Value: - Integer: - - I64 - - "8372586" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 11 - path: test - content: 8372586i64 - - Value: - Integer: - - I64 - - "461793278" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 461793278i64 - - Value: - Integer: - - I64 - - "806307045" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 806307045i64 - - Value: - Integer: - - I64 - - "122764546" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 122764546i64 - - Value: - Integer: - - I64 - - "356336181" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 356336181i64 - - Value: - Integer: - - I64 - - "158370903" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 158370903i64 - - Value: - Integer: - - I64 - - "774460877" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 774460877i64 - - Value: - Integer: - - I64 - - "557174131" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 557174131i64 - - Value: - Integer: - - I64 - - "492401267" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 492401267i64 - - Value: - Integer: - - I64 - - "893445620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 893445620i64 - - Value: - Integer: - - I64 - - "957757048" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 957757048i64 - - Value: - Integer: - - I64 - - "721540649" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 721540649i64 - - Value: - Integer: - - I64 - - "390746493" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 390746493i64 - - Value: - Integer: - - I64 - - "211251725" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 211251725i64 - - Value: - Integer: - - I64 - - "938266114" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 938266114i64 - - Value: - Integer: - - I64 - - "156985870" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 156985870i64 - - Value: - Integer: - - I64 - - "703831126" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 703831126i64 - - Value: - Integer: - - I64 - - "729964155" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 729964155i64 - - Value: - Integer: - - I64 - - "988151305" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 988151305i64 - - Value: - Integer: - - I64 - - "320872435" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 320872435i64 - - Value: - Integer: - - I64 - - "719287167" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 719287167i64 - - Value: - Integer: - - I64 - - "152289486" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 152289486i64 - - Value: - Integer: - - I64 - - "740067975" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 740067975i64 - - Value: - Integer: - - I64 - - "728627816" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 728627816i64 - - Value: - Integer: - - I64 - - "385008978" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 385008978i64 - - Value: - Integer: - - I64 - - "553967635" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 553967635i64 - - Value: - Integer: - - I64 - - "71980713" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 71980713i64 - - Value: - Integer: - - I64 - - "519444716" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 519444716i64 - - Value: - Integer: - - I64 - - "116499965" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 116499965i64 - - Value: - Integer: - - I64 - - "717422268" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 717422268i64 - - Value: - Integer: - - I64 - - "18966279" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 18966279i64 - - Value: - Integer: - - I64 - - "22458638" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 22458638i64 - - Value: - Integer: - - I64 - - "857282620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 857282620i64 - - Value: - Integer: - - I64 - - "920675898" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 920675898i64 - - Value: - Integer: - - I64 - - "762235516" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 762235516i64 - - Value: - Integer: - - I64 - - "469018377" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 469018377i64 - - Value: - Integer: - - I64 - - "199986521" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 199986521i64 - - Value: - Integer: - - I64 - - "536679358" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 536679358i64 - - Value: - Integer: - - I64 - - "591399452" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 591399452i64 - - Value: - Integer: - - I64 - - "83083158" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 83083158i64 - - Value: - Integer: - - I64 - - "599449051" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 599449051i64 - - Value: - Integer: - - I64 - - "445442318" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 445442318i64 - - Value: - Integer: - - I64 - - "585486590" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 585486590i64 - - Value: - Integer: - - I64 - - "209278800" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 209278800i64 - - Value: - Integer: - - I64 - - "873568117" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 873568117i64 - - Value: - Integer: - - I64 - - "664470940" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 664470940i64 - - Value: - Integer: - - I64 - - "465262783" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 465262783i64 - - Value: - Integer: - - I64 - - "605652874" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 605652874i64 - - Value: - Integer: - - I64 - - "376803940" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 376803940i64 - - Value: - Integer: - - I64 - - "965247040" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 965247040i64 - - Value: - Integer: - - I64 - - "598474509" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 598474509i64 - - Value: - Integer: - - I64 - - "845119918" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 845119918i64 - - Value: - Integer: - - I64 - - "648159133" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 648159133i64 - - Value: - Integer: - - I64 - - "669051032" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 669051032i64 - - Value: - Integer: - - I64 - - "800600261" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 800600261i64 - - Value: - Integer: - - I64 - - "434689764" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 434689764i64 - - Value: - Integer: - - I64 - - "520060080" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 520060080i64 - - Value: - Integer: - - I64 - - "804659385" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 804659385i64 - - Value: - Integer: - - I64 - - "537828058" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 537828058i64 - - Value: - Integer: - - I64 - - "716600292" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 716600292i64 - - Value: - Integer: - - I64 - - "387020273" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 387020273i64 - - Value: - Integer: - - I64 - - "199375617" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 199375617i64 - - Value: - Integer: - - I64 - - "680337189" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 680337189i64 - - Value: - Integer: - - I64 - - "818479931" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 818479931i64 - - Value: - Integer: - - I64 - - "893693281" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 893693281i64 - - Value: - Integer: - - I64 - - "87377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 87377802i64 - - Value: - Integer: - - I64 - - "84699261" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 84699261i64 - - Value: - Integer: - - I64 - - "292826090" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 292826090i64 - - Value: - Integer: - - I64 - - "569171405" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 569171405i64 - - Value: - Integer: - - I64 - - "387436237" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 387436237i64 - - Value: - Integer: - - I64 - - "150682190" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 150682190i64 - - Value: - Integer: - - I64 - - "888770419" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 888770419i64 - - Value: - Integer: - - I64 - - "824696431" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 824696431i64 - - Value: - Integer: - - I64 - - "765659803" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 765659803i64 - - Value: - Integer: - - I64 - - "270163693" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 270163693i64 - - Value: - Integer: - - I64 - - "427940240" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 427940240i64 - - Value: - Integer: - - I64 - - "504997332" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 504997332i64 - - Value: - Integer: - - I64 - - "337808338" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 337808338i64 - - Value: - Integer: - - I64 - - "907200008" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 907200008i64 - - Value: - Integer: - - I64 - - "757177889" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 757177889i64 - - Value: - Integer: - - I64 - - "696697188" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 696697188i64 - - Value: - Integer: - - I64 - - "41376051" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 41376051i64 - - Value: - Integer: - - I64 - - "496293518" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 496293518i64 - - Value: - Integer: - - I64 - - "251218820" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 251218820i64 diff --git a/tests/expectations/parser/parser/expression/literal/int_parse/i8.leo.out b/tests/expectations/parser/parser/expression/literal/int_parse/i8.leo.out deleted file mode 100644 index 7b06304a6a..0000000000 --- a/tests/expectations/parser/parser/expression/literal/int_parse/i8.leo.out +++ /dev/null @@ -1,1053 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Value: - Integer: - - I8 - - "123" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 123i8 - - Value: - Implicit: - - "123" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: "123" - - Value: - Integer: - - I8 - - "456" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 456i8 - - Value: - Integer: - - I8 - - "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 83 - path: test - content: 87377802873778028737780287377802873778028737780287377802873778028737780287377802i8 - - Value: - Integer: - - I8 - - "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 403 - path: test - content: 8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802i8 - - Value: - Integer: - - I8 - - "340130024" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 340130024i8 - - Value: - Integer: - - I8 - - "158951116" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 158951116i8 - - Value: - Integer: - - I8 - - "155529659" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 155529659i8 - - Value: - Integer: - - I8 - - "642023166" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 642023166i8 - - Value: - Integer: - - I8 - - "228481736" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 228481736i8 - - Value: - Integer: - - I8 - - "469712960" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 469712960i8 - - Value: - Integer: - - I8 - - "929437719" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 929437719i8 - - Value: - Integer: - - I8 - - "721072814" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 721072814i8 - - Value: - Integer: - - I8 - - "363254789" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 363254789i8 - - Value: - Integer: - - I8 - - "906732565" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 906732565i8 - - Value: - Integer: - - I8 - - "288246391" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 288246391i8 - - Value: - Integer: - - I8 - - "724940549" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 724940549i8 - - Value: - Integer: - - I8 - - "487101620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 487101620i8 - - Value: - Integer: - - I8 - - "261373583" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 261373583i8 - - Value: - Integer: - - I8 - - "891163927" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 891163927i8 - - Value: - Integer: - - I8 - - "743967544" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 743967544i8 - - Value: - Integer: - - I8 - - "8372586" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: 8372586i8 - - Value: - Integer: - - I8 - - "461793278" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 461793278i8 - - Value: - Integer: - - I8 - - "806307045" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 806307045i8 - - Value: - Integer: - - I8 - - "122764546" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 122764546i8 - - Value: - Integer: - - I8 - - "356336181" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 356336181i8 - - Value: - Integer: - - I8 - - "158370903" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 158370903i8 - - Value: - Integer: - - I8 - - "774460877" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 774460877i8 - - Value: - Integer: - - I8 - - "557174131" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 557174131i8 - - Value: - Integer: - - I8 - - "492401267" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 492401267i8 - - Value: - Integer: - - I8 - - "893445620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 893445620i8 - - Value: - Integer: - - I8 - - "957757048" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 957757048i8 - - Value: - Integer: - - I8 - - "721540649" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 721540649i8 - - Value: - Integer: - - I8 - - "390746493" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 390746493i8 - - Value: - Integer: - - I8 - - "211251725" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 211251725i8 - - Value: - Integer: - - I8 - - "938266114" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 938266114i8 - - Value: - Integer: - - I8 - - "156985870" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 156985870i8 - - Value: - Integer: - - I8 - - "703831126" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 703831126i8 - - Value: - Integer: - - I8 - - "729964155" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 729964155i8 - - Value: - Integer: - - I8 - - "988151305" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 988151305i8 - - Value: - Integer: - - I8 - - "320872435" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 320872435i8 - - Value: - Integer: - - I8 - - "719287167" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 719287167i8 - - Value: - Integer: - - I8 - - "152289486" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 152289486i8 - - Value: - Integer: - - I8 - - "740067975" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 740067975i8 - - Value: - Integer: - - I8 - - "728627816" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 728627816i8 - - Value: - Integer: - - I8 - - "385008978" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 385008978i8 - - Value: - Integer: - - I8 - - "553967635" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 553967635i8 - - Value: - Integer: - - I8 - - "71980713" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 11 - path: test - content: 71980713i8 - - Value: - Integer: - - I8 - - "519444716" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 519444716i8 - - Value: - Integer: - - I8 - - "116499965" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 116499965i8 - - Value: - Integer: - - I8 - - "717422268" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 717422268i8 - - Value: - Integer: - - I8 - - "18966279" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 11 - path: test - content: 18966279i8 - - Value: - Integer: - - I8 - - "22458638" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 11 - path: test - content: 22458638i8 - - Value: - Integer: - - I8 - - "857282620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 857282620i8 - - Value: - Integer: - - I8 - - "920675898" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 920675898i8 - - Value: - Integer: - - I8 - - "762235516" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 762235516i8 - - Value: - Integer: - - I8 - - "469018377" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 469018377i8 - - Value: - Integer: - - I8 - - "199986521" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 199986521i8 - - Value: - Integer: - - I8 - - "536679358" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 536679358i8 - - Value: - Integer: - - I8 - - "591399452" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 591399452i8 - - Value: - Integer: - - I8 - - "83083158" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 11 - path: test - content: 83083158i8 - - Value: - Integer: - - I8 - - "599449051" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 599449051i8 - - Value: - Integer: - - I8 - - "445442318" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 445442318i8 - - Value: - Integer: - - I8 - - "585486590" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 585486590i8 - - Value: - Integer: - - I8 - - "209278800" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 209278800i8 - - Value: - Integer: - - I8 - - "873568117" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 873568117i8 - - Value: - Integer: - - I8 - - "664470940" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 664470940i8 - - Value: - Integer: - - I8 - - "465262783" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 465262783i8 - - Value: - Integer: - - I8 - - "605652874" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 605652874i8 - - Value: - Integer: - - I8 - - "376803940" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 376803940i8 - - Value: - Integer: - - I8 - - "965247040" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 965247040i8 - - Value: - Integer: - - I8 - - "598474509" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 598474509i8 - - Value: - Integer: - - I8 - - "845119918" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 845119918i8 - - Value: - Integer: - - I8 - - "648159133" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 648159133i8 - - Value: - Integer: - - I8 - - "669051032" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 669051032i8 - - Value: - Integer: - - I8 - - "800600261" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 800600261i8 - - Value: - Integer: - - I8 - - "434689764" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 434689764i8 - - Value: - Integer: - - I8 - - "520060080" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 520060080i8 - - Value: - Integer: - - I8 - - "804659385" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 804659385i8 - - Value: - Integer: - - I8 - - "537828058" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 537828058i8 - - Value: - Integer: - - I8 - - "716600292" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 716600292i8 - - Value: - Integer: - - I8 - - "387020273" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 387020273i8 - - Value: - Integer: - - I8 - - "199375617" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 199375617i8 - - Value: - Integer: - - I8 - - "680337189" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 680337189i8 - - Value: - Integer: - - I8 - - "818479931" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 818479931i8 - - Value: - Integer: - - I8 - - "893693281" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 893693281i8 - - Value: - Integer: - - I8 - - "87377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 11 - path: test - content: 87377802i8 - - Value: - Integer: - - I8 - - "84699261" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 11 - path: test - content: 84699261i8 - - Value: - Integer: - - I8 - - "292826090" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 292826090i8 - - Value: - Integer: - - I8 - - "569171405" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 569171405i8 - - Value: - Integer: - - I8 - - "387436237" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 387436237i8 - - Value: - Integer: - - I8 - - "150682190" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 150682190i8 - - Value: - Integer: - - I8 - - "888770419" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 888770419i8 - - Value: - Integer: - - I8 - - "824696431" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 824696431i8 - - Value: - Integer: - - I8 - - "765659803" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 765659803i8 - - Value: - Integer: - - I8 - - "270163693" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 270163693i8 - - Value: - Integer: - - I8 - - "427940240" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 427940240i8 - - Value: - Integer: - - I8 - - "504997332" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 504997332i8 - - Value: - Integer: - - I8 - - "337808338" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 337808338i8 - - Value: - Integer: - - I8 - - "907200008" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 907200008i8 - - Value: - Integer: - - I8 - - "757177889" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 757177889i8 - - Value: - Integer: - - I8 - - "696697188" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 696697188i8 - - Value: - Integer: - - I8 - - "41376051" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 11 - path: test - content: 41376051i8 - - Value: - Integer: - - I8 - - "496293518" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 496293518i8 - - Value: - Integer: - - I8 - - "251218820" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 251218820i8 diff --git a/tests/expectations/parser/parser/expression/literal/int_parse/implicit.leo.out b/tests/expectations/parser/parser/expression/literal/int_parse/implicit.leo.out deleted file mode 100644 index 43e759dcc6..0000000000 --- a/tests/expectations/parser/parser/expression/literal/int_parse/implicit.leo.out +++ /dev/null @@ -1,949 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Value: - Implicit: - - "123" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: "123" - - Value: - Implicit: - - "123" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: "123" - - Value: - Implicit: - - "456" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: "456" - - Value: - Implicit: - - "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 81 - path: test - content: "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - - Value: - Implicit: - - "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 401 - path: test - content: "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - - Value: - Implicit: - - "340130024" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "340130024" - - Value: - Implicit: - - "158951116" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "158951116" - - Value: - Implicit: - - "155529659" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "155529659" - - Value: - Implicit: - - "642023166" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "642023166" - - Value: - Implicit: - - "228481736" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "228481736" - - Value: - Implicit: - - "469712960" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "469712960" - - Value: - Implicit: - - "929437719" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "929437719" - - Value: - Implicit: - - "721072814" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "721072814" - - Value: - Implicit: - - "363254789" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "363254789" - - Value: - Implicit: - - "906732565" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "906732565" - - Value: - Implicit: - - "288246391" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "288246391" - - Value: - Implicit: - - "724940549" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "724940549" - - Value: - Implicit: - - "487101620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "487101620" - - Value: - Implicit: - - "261373583" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "261373583" - - Value: - Implicit: - - "891163927" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "891163927" - - Value: - Implicit: - - "743967544" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "743967544" - - Value: - Implicit: - - "8372586" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 8 - path: test - content: "8372586" - - Value: - Implicit: - - "461793278" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "461793278" - - Value: - Implicit: - - "806307045" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "806307045" - - Value: - Implicit: - - "122764546" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "122764546" - - Value: - Implicit: - - "356336181" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "356336181" - - Value: - Implicit: - - "158370903" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "158370903" - - Value: - Implicit: - - "774460877" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "774460877" - - Value: - Implicit: - - "557174131" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "557174131" - - Value: - Implicit: - - "492401267" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "492401267" - - Value: - Implicit: - - "893445620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "893445620" - - Value: - Implicit: - - "957757048" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "957757048" - - Value: - Implicit: - - "721540649" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "721540649" - - Value: - Implicit: - - "390746493" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "390746493" - - Value: - Implicit: - - "211251725" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "211251725" - - Value: - Implicit: - - "938266114" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "938266114" - - Value: - Implicit: - - "156985870" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "156985870" - - Value: - Implicit: - - "703831126" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "703831126" - - Value: - Implicit: - - "729964155" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "729964155" - - Value: - Implicit: - - "988151305" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "988151305" - - Value: - Implicit: - - "320872435" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "320872435" - - Value: - Implicit: - - "719287167" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "719287167" - - Value: - Implicit: - - "152289486" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "152289486" - - Value: - Implicit: - - "740067975" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "740067975" - - Value: - Implicit: - - "728627816" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "728627816" - - Value: - Implicit: - - "385008978" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "385008978" - - Value: - Implicit: - - "553967635" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "553967635" - - Value: - Implicit: - - "71980713" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 9 - path: test - content: "71980713" - - Value: - Implicit: - - "519444716" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "519444716" - - Value: - Implicit: - - "116499965" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "116499965" - - Value: - Implicit: - - "717422268" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "717422268" - - Value: - Implicit: - - "18966279" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 9 - path: test - content: "18966279" - - Value: - Implicit: - - "22458638" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 9 - path: test - content: "22458638" - - Value: - Implicit: - - "857282620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "857282620" - - Value: - Implicit: - - "920675898" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "920675898" - - Value: - Implicit: - - "762235516" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "762235516" - - Value: - Implicit: - - "469018377" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "469018377" - - Value: - Implicit: - - "199986521" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "199986521" - - Value: - Implicit: - - "536679358" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "536679358" - - Value: - Implicit: - - "591399452" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "591399452" - - Value: - Implicit: - - "83083158" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 9 - path: test - content: "83083158" - - Value: - Implicit: - - "599449051" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "599449051" - - Value: - Implicit: - - "445442318" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "445442318" - - Value: - Implicit: - - "585486590" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "585486590" - - Value: - Implicit: - - "209278800" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "209278800" - - Value: - Implicit: - - "873568117" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "873568117" - - Value: - Implicit: - - "664470940" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "664470940" - - Value: - Implicit: - - "465262783" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "465262783" - - Value: - Implicit: - - "605652874" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "605652874" - - Value: - Implicit: - - "376803940" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "376803940" - - Value: - Implicit: - - "965247040" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "965247040" - - Value: - Implicit: - - "598474509" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "598474509" - - Value: - Implicit: - - "845119918" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "845119918" - - Value: - Implicit: - - "648159133" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "648159133" - - Value: - Implicit: - - "669051032" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "669051032" - - Value: - Implicit: - - "800600261" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "800600261" - - Value: - Implicit: - - "434689764" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "434689764" - - Value: - Implicit: - - "520060080" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "520060080" - - Value: - Implicit: - - "804659385" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "804659385" - - Value: - Implicit: - - "537828058" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "537828058" - - Value: - Implicit: - - "716600292" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "716600292" - - Value: - Implicit: - - "387020273" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "387020273" - - Value: - Implicit: - - "199375617" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "199375617" - - Value: - Implicit: - - "680337189" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "680337189" - - Value: - Implicit: - - "818479931" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "818479931" - - Value: - Implicit: - - "893693281" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "893693281" - - Value: - Implicit: - - "87377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 9 - path: test - content: "87377802" - - Value: - Implicit: - - "84699261" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 9 - path: test - content: "84699261" - - Value: - Implicit: - - "292826090" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "292826090" - - Value: - Implicit: - - "569171405" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "569171405" - - Value: - Implicit: - - "387436237" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "387436237" - - Value: - Implicit: - - "150682190" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "150682190" - - Value: - Implicit: - - "888770419" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "888770419" - - Value: - Implicit: - - "824696431" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "824696431" - - Value: - Implicit: - - "765659803" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "765659803" - - Value: - Implicit: - - "270163693" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "270163693" - - Value: - Implicit: - - "427940240" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "427940240" - - Value: - Implicit: - - "504997332" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "504997332" - - Value: - Implicit: - - "337808338" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "337808338" - - Value: - Implicit: - - "907200008" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "907200008" - - Value: - Implicit: - - "757177889" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "757177889" - - Value: - Implicit: - - "696697188" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "696697188" - - Value: - Implicit: - - "41376051" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 9 - path: test - content: "41376051" - - Value: - Implicit: - - "496293518" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "496293518" - - Value: - Implicit: - - "251218820" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "251218820" diff --git a/tests/expectations/parser/parser/expression/literal/int_parse/mono_group.leo.out b/tests/expectations/parser/parser/expression/literal/int_parse/mono_group.leo.out deleted file mode 100644 index 9e959269ac..0000000000 --- a/tests/expectations/parser/parser/expression/literal/int_parse/mono_group.leo.out +++ /dev/null @@ -1,1053 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Value: - Group: - Single: - - "123" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 9 - path: test - content: 123group - - Value: - Implicit: - - "123" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: "123" - - Value: - Group: - Single: - - "456" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 9 - path: test - content: 456group - - Value: - Group: - Single: - - "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 86 - path: test - content: 87377802873778028737780287377802873778028737780287377802873778028737780287377802group - - Value: - Group: - Single: - - "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 406 - path: test - content: 8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802group - - Value: - Group: - Single: - - "340130024" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 340130024group - - Value: - Group: - Single: - - "158951116" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 158951116group - - Value: - Group: - Single: - - "155529659" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 155529659group - - Value: - Group: - Single: - - "642023166" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 642023166group - - Value: - Group: - Single: - - "228481736" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 228481736group - - Value: - Group: - Single: - - "469712960" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 469712960group - - Value: - Group: - Single: - - "929437719" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 929437719group - - Value: - Group: - Single: - - "721072814" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 721072814group - - Value: - Group: - Single: - - "363254789" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 363254789group - - Value: - Group: - Single: - - "906732565" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 906732565group - - Value: - Group: - Single: - - "288246391" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 288246391group - - Value: - Group: - Single: - - "724940549" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 724940549group - - Value: - Group: - Single: - - "487101620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 487101620group - - Value: - Group: - Single: - - "261373583" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 261373583group - - Value: - Group: - Single: - - "891163927" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 891163927group - - Value: - Group: - Single: - - "743967544" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 743967544group - - Value: - Group: - Single: - - "8372586" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 8372586group - - Value: - Group: - Single: - - "461793278" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 461793278group - - Value: - Group: - Single: - - "806307045" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 806307045group - - Value: - Group: - Single: - - "122764546" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 122764546group - - Value: - Group: - Single: - - "356336181" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 356336181group - - Value: - Group: - Single: - - "158370903" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 158370903group - - Value: - Group: - Single: - - "774460877" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 774460877group - - Value: - Group: - Single: - - "557174131" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 557174131group - - Value: - Group: - Single: - - "492401267" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 492401267group - - Value: - Group: - Single: - - "893445620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 893445620group - - Value: - Group: - Single: - - "957757048" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 957757048group - - Value: - Group: - Single: - - "721540649" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 721540649group - - Value: - Group: - Single: - - "390746493" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 390746493group - - Value: - Group: - Single: - - "211251725" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 211251725group - - Value: - Group: - Single: - - "938266114" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 938266114group - - Value: - Group: - Single: - - "156985870" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 156985870group - - Value: - Group: - Single: - - "703831126" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 703831126group - - Value: - Group: - Single: - - "729964155" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 729964155group - - Value: - Group: - Single: - - "988151305" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 988151305group - - Value: - Group: - Single: - - "320872435" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 320872435group - - Value: - Group: - Single: - - "719287167" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 719287167group - - Value: - Group: - Single: - - "152289486" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 152289486group - - Value: - Group: - Single: - - "740067975" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 740067975group - - Value: - Group: - Single: - - "728627816" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 728627816group - - Value: - Group: - Single: - - "385008978" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 385008978group - - Value: - Group: - Single: - - "553967635" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 553967635group - - Value: - Group: - Single: - - "71980713" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 71980713group - - Value: - Group: - Single: - - "519444716" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 519444716group - - Value: - Group: - Single: - - "116499965" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 116499965group - - Value: - Group: - Single: - - "717422268" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 717422268group - - Value: - Group: - Single: - - "18966279" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 18966279group - - Value: - Group: - Single: - - "22458638" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 22458638group - - Value: - Group: - Single: - - "857282620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 857282620group - - Value: - Group: - Single: - - "920675898" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 920675898group - - Value: - Group: - Single: - - "762235516" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 762235516group - - Value: - Group: - Single: - - "469018377" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 469018377group - - Value: - Group: - Single: - - "199986521" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 199986521group - - Value: - Group: - Single: - - "536679358" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 536679358group - - Value: - Group: - Single: - - "591399452" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 591399452group - - Value: - Group: - Single: - - "83083158" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 83083158group - - Value: - Group: - Single: - - "599449051" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 599449051group - - Value: - Group: - Single: - - "445442318" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 445442318group - - Value: - Group: - Single: - - "585486590" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 585486590group - - Value: - Group: - Single: - - "209278800" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 209278800group - - Value: - Group: - Single: - - "873568117" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 873568117group - - Value: - Group: - Single: - - "664470940" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 664470940group - - Value: - Group: - Single: - - "465262783" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 465262783group - - Value: - Group: - Single: - - "605652874" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 605652874group - - Value: - Group: - Single: - - "376803940" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 376803940group - - Value: - Group: - Single: - - "965247040" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 965247040group - - Value: - Group: - Single: - - "598474509" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 598474509group - - Value: - Group: - Single: - - "845119918" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 845119918group - - Value: - Group: - Single: - - "648159133" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 648159133group - - Value: - Group: - Single: - - "669051032" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 669051032group - - Value: - Group: - Single: - - "800600261" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 800600261group - - Value: - Group: - Single: - - "434689764" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 434689764group - - Value: - Group: - Single: - - "520060080" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 520060080group - - Value: - Group: - Single: - - "804659385" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 804659385group - - Value: - Group: - Single: - - "537828058" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 537828058group - - Value: - Group: - Single: - - "716600292" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 716600292group - - Value: - Group: - Single: - - "387020273" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 387020273group - - Value: - Group: - Single: - - "199375617" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 199375617group - - Value: - Group: - Single: - - "680337189" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 680337189group - - Value: - Group: - Single: - - "818479931" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 818479931group - - Value: - Group: - Single: - - "893693281" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 893693281group - - Value: - Group: - Single: - - "87377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 87377802group - - Value: - Group: - Single: - - "84699261" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 84699261group - - Value: - Group: - Single: - - "292826090" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 292826090group - - Value: - Group: - Single: - - "569171405" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 569171405group - - Value: - Group: - Single: - - "387436237" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 387436237group - - Value: - Group: - Single: - - "150682190" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 150682190group - - Value: - Group: - Single: - - "888770419" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 888770419group - - Value: - Group: - Single: - - "824696431" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 824696431group - - Value: - Group: - Single: - - "765659803" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 765659803group - - Value: - Group: - Single: - - "270163693" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 270163693group - - Value: - Group: - Single: - - "427940240" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 427940240group - - Value: - Group: - Single: - - "504997332" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 504997332group - - Value: - Group: - Single: - - "337808338" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 337808338group - - Value: - Group: - Single: - - "907200008" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 907200008group - - Value: - Group: - Single: - - "757177889" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 757177889group - - Value: - Group: - Single: - - "696697188" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 696697188group - - Value: - Group: - Single: - - "41376051" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 41376051group - - Value: - Group: - Single: - - "496293518" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 496293518group - - Value: - Group: - Single: - - "251218820" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: 251218820group diff --git a/tests/expectations/parser/parser/expression/literal/int_parse/u128.leo.out b/tests/expectations/parser/parser/expression/literal/int_parse/u128.leo.out deleted file mode 100644 index f1048e6469..0000000000 --- a/tests/expectations/parser/parser/expression/literal/int_parse/u128.leo.out +++ /dev/null @@ -1,1053 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Value: - Integer: - - U128 - - "123" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 8 - path: test - content: 123u128 - - Value: - Implicit: - - "123" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: "123" - - Value: - Integer: - - U128 - - "456" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 8 - path: test - content: 456u128 - - Value: - Integer: - - U128 - - "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 85 - path: test - content: 87377802873778028737780287377802873778028737780287377802873778028737780287377802u128 - - Value: - Integer: - - U128 - - "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 405 - path: test - content: 8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802u128 - - Value: - Integer: - - U128 - - "340130024" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 340130024u128 - - Value: - Integer: - - U128 - - "158951116" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 158951116u128 - - Value: - Integer: - - U128 - - "155529659" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 155529659u128 - - Value: - Integer: - - U128 - - "642023166" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 642023166u128 - - Value: - Integer: - - U128 - - "228481736" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 228481736u128 - - Value: - Integer: - - U128 - - "469712960" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 469712960u128 - - Value: - Integer: - - U128 - - "929437719" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 929437719u128 - - Value: - Integer: - - U128 - - "721072814" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 721072814u128 - - Value: - Integer: - - U128 - - "363254789" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 363254789u128 - - Value: - Integer: - - U128 - - "906732565" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 906732565u128 - - Value: - Integer: - - U128 - - "288246391" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 288246391u128 - - Value: - Integer: - - U128 - - "724940549" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 724940549u128 - - Value: - Integer: - - U128 - - "487101620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 487101620u128 - - Value: - Integer: - - U128 - - "261373583" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 261373583u128 - - Value: - Integer: - - U128 - - "891163927" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 891163927u128 - - Value: - Integer: - - U128 - - "743967544" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 743967544u128 - - Value: - Integer: - - U128 - - "8372586" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 8372586u128 - - Value: - Integer: - - U128 - - "461793278" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 461793278u128 - - Value: - Integer: - - U128 - - "806307045" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 806307045u128 - - Value: - Integer: - - U128 - - "122764546" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 122764546u128 - - Value: - Integer: - - U128 - - "356336181" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 356336181u128 - - Value: - Integer: - - U128 - - "158370903" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 158370903u128 - - Value: - Integer: - - U128 - - "774460877" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 774460877u128 - - Value: - Integer: - - U128 - - "557174131" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 557174131u128 - - Value: - Integer: - - U128 - - "492401267" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 492401267u128 - - Value: - Integer: - - U128 - - "893445620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 893445620u128 - - Value: - Integer: - - U128 - - "957757048" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 957757048u128 - - Value: - Integer: - - U128 - - "721540649" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 721540649u128 - - Value: - Integer: - - U128 - - "390746493" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 390746493u128 - - Value: - Integer: - - U128 - - "211251725" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 211251725u128 - - Value: - Integer: - - U128 - - "938266114" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 938266114u128 - - Value: - Integer: - - U128 - - "156985870" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 156985870u128 - - Value: - Integer: - - U128 - - "703831126" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 703831126u128 - - Value: - Integer: - - U128 - - "729964155" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 729964155u128 - - Value: - Integer: - - U128 - - "988151305" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 988151305u128 - - Value: - Integer: - - U128 - - "320872435" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 320872435u128 - - Value: - Integer: - - U128 - - "719287167" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 719287167u128 - - Value: - Integer: - - U128 - - "152289486" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 152289486u128 - - Value: - Integer: - - U128 - - "740067975" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 740067975u128 - - Value: - Integer: - - U128 - - "728627816" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 728627816u128 - - Value: - Integer: - - U128 - - "385008978" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 385008978u128 - - Value: - Integer: - - U128 - - "553967635" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 553967635u128 - - Value: - Integer: - - U128 - - "71980713" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 71980713u128 - - Value: - Integer: - - U128 - - "519444716" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 519444716u128 - - Value: - Integer: - - U128 - - "116499965" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 116499965u128 - - Value: - Integer: - - U128 - - "717422268" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 717422268u128 - - Value: - Integer: - - U128 - - "18966279" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 18966279u128 - - Value: - Integer: - - U128 - - "22458638" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 22458638u128 - - Value: - Integer: - - U128 - - "857282620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 857282620u128 - - Value: - Integer: - - U128 - - "920675898" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 920675898u128 - - Value: - Integer: - - U128 - - "762235516" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 762235516u128 - - Value: - Integer: - - U128 - - "469018377" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 469018377u128 - - Value: - Integer: - - U128 - - "199986521" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 199986521u128 - - Value: - Integer: - - U128 - - "536679358" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 536679358u128 - - Value: - Integer: - - U128 - - "591399452" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 591399452u128 - - Value: - Integer: - - U128 - - "83083158" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 83083158u128 - - Value: - Integer: - - U128 - - "599449051" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 599449051u128 - - Value: - Integer: - - U128 - - "445442318" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 445442318u128 - - Value: - Integer: - - U128 - - "585486590" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 585486590u128 - - Value: - Integer: - - U128 - - "209278800" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 209278800u128 - - Value: - Integer: - - U128 - - "873568117" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 873568117u128 - - Value: - Integer: - - U128 - - "664470940" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 664470940u128 - - Value: - Integer: - - U128 - - "465262783" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 465262783u128 - - Value: - Integer: - - U128 - - "605652874" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 605652874u128 - - Value: - Integer: - - U128 - - "376803940" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 376803940u128 - - Value: - Integer: - - U128 - - "965247040" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 965247040u128 - - Value: - Integer: - - U128 - - "598474509" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 598474509u128 - - Value: - Integer: - - U128 - - "845119918" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 845119918u128 - - Value: - Integer: - - U128 - - "648159133" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 648159133u128 - - Value: - Integer: - - U128 - - "669051032" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 669051032u128 - - Value: - Integer: - - U128 - - "800600261" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 800600261u128 - - Value: - Integer: - - U128 - - "434689764" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 434689764u128 - - Value: - Integer: - - U128 - - "520060080" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 520060080u128 - - Value: - Integer: - - U128 - - "804659385" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 804659385u128 - - Value: - Integer: - - U128 - - "537828058" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 537828058u128 - - Value: - Integer: - - U128 - - "716600292" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 716600292u128 - - Value: - Integer: - - U128 - - "387020273" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 387020273u128 - - Value: - Integer: - - U128 - - "199375617" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 199375617u128 - - Value: - Integer: - - U128 - - "680337189" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 680337189u128 - - Value: - Integer: - - U128 - - "818479931" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 818479931u128 - - Value: - Integer: - - U128 - - "893693281" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 893693281u128 - - Value: - Integer: - - U128 - - "87377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 87377802u128 - - Value: - Integer: - - U128 - - "84699261" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 84699261u128 - - Value: - Integer: - - U128 - - "292826090" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 292826090u128 - - Value: - Integer: - - U128 - - "569171405" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 569171405u128 - - Value: - Integer: - - U128 - - "387436237" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 387436237u128 - - Value: - Integer: - - U128 - - "150682190" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 150682190u128 - - Value: - Integer: - - U128 - - "888770419" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 888770419u128 - - Value: - Integer: - - U128 - - "824696431" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 824696431u128 - - Value: - Integer: - - U128 - - "765659803" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 765659803u128 - - Value: - Integer: - - U128 - - "270163693" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 270163693u128 - - Value: - Integer: - - U128 - - "427940240" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 427940240u128 - - Value: - Integer: - - U128 - - "504997332" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 504997332u128 - - Value: - Integer: - - U128 - - "337808338" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 337808338u128 - - Value: - Integer: - - U128 - - "907200008" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 907200008u128 - - Value: - Integer: - - U128 - - "757177889" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 757177889u128 - - Value: - Integer: - - U128 - - "696697188" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 696697188u128 - - Value: - Integer: - - U128 - - "41376051" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 41376051u128 - - Value: - Integer: - - U128 - - "496293518" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 496293518u128 - - Value: - Integer: - - U128 - - "251218820" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: 251218820u128 diff --git a/tests/expectations/parser/parser/expression/literal/int_parse/u16.leo.out b/tests/expectations/parser/parser/expression/literal/int_parse/u16.leo.out deleted file mode 100644 index 324a0abcce..0000000000 --- a/tests/expectations/parser/parser/expression/literal/int_parse/u16.leo.out +++ /dev/null @@ -1,1053 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Value: - Integer: - - U8 - - "123" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 123u8 - - Value: - Implicit: - - "123" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: "123" - - Value: - Integer: - - U8 - - "456" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 456u8 - - Value: - Integer: - - U8 - - "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 83 - path: test - content: 87377802873778028737780287377802873778028737780287377802873778028737780287377802u8 - - Value: - Integer: - - U8 - - "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 403 - path: test - content: 8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802u8 - - Value: - Integer: - - U8 - - "340130024" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 340130024u8 - - Value: - Integer: - - U8 - - "158951116" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 158951116u8 - - Value: - Integer: - - U8 - - "155529659" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 155529659u8 - - Value: - Integer: - - U8 - - "642023166" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 642023166u8 - - Value: - Integer: - - U8 - - "228481736" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 228481736u8 - - Value: - Integer: - - U8 - - "469712960" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 469712960u8 - - Value: - Integer: - - U8 - - "929437719" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 929437719u8 - - Value: - Integer: - - U8 - - "721072814" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 721072814u8 - - Value: - Integer: - - U8 - - "363254789" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 363254789u8 - - Value: - Integer: - - U8 - - "906732565" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 906732565u8 - - Value: - Integer: - - U8 - - "288246391" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 288246391u8 - - Value: - Integer: - - U8 - - "724940549" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 724940549u8 - - Value: - Integer: - - U8 - - "487101620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 487101620u8 - - Value: - Integer: - - U8 - - "261373583" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 261373583u8 - - Value: - Integer: - - U8 - - "891163927" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 891163927u8 - - Value: - Integer: - - U8 - - "743967544" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 743967544u8 - - Value: - Integer: - - U8 - - "8372586" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: 8372586u8 - - Value: - Integer: - - U8 - - "461793278" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 461793278u8 - - Value: - Integer: - - U8 - - "806307045" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 806307045u8 - - Value: - Integer: - - U8 - - "122764546" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 122764546u8 - - Value: - Integer: - - U8 - - "356336181" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 356336181u8 - - Value: - Integer: - - U8 - - "158370903" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 158370903u8 - - Value: - Integer: - - U8 - - "774460877" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 774460877u8 - - Value: - Integer: - - U8 - - "557174131" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 557174131u8 - - Value: - Integer: - - U8 - - "492401267" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 492401267u8 - - Value: - Integer: - - U8 - - "893445620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 893445620u8 - - Value: - Integer: - - U8 - - "957757048" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 957757048u8 - - Value: - Integer: - - U8 - - "721540649" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 721540649u8 - - Value: - Integer: - - U8 - - "390746493" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 390746493u8 - - Value: - Integer: - - U8 - - "211251725" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 211251725u8 - - Value: - Integer: - - U8 - - "938266114" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 938266114u8 - - Value: - Integer: - - U8 - - "156985870" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 156985870u8 - - Value: - Integer: - - U8 - - "703831126" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 703831126u8 - - Value: - Integer: - - U8 - - "729964155" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 729964155u8 - - Value: - Integer: - - U8 - - "988151305" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 988151305u8 - - Value: - Integer: - - U8 - - "320872435" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 320872435u8 - - Value: - Integer: - - U8 - - "719287167" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 719287167u8 - - Value: - Integer: - - U8 - - "152289486" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 152289486u8 - - Value: - Integer: - - U8 - - "740067975" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 740067975u8 - - Value: - Integer: - - U8 - - "728627816" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 728627816u8 - - Value: - Integer: - - U8 - - "385008978" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 385008978u8 - - Value: - Integer: - - U8 - - "553967635" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 553967635u8 - - Value: - Integer: - - U8 - - "71980713" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 11 - path: test - content: 71980713u8 - - Value: - Integer: - - U8 - - "519444716" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 519444716u8 - - Value: - Integer: - - U8 - - "116499965" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 116499965u8 - - Value: - Integer: - - U8 - - "717422268" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 717422268u8 - - Value: - Integer: - - U8 - - "18966279" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 11 - path: test - content: 18966279u8 - - Value: - Integer: - - U8 - - "22458638" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 11 - path: test - content: 22458638u8 - - Value: - Integer: - - U8 - - "857282620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 857282620u8 - - Value: - Integer: - - U8 - - "920675898" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 920675898u8 - - Value: - Integer: - - U8 - - "762235516" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 762235516u8 - - Value: - Integer: - - U8 - - "469018377" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 469018377u8 - - Value: - Integer: - - U8 - - "199986521" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 199986521u8 - - Value: - Integer: - - U8 - - "536679358" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 536679358u8 - - Value: - Integer: - - U8 - - "591399452" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 591399452u8 - - Value: - Integer: - - U8 - - "83083158" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 11 - path: test - content: 83083158u8 - - Value: - Integer: - - U8 - - "599449051" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 599449051u8 - - Value: - Integer: - - U8 - - "445442318" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 445442318u8 - - Value: - Integer: - - U8 - - "585486590" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 585486590u8 - - Value: - Integer: - - U8 - - "209278800" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 209278800u8 - - Value: - Integer: - - U8 - - "873568117" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 873568117u8 - - Value: - Integer: - - U8 - - "664470940" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 664470940u8 - - Value: - Integer: - - U8 - - "465262783" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 465262783u8 - - Value: - Integer: - - U8 - - "605652874" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 605652874u8 - - Value: - Integer: - - U8 - - "376803940" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 376803940u8 - - Value: - Integer: - - U8 - - "965247040" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 965247040u8 - - Value: - Integer: - - U8 - - "598474509" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 598474509u8 - - Value: - Integer: - - U8 - - "845119918" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 845119918u8 - - Value: - Integer: - - U8 - - "648159133" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 648159133u8 - - Value: - Integer: - - U8 - - "669051032" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 669051032u8 - - Value: - Integer: - - U8 - - "800600261" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 800600261u8 - - Value: - Integer: - - U8 - - "434689764" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 434689764u8 - - Value: - Integer: - - U8 - - "520060080" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 520060080u8 - - Value: - Integer: - - U8 - - "804659385" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 804659385u8 - - Value: - Integer: - - U8 - - "537828058" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 537828058u8 - - Value: - Integer: - - U8 - - "716600292" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 716600292u8 - - Value: - Integer: - - U8 - - "387020273" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 387020273u8 - - Value: - Integer: - - U8 - - "199375617" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 199375617u8 - - Value: - Integer: - - U8 - - "680337189" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 680337189u8 - - Value: - Integer: - - U8 - - "818479931" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 818479931u8 - - Value: - Integer: - - U8 - - "893693281" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 893693281u8 - - Value: - Integer: - - U8 - - "87377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 11 - path: test - content: 87377802u8 - - Value: - Integer: - - U8 - - "84699261" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 11 - path: test - content: 84699261u8 - - Value: - Integer: - - U8 - - "292826090" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 292826090u8 - - Value: - Integer: - - U8 - - "569171405" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 569171405u8 - - Value: - Integer: - - U8 - - "387436237" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 387436237u8 - - Value: - Integer: - - U8 - - "150682190" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 150682190u8 - - Value: - Integer: - - U8 - - "888770419" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 888770419u8 - - Value: - Integer: - - U8 - - "824696431" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 824696431u8 - - Value: - Integer: - - U8 - - "765659803" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 765659803u8 - - Value: - Integer: - - U8 - - "270163693" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 270163693u8 - - Value: - Integer: - - U8 - - "427940240" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 427940240u8 - - Value: - Integer: - - U8 - - "504997332" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 504997332u8 - - Value: - Integer: - - U8 - - "337808338" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 337808338u8 - - Value: - Integer: - - U8 - - "907200008" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 907200008u8 - - Value: - Integer: - - U8 - - "757177889" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 757177889u8 - - Value: - Integer: - - U8 - - "696697188" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 696697188u8 - - Value: - Integer: - - U8 - - "41376051" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 11 - path: test - content: 41376051u8 - - Value: - Integer: - - U8 - - "496293518" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 496293518u8 - - Value: - Integer: - - U8 - - "251218820" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 251218820u8 diff --git a/tests/expectations/parser/parser/expression/literal/int_parse/u32.leo.out b/tests/expectations/parser/parser/expression/literal/int_parse/u32.leo.out deleted file mode 100644 index ba97127eac..0000000000 --- a/tests/expectations/parser/parser/expression/literal/int_parse/u32.leo.out +++ /dev/null @@ -1,1053 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Value: - Integer: - - U32 - - "123" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: 123u32 - - Value: - Implicit: - - "123" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: "123" - - Value: - Integer: - - U32 - - "456" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: 456u32 - - Value: - Integer: - - U32 - - "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 84 - path: test - content: 87377802873778028737780287377802873778028737780287377802873778028737780287377802u32 - - Value: - Integer: - - U32 - - "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 404 - path: test - content: 8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802u32 - - Value: - Integer: - - U32 - - "340130024" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 340130024u32 - - Value: - Integer: - - U32 - - "158951116" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 158951116u32 - - Value: - Integer: - - U32 - - "155529659" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 155529659u32 - - Value: - Integer: - - U32 - - "642023166" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 642023166u32 - - Value: - Integer: - - U32 - - "228481736" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 228481736u32 - - Value: - Integer: - - U32 - - "469712960" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 469712960u32 - - Value: - Integer: - - U32 - - "929437719" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 929437719u32 - - Value: - Integer: - - U32 - - "721072814" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 721072814u32 - - Value: - Integer: - - U32 - - "363254789" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 363254789u32 - - Value: - Integer: - - U32 - - "906732565" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 906732565u32 - - Value: - Integer: - - U32 - - "288246391" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 288246391u32 - - Value: - Integer: - - U32 - - "724940549" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 724940549u32 - - Value: - Integer: - - U32 - - "487101620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 487101620u32 - - Value: - Integer: - - U32 - - "261373583" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 261373583u32 - - Value: - Integer: - - U32 - - "891163927" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 891163927u32 - - Value: - Integer: - - U32 - - "743967544" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 743967544u32 - - Value: - Integer: - - U32 - - "8372586" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 11 - path: test - content: 8372586u32 - - Value: - Integer: - - U32 - - "461793278" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 461793278u32 - - Value: - Integer: - - U32 - - "806307045" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 806307045u32 - - Value: - Integer: - - U32 - - "122764546" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 122764546u32 - - Value: - Integer: - - U32 - - "356336181" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 356336181u32 - - Value: - Integer: - - U32 - - "158370903" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 158370903u32 - - Value: - Integer: - - U32 - - "774460877" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 774460877u32 - - Value: - Integer: - - U32 - - "557174131" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 557174131u32 - - Value: - Integer: - - U32 - - "492401267" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 492401267u32 - - Value: - Integer: - - U32 - - "893445620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 893445620u32 - - Value: - Integer: - - U32 - - "957757048" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 957757048u32 - - Value: - Integer: - - U32 - - "721540649" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 721540649u32 - - Value: - Integer: - - U32 - - "390746493" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 390746493u32 - - Value: - Integer: - - U32 - - "211251725" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 211251725u32 - - Value: - Integer: - - U32 - - "938266114" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 938266114u32 - - Value: - Integer: - - U32 - - "156985870" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 156985870u32 - - Value: - Integer: - - U32 - - "703831126" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 703831126u32 - - Value: - Integer: - - U32 - - "729964155" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 729964155u32 - - Value: - Integer: - - U32 - - "988151305" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 988151305u32 - - Value: - Integer: - - U32 - - "320872435" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 320872435u32 - - Value: - Integer: - - U32 - - "719287167" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 719287167u32 - - Value: - Integer: - - U32 - - "152289486" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 152289486u32 - - Value: - Integer: - - U32 - - "740067975" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 740067975u32 - - Value: - Integer: - - U32 - - "728627816" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 728627816u32 - - Value: - Integer: - - U32 - - "385008978" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 385008978u32 - - Value: - Integer: - - U32 - - "553967635" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 553967635u32 - - Value: - Integer: - - U32 - - "71980713" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 71980713u32 - - Value: - Integer: - - U32 - - "519444716" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 519444716u32 - - Value: - Integer: - - U32 - - "116499965" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 116499965u32 - - Value: - Integer: - - U32 - - "717422268" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 717422268u32 - - Value: - Integer: - - U32 - - "18966279" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 18966279u32 - - Value: - Integer: - - U32 - - "22458638" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 22458638u32 - - Value: - Integer: - - U32 - - "857282620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 857282620u32 - - Value: - Integer: - - U32 - - "920675898" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 920675898u32 - - Value: - Integer: - - U32 - - "762235516" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 762235516u32 - - Value: - Integer: - - U32 - - "469018377" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 469018377u32 - - Value: - Integer: - - U32 - - "199986521" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 199986521u32 - - Value: - Integer: - - U32 - - "536679358" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 536679358u32 - - Value: - Integer: - - U32 - - "591399452" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 591399452u32 - - Value: - Integer: - - U32 - - "83083158" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 83083158u32 - - Value: - Integer: - - U32 - - "599449051" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 599449051u32 - - Value: - Integer: - - U32 - - "445442318" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 445442318u32 - - Value: - Integer: - - U32 - - "585486590" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 585486590u32 - - Value: - Integer: - - U32 - - "209278800" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 209278800u32 - - Value: - Integer: - - U32 - - "873568117" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 873568117u32 - - Value: - Integer: - - U32 - - "664470940" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 664470940u32 - - Value: - Integer: - - U32 - - "465262783" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 465262783u32 - - Value: - Integer: - - U32 - - "605652874" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 605652874u32 - - Value: - Integer: - - U32 - - "376803940" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 376803940u32 - - Value: - Integer: - - U32 - - "965247040" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 965247040u32 - - Value: - Integer: - - U32 - - "598474509" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 598474509u32 - - Value: - Integer: - - U32 - - "845119918" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 845119918u32 - - Value: - Integer: - - U32 - - "648159133" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 648159133u32 - - Value: - Integer: - - U32 - - "669051032" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 669051032u32 - - Value: - Integer: - - U32 - - "800600261" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 800600261u32 - - Value: - Integer: - - U32 - - "434689764" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 434689764u32 - - Value: - Integer: - - U32 - - "520060080" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 520060080u32 - - Value: - Integer: - - U32 - - "804659385" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 804659385u32 - - Value: - Integer: - - U32 - - "537828058" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 537828058u32 - - Value: - Integer: - - U32 - - "716600292" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 716600292u32 - - Value: - Integer: - - U32 - - "387020273" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 387020273u32 - - Value: - Integer: - - U32 - - "199375617" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 199375617u32 - - Value: - Integer: - - U32 - - "680337189" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 680337189u32 - - Value: - Integer: - - U32 - - "818479931" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 818479931u32 - - Value: - Integer: - - U32 - - "893693281" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 893693281u32 - - Value: - Integer: - - U32 - - "87377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 87377802u32 - - Value: - Integer: - - U32 - - "84699261" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 84699261u32 - - Value: - Integer: - - U32 - - "292826090" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 292826090u32 - - Value: - Integer: - - U32 - - "569171405" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 569171405u32 - - Value: - Integer: - - U32 - - "387436237" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 387436237u32 - - Value: - Integer: - - U32 - - "150682190" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 150682190u32 - - Value: - Integer: - - U32 - - "888770419" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 888770419u32 - - Value: - Integer: - - U32 - - "824696431" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 824696431u32 - - Value: - Integer: - - U32 - - "765659803" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 765659803u32 - - Value: - Integer: - - U32 - - "270163693" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 270163693u32 - - Value: - Integer: - - U32 - - "427940240" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 427940240u32 - - Value: - Integer: - - U32 - - "504997332" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 504997332u32 - - Value: - Integer: - - U32 - - "337808338" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 337808338u32 - - Value: - Integer: - - U32 - - "907200008" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 907200008u32 - - Value: - Integer: - - U32 - - "757177889" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 757177889u32 - - Value: - Integer: - - U32 - - "696697188" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 696697188u32 - - Value: - Integer: - - U32 - - "41376051" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 41376051u32 - - Value: - Integer: - - U32 - - "496293518" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 496293518u32 - - Value: - Integer: - - U32 - - "251218820" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 251218820u32 diff --git a/tests/expectations/parser/parser/expression/literal/int_parse/u64.leo.out b/tests/expectations/parser/parser/expression/literal/int_parse/u64.leo.out deleted file mode 100644 index ba97127eac..0000000000 --- a/tests/expectations/parser/parser/expression/literal/int_parse/u64.leo.out +++ /dev/null @@ -1,1053 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Value: - Integer: - - U32 - - "123" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: 123u32 - - Value: - Implicit: - - "123" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: "123" - - Value: - Integer: - - U32 - - "456" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: 456u32 - - Value: - Integer: - - U32 - - "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 84 - path: test - content: 87377802873778028737780287377802873778028737780287377802873778028737780287377802u32 - - Value: - Integer: - - U32 - - "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 404 - path: test - content: 8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802u32 - - Value: - Integer: - - U32 - - "340130024" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 340130024u32 - - Value: - Integer: - - U32 - - "158951116" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 158951116u32 - - Value: - Integer: - - U32 - - "155529659" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 155529659u32 - - Value: - Integer: - - U32 - - "642023166" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 642023166u32 - - Value: - Integer: - - U32 - - "228481736" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 228481736u32 - - Value: - Integer: - - U32 - - "469712960" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 469712960u32 - - Value: - Integer: - - U32 - - "929437719" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 929437719u32 - - Value: - Integer: - - U32 - - "721072814" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 721072814u32 - - Value: - Integer: - - U32 - - "363254789" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 363254789u32 - - Value: - Integer: - - U32 - - "906732565" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 906732565u32 - - Value: - Integer: - - U32 - - "288246391" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 288246391u32 - - Value: - Integer: - - U32 - - "724940549" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 724940549u32 - - Value: - Integer: - - U32 - - "487101620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 487101620u32 - - Value: - Integer: - - U32 - - "261373583" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 261373583u32 - - Value: - Integer: - - U32 - - "891163927" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 891163927u32 - - Value: - Integer: - - U32 - - "743967544" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 743967544u32 - - Value: - Integer: - - U32 - - "8372586" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 11 - path: test - content: 8372586u32 - - Value: - Integer: - - U32 - - "461793278" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 461793278u32 - - Value: - Integer: - - U32 - - "806307045" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 806307045u32 - - Value: - Integer: - - U32 - - "122764546" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 122764546u32 - - Value: - Integer: - - U32 - - "356336181" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 356336181u32 - - Value: - Integer: - - U32 - - "158370903" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 158370903u32 - - Value: - Integer: - - U32 - - "774460877" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 774460877u32 - - Value: - Integer: - - U32 - - "557174131" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 557174131u32 - - Value: - Integer: - - U32 - - "492401267" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 492401267u32 - - Value: - Integer: - - U32 - - "893445620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 893445620u32 - - Value: - Integer: - - U32 - - "957757048" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 957757048u32 - - Value: - Integer: - - U32 - - "721540649" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 721540649u32 - - Value: - Integer: - - U32 - - "390746493" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 390746493u32 - - Value: - Integer: - - U32 - - "211251725" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 211251725u32 - - Value: - Integer: - - U32 - - "938266114" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 938266114u32 - - Value: - Integer: - - U32 - - "156985870" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 156985870u32 - - Value: - Integer: - - U32 - - "703831126" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 703831126u32 - - Value: - Integer: - - U32 - - "729964155" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 729964155u32 - - Value: - Integer: - - U32 - - "988151305" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 988151305u32 - - Value: - Integer: - - U32 - - "320872435" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 320872435u32 - - Value: - Integer: - - U32 - - "719287167" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 719287167u32 - - Value: - Integer: - - U32 - - "152289486" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 152289486u32 - - Value: - Integer: - - U32 - - "740067975" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 740067975u32 - - Value: - Integer: - - U32 - - "728627816" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 728627816u32 - - Value: - Integer: - - U32 - - "385008978" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 385008978u32 - - Value: - Integer: - - U32 - - "553967635" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 553967635u32 - - Value: - Integer: - - U32 - - "71980713" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 71980713u32 - - Value: - Integer: - - U32 - - "519444716" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 519444716u32 - - Value: - Integer: - - U32 - - "116499965" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 116499965u32 - - Value: - Integer: - - U32 - - "717422268" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 717422268u32 - - Value: - Integer: - - U32 - - "18966279" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 18966279u32 - - Value: - Integer: - - U32 - - "22458638" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 22458638u32 - - Value: - Integer: - - U32 - - "857282620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 857282620u32 - - Value: - Integer: - - U32 - - "920675898" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 920675898u32 - - Value: - Integer: - - U32 - - "762235516" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 762235516u32 - - Value: - Integer: - - U32 - - "469018377" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 469018377u32 - - Value: - Integer: - - U32 - - "199986521" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 199986521u32 - - Value: - Integer: - - U32 - - "536679358" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 536679358u32 - - Value: - Integer: - - U32 - - "591399452" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 591399452u32 - - Value: - Integer: - - U32 - - "83083158" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 83083158u32 - - Value: - Integer: - - U32 - - "599449051" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 599449051u32 - - Value: - Integer: - - U32 - - "445442318" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 445442318u32 - - Value: - Integer: - - U32 - - "585486590" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 585486590u32 - - Value: - Integer: - - U32 - - "209278800" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 209278800u32 - - Value: - Integer: - - U32 - - "873568117" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 873568117u32 - - Value: - Integer: - - U32 - - "664470940" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 664470940u32 - - Value: - Integer: - - U32 - - "465262783" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 465262783u32 - - Value: - Integer: - - U32 - - "605652874" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 605652874u32 - - Value: - Integer: - - U32 - - "376803940" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 376803940u32 - - Value: - Integer: - - U32 - - "965247040" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 965247040u32 - - Value: - Integer: - - U32 - - "598474509" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 598474509u32 - - Value: - Integer: - - U32 - - "845119918" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 845119918u32 - - Value: - Integer: - - U32 - - "648159133" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 648159133u32 - - Value: - Integer: - - U32 - - "669051032" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 669051032u32 - - Value: - Integer: - - U32 - - "800600261" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 800600261u32 - - Value: - Integer: - - U32 - - "434689764" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 434689764u32 - - Value: - Integer: - - U32 - - "520060080" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 520060080u32 - - Value: - Integer: - - U32 - - "804659385" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 804659385u32 - - Value: - Integer: - - U32 - - "537828058" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 537828058u32 - - Value: - Integer: - - U32 - - "716600292" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 716600292u32 - - Value: - Integer: - - U32 - - "387020273" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 387020273u32 - - Value: - Integer: - - U32 - - "199375617" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 199375617u32 - - Value: - Integer: - - U32 - - "680337189" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 680337189u32 - - Value: - Integer: - - U32 - - "818479931" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 818479931u32 - - Value: - Integer: - - U32 - - "893693281" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 893693281u32 - - Value: - Integer: - - U32 - - "87377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 87377802u32 - - Value: - Integer: - - U32 - - "84699261" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 84699261u32 - - Value: - Integer: - - U32 - - "292826090" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 292826090u32 - - Value: - Integer: - - U32 - - "569171405" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 569171405u32 - - Value: - Integer: - - U32 - - "387436237" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 387436237u32 - - Value: - Integer: - - U32 - - "150682190" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 150682190u32 - - Value: - Integer: - - U32 - - "888770419" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 888770419u32 - - Value: - Integer: - - U32 - - "824696431" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 824696431u32 - - Value: - Integer: - - U32 - - "765659803" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 765659803u32 - - Value: - Integer: - - U32 - - "270163693" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 270163693u32 - - Value: - Integer: - - U32 - - "427940240" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 427940240u32 - - Value: - Integer: - - U32 - - "504997332" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 504997332u32 - - Value: - Integer: - - U32 - - "337808338" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 337808338u32 - - Value: - Integer: - - U32 - - "907200008" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 907200008u32 - - Value: - Integer: - - U32 - - "757177889" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 757177889u32 - - Value: - Integer: - - U32 - - "696697188" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 696697188u32 - - Value: - Integer: - - U32 - - "41376051" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 41376051u32 - - Value: - Integer: - - U32 - - "496293518" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 496293518u32 - - Value: - Integer: - - U32 - - "251218820" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: 251218820u32 diff --git a/tests/expectations/parser/parser/expression/literal/int_parse/u8.leo.out b/tests/expectations/parser/parser/expression/literal/int_parse/u8.leo.out deleted file mode 100644 index 324a0abcce..0000000000 --- a/tests/expectations/parser/parser/expression/literal/int_parse/u8.leo.out +++ /dev/null @@ -1,1053 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Value: - Integer: - - U8 - - "123" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 123u8 - - Value: - Implicit: - - "123" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: "123" - - Value: - Integer: - - U8 - - "456" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: 456u8 - - Value: - Integer: - - U8 - - "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 83 - path: test - content: 87377802873778028737780287377802873778028737780287377802873778028737780287377802u8 - - Value: - Integer: - - U8 - - "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 403 - path: test - content: 8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802u8 - - Value: - Integer: - - U8 - - "340130024" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 340130024u8 - - Value: - Integer: - - U8 - - "158951116" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 158951116u8 - - Value: - Integer: - - U8 - - "155529659" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 155529659u8 - - Value: - Integer: - - U8 - - "642023166" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 642023166u8 - - Value: - Integer: - - U8 - - "228481736" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 228481736u8 - - Value: - Integer: - - U8 - - "469712960" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 469712960u8 - - Value: - Integer: - - U8 - - "929437719" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 929437719u8 - - Value: - Integer: - - U8 - - "721072814" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 721072814u8 - - Value: - Integer: - - U8 - - "363254789" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 363254789u8 - - Value: - Integer: - - U8 - - "906732565" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 906732565u8 - - Value: - Integer: - - U8 - - "288246391" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 288246391u8 - - Value: - Integer: - - U8 - - "724940549" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 724940549u8 - - Value: - Integer: - - U8 - - "487101620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 487101620u8 - - Value: - Integer: - - U8 - - "261373583" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 261373583u8 - - Value: - Integer: - - U8 - - "891163927" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 891163927u8 - - Value: - Integer: - - U8 - - "743967544" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 743967544u8 - - Value: - Integer: - - U8 - - "8372586" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: 8372586u8 - - Value: - Integer: - - U8 - - "461793278" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 461793278u8 - - Value: - Integer: - - U8 - - "806307045" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 806307045u8 - - Value: - Integer: - - U8 - - "122764546" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 122764546u8 - - Value: - Integer: - - U8 - - "356336181" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 356336181u8 - - Value: - Integer: - - U8 - - "158370903" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 158370903u8 - - Value: - Integer: - - U8 - - "774460877" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 774460877u8 - - Value: - Integer: - - U8 - - "557174131" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 557174131u8 - - Value: - Integer: - - U8 - - "492401267" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 492401267u8 - - Value: - Integer: - - U8 - - "893445620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 893445620u8 - - Value: - Integer: - - U8 - - "957757048" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 957757048u8 - - Value: - Integer: - - U8 - - "721540649" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 721540649u8 - - Value: - Integer: - - U8 - - "390746493" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 390746493u8 - - Value: - Integer: - - U8 - - "211251725" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 211251725u8 - - Value: - Integer: - - U8 - - "938266114" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 938266114u8 - - Value: - Integer: - - U8 - - "156985870" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 156985870u8 - - Value: - Integer: - - U8 - - "703831126" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 703831126u8 - - Value: - Integer: - - U8 - - "729964155" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 729964155u8 - - Value: - Integer: - - U8 - - "988151305" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 988151305u8 - - Value: - Integer: - - U8 - - "320872435" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 320872435u8 - - Value: - Integer: - - U8 - - "719287167" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 719287167u8 - - Value: - Integer: - - U8 - - "152289486" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 152289486u8 - - Value: - Integer: - - U8 - - "740067975" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 740067975u8 - - Value: - Integer: - - U8 - - "728627816" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 728627816u8 - - Value: - Integer: - - U8 - - "385008978" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 385008978u8 - - Value: - Integer: - - U8 - - "553967635" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 553967635u8 - - Value: - Integer: - - U8 - - "71980713" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 11 - path: test - content: 71980713u8 - - Value: - Integer: - - U8 - - "519444716" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 519444716u8 - - Value: - Integer: - - U8 - - "116499965" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 116499965u8 - - Value: - Integer: - - U8 - - "717422268" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 717422268u8 - - Value: - Integer: - - U8 - - "18966279" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 11 - path: test - content: 18966279u8 - - Value: - Integer: - - U8 - - "22458638" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 11 - path: test - content: 22458638u8 - - Value: - Integer: - - U8 - - "857282620" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 857282620u8 - - Value: - Integer: - - U8 - - "920675898" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 920675898u8 - - Value: - Integer: - - U8 - - "762235516" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 762235516u8 - - Value: - Integer: - - U8 - - "469018377" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 469018377u8 - - Value: - Integer: - - U8 - - "199986521" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 199986521u8 - - Value: - Integer: - - U8 - - "536679358" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 536679358u8 - - Value: - Integer: - - U8 - - "591399452" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 591399452u8 - - Value: - Integer: - - U8 - - "83083158" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 11 - path: test - content: 83083158u8 - - Value: - Integer: - - U8 - - "599449051" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 599449051u8 - - Value: - Integer: - - U8 - - "445442318" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 445442318u8 - - Value: - Integer: - - U8 - - "585486590" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 585486590u8 - - Value: - Integer: - - U8 - - "209278800" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 209278800u8 - - Value: - Integer: - - U8 - - "873568117" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 873568117u8 - - Value: - Integer: - - U8 - - "664470940" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 664470940u8 - - Value: - Integer: - - U8 - - "465262783" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 465262783u8 - - Value: - Integer: - - U8 - - "605652874" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 605652874u8 - - Value: - Integer: - - U8 - - "376803940" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 376803940u8 - - Value: - Integer: - - U8 - - "965247040" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 965247040u8 - - Value: - Integer: - - U8 - - "598474509" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 598474509u8 - - Value: - Integer: - - U8 - - "845119918" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 845119918u8 - - Value: - Integer: - - U8 - - "648159133" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 648159133u8 - - Value: - Integer: - - U8 - - "669051032" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 669051032u8 - - Value: - Integer: - - U8 - - "800600261" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 800600261u8 - - Value: - Integer: - - U8 - - "434689764" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 434689764u8 - - Value: - Integer: - - U8 - - "520060080" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 520060080u8 - - Value: - Integer: - - U8 - - "804659385" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 804659385u8 - - Value: - Integer: - - U8 - - "537828058" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 537828058u8 - - Value: - Integer: - - U8 - - "716600292" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 716600292u8 - - Value: - Integer: - - U8 - - "387020273" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 387020273u8 - - Value: - Integer: - - U8 - - "199375617" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 199375617u8 - - Value: - Integer: - - U8 - - "680337189" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 680337189u8 - - Value: - Integer: - - U8 - - "818479931" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 818479931u8 - - Value: - Integer: - - U8 - - "893693281" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 893693281u8 - - Value: - Integer: - - U8 - - "87377802" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 11 - path: test - content: 87377802u8 - - Value: - Integer: - - U8 - - "84699261" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 11 - path: test - content: 84699261u8 - - Value: - Integer: - - U8 - - "292826090" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 292826090u8 - - Value: - Integer: - - U8 - - "569171405" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 569171405u8 - - Value: - Integer: - - U8 - - "387436237" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 387436237u8 - - Value: - Integer: - - U8 - - "150682190" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 150682190u8 - - Value: - Integer: - - U8 - - "888770419" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 888770419u8 - - Value: - Integer: - - U8 - - "824696431" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 824696431u8 - - Value: - Integer: - - U8 - - "765659803" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 765659803u8 - - Value: - Integer: - - U8 - - "270163693" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 270163693u8 - - Value: - Integer: - - U8 - - "427940240" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 427940240u8 - - Value: - Integer: - - U8 - - "504997332" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 504997332u8 - - Value: - Integer: - - U8 - - "337808338" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 337808338u8 - - Value: - Integer: - - U8 - - "907200008" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 907200008u8 - - Value: - Integer: - - U8 - - "757177889" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 757177889u8 - - Value: - Integer: - - U8 - - "696697188" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 696697188u8 - - Value: - Integer: - - U8 - - "41376051" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 11 - path: test - content: 41376051u8 - - Value: - Integer: - - U8 - - "496293518" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 496293518u8 - - Value: - Integer: - - U8 - - "251218820" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: 251218820u8 diff --git a/tests/expectations/parser/parser/expression/literal/postfix_types.leo.out b/tests/expectations/parser/parser/expression/literal/postfix_types.leo.out deleted file mode 100644 index 00ff4531d4..0000000000 --- a/tests/expectations/parser/parser/expression/literal/postfix_types.leo.out +++ /dev/null @@ -1,62 +0,0 @@ ---- -namespace: Token -expectation: Pass -outputs: - - "'field' @ 1:1-6" - - "'Field' @ 1:1-6" - - "'fielD' @ 1:1-6" - - "'FIELD' @ 1:1-6" - - "'group' @ 1:1-6" - - "'Group' @ 1:1-6" - - "'grouP' @ 1:1-6" - - "'GROUP' @ 1:1-6" - - "'u8' @ 1:1-3" - - "'u16' @ 1:1-4" - - "'u32' @ 1:1-4" - - "'u64' @ 1:1-4" - - "'u128' @ 1:1-5" - - "'i8' @ 1:1-3" - - "'i16' @ 1:1-4" - - "'i32' @ 1:1-4" - - "'i64' @ 1:1-4" - - "'i128' @ 1:1-5" - - "'U8' @ 1:1-3" - - "'U16' @ 1:1-4" - - "'U32' @ 1:1-4" - - "'U64' @ 1:1-4" - - "'U128' @ 1:1-5" - - "'U8' @ 1:1-3" - - "'U16' @ 1:1-4" - - "'U32' @ 1:1-4" - - "'U64' @ 1:1-4" - - "'U128' @ 1:1-5" - - "'u' @ 1:1-2" - - "'8' @ 1:1-2" - - "'u' @ 1:1-2" - - "'16' @ 1:1-3" - - "'u' @ 1:1-2" - - "'32' @ 1:1-3" - - "'u' @ 1:1-2" - - "'64' @ 1:1-3" - - "'u' @ 1:1-2" - - "'128' @ 1:1-4" - - "'i' @ 1:1-2" - - "'8' @ 1:1-2" - - "'i' @ 1:1-2" - - "'16' @ 1:1-3" - - "'i' @ 1:1-2" - - "'32' @ 1:1-3" - - "'i' @ 1:1-2" - - "'64' @ 1:1-3" - - "'i' @ 1:1-2" - - "'128' @ 1:1-4" - - "'U' @ 1:1-2,'8' @ 1:3-4" - - "'U' @ 1:1-2,'16' @ 1:3-5" - - "'U' @ 1:1-2,'32' @ 1:3-5" - - "'U' @ 1:1-2,'64' @ 1:3-5" - - "'U' @ 1:1-2,'128' @ 1:3-6" - - "'U' @ 1:1-2,'8' @ 1:3-4" - - "'U' @ 1:1-2,'16' @ 1:3-5" - - "'U' @ 1:1-2,'32' @ 1:3-5" - - "'U' @ 1:1-2,'64' @ 1:3-5" - - "'U' @ 1:1-2,'128' @ 1:3-6" diff --git a/tests/expectations/parser/parser/expression/ternary.leo.out b/tests/expectations/parser/parser/expression/ternary.leo.out deleted file mode 100644 index 0d672f23d9..0000000000 --- a/tests/expectations/parser/parser/expression/ternary.leo.out +++ /dev/null @@ -1,72 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Ternary: - condition: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x ? y : z\\\"}\"}" - if_true: - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x ? y : z\\\"}\"}" - if_false: - Identifier: "{\"name\":\"z\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":9,\\\"col_stop\\\":10,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x ? y : z\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "x ? y : z" - - Ternary: - condition: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x ? a ? b : c : z\\\"}\"}" - if_true: - Ternary: - condition: - Identifier: "{\"name\":\"a\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x ? a ? b : c : z\\\"}\"}" - if_true: - Identifier: "{\"name\":\"b\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":9,\\\"col_stop\\\":10,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x ? a ? b : c : z\\\"}\"}" - if_false: - Identifier: "{\"name\":\"c\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":13,\\\"col_stop\\\":14,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x ? a ? b : c : z\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 14 - path: test - content: "x ? a ? b : c : z" - if_false: - Identifier: "{\"name\":\"z\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":17,\\\"col_stop\\\":18,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x ? a ? b : c : z\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 18 - path: test - content: "x ? a ? b : c : z" - - Ternary: - condition: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x ? y : a ? b : c\\\"}\"}" - if_true: - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x ? y : a ? b : c\\\"}\"}" - if_false: - Ternary: - condition: - Identifier: "{\"name\":\"a\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":9,\\\"col_stop\\\":10,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x ? y : a ? b : c\\\"}\"}" - if_true: - Identifier: "{\"name\":\"b\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":13,\\\"col_stop\\\":14,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x ? y : a ? b : c\\\"}\"}" - if_false: - Identifier: "{\"name\":\"c\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":17,\\\"col_stop\\\":18,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x ? y : a ? b : c\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 18 - path: test - content: "x ? y : a ? b : c" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 18 - path: test - content: "x ? y : a ? b : c" diff --git a/tests/expectations/parser/parser/expression/tuple.leo.out b/tests/expectations/parser/parser/expression/tuple.leo.out deleted file mode 100644 index f5ec2aa11b..0000000000 --- a/tests/expectations/parser/parser/expression/tuple.leo.out +++ /dev/null @@ -1,94 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Value: - Implicit: - - "" - - line_start: 0 - line_stop: 0 - col_start: 0 - col_stop: 0 - path: "" - content: "" - - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":2,\\\"col_stop\\\":3,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"(x)\\\"}\"}" - - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":2,\\\"col_stop\\\":3,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"(y)\\\"}\"}" - - Identifier: "{\"name\":\"z\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":2,\\\"col_stop\\\":3,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"(z)\\\"}\"}" - - Value: - Implicit: - - "" - - line_start: 0 - line_stop: 0 - col_start: 0 - col_stop: 0 - path: "" - content: "" - - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":2,\\\"col_stop\\\":3,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"(x,)\\\"}\"}" - - TupleInit: - elements: - - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":2,\\\"col_stop\\\":3,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"(x,y)\\\"}\"}" - - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":4,\\\"col_stop\\\":5,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"(x,y)\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: "(x,y)" - - TupleInit: - elements: - - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":2,\\\"col_stop\\\":3,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"(x,y,z)\\\"}\"}" - - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":4,\\\"col_stop\\\":5,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"(x,y,z)\\\"}\"}" - - Identifier: "{\"name\":\"z\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":6,\\\"col_stop\\\":7,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"(x,y,z)\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 8 - path: test - content: "(x,y,z)" - - TupleInit: - elements: - - Value: - Implicit: - - "123" - - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 5 - path: test - content: "(123,123)" - - Value: - Implicit: - - "123" - - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 9 - path: test - content: "(123,123)" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "(123,123)" - - TupleInit: - elements: [] - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 3 - path: test - content: () - - TupleInit: - elements: [] - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 4 - path: test - content: (()) diff --git a/tests/expectations/parser/parser/expression/unary/negate.leo.out b/tests/expectations/parser/parser/expression/unary/negate.leo.out deleted file mode 100644 index de785f2be6..0000000000 --- a/tests/expectations/parser/parser/expression/unary/negate.leo.out +++ /dev/null @@ -1,120 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Unary: - inner: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":2,\\\"col_stop\\\":3,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"-x\\\"}\"}" - op: Negate - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 3 - path: test - content: "-x" - - Unary: - inner: - CircuitMemberAccess: - circuit: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":2,\\\"col_stop\\\":3,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"-x.y\\\"}\"}" - name: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":4,\\\"col_stop\\\":5,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"-x.y\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 5 - path: test - content: "-x.y" - op: Negate - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 5 - path: test - content: "-x.y" - - Unary: - inner: - CircuitStaticFunctionAccess: - circuit: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":2,\\\"col_stop\\\":3,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"-x::y\\\"}\"}" - name: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"-x::y\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 6 - path: test - content: "-x::y" - op: Negate - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: "-x::y" - - Unary: - inner: - Call: - function: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":2,\\\"col_stop\\\":3,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"-x()\\\"}\"}" - arguments: [] - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 5 - path: test - content: "-x()" - op: Negate - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 5 - path: test - content: "-x()" - - Unary: - inner: - Unary: - inner: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":3,\\\"col_stop\\\":4,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"--x\\\"}\"}" - op: Negate - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 4 - path: test - content: "--x" - op: Negate - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: "--x" - - Unary: - inner: - Unary: - inner: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":3,\\\"col_stop\\\":4,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"-!x\\\"}\"}" - op: Not - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 4 - path: test - content: "-!x" - op: Negate - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: "-!x" diff --git a/tests/expectations/parser/parser/expression/unary/not.leo.out b/tests/expectations/parser/parser/expression/unary/not.leo.out deleted file mode 100644 index 5c93154572..0000000000 --- a/tests/expectations/parser/parser/expression/unary/not.leo.out +++ /dev/null @@ -1,120 +0,0 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Unary: - inner: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":2,\\\"col_stop\\\":3,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"!x\\\"}\"}" - op: Not - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 3 - path: test - content: "!x" - - Unary: - inner: - CircuitMemberAccess: - circuit: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":2,\\\"col_stop\\\":3,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"!x.y\\\"}\"}" - name: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":4,\\\"col_stop\\\":5,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"!x.y\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 5 - path: test - content: "!x.y" - op: Not - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 5 - path: test - content: "!x.y" - - Unary: - inner: - CircuitStaticFunctionAccess: - circuit: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":2,\\\"col_stop\\\":3,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"!x::y\\\"}\"}" - name: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"!x::y\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 6 - path: test - content: "!x::y" - op: Not - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: "!x::y" - - Unary: - inner: - Call: - function: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":2,\\\"col_stop\\\":3,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"!x()\\\"}\"}" - arguments: [] - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 5 - path: test - content: "!x()" - op: Not - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 5 - path: test - content: "!x()" - - Unary: - inner: - Unary: - inner: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":3,\\\"col_stop\\\":4,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"!!x\\\"}\"}" - op: Not - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 4 - path: test - content: "!!x" - op: Not - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: "!!x" - - Unary: - inner: - Unary: - inner: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":3,\\\"col_stop\\\":4,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"!-x\\\"}\"}" - op: Negate - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 4 - path: test - content: "!-x" - op: Not - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: "!-x" diff --git a/tests/expectations/parser/parser/functions/annotated.leo.out b/tests/expectations/parser/parser/functions/annotated.leo.out deleted file mode 100644 index 29612e265a..0000000000 --- a/tests/expectations/parser/parser/functions/annotated.leo.out +++ /dev/null @@ -1,58 +0,0 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - name: "" - expected_input: [] - imports: [] - circuits: {} - global_consts: {} - functions: - "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":4,\\\"line_stop\\\":4,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x() {\\\"}\"}": - annotations: - - span: - line_start: 3 - line_stop: 3 - col_start: 1 - col_stop: 6 - path: test - content: "@test" - name: "{\"name\":\"test\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":2,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"@test\\\"}\"}" - arguments: [] - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":4,\\\"line_stop\\\":4,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x() {\\\"}\"}" - input: [] - output: ~ - block: - statements: - - Return: - expression: - TupleInit: - elements: [] - span: - line_start: 5 - line_stop: 5 - col_start: 12 - col_stop: 14 - path: test - content: " return ();" - span: - line_start: 5 - line_stop: 5 - col_start: 5 - col_stop: 14 - path: test - content: " return ();" - span: - line_start: 4 - line_stop: 6 - col_start: 14 - col_stop: 2 - path: test - content: "function x() {\n...\n}" - span: - line_start: 4 - line_stop: 6 - col_start: 1 - col_stop: 2 - path: test - content: "function x() {\n...\n}" diff --git a/tests/expectations/parser/parser/functions/annotated_param.leo.out b/tests/expectations/parser/parser/functions/annotated_param.leo.out deleted file mode 100644 index 72ca72549e..0000000000 --- a/tests/expectations/parser/parser/functions/annotated_param.leo.out +++ /dev/null @@ -1,59 +0,0 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - name: "" - expected_input: [] - imports: [] - circuits: {} - global_consts: {} - functions: - "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":4,\\\"line_stop\\\":4,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x() {\\\"}\"}": - annotations: - - span: - line_start: 3 - line_stop: 3 - col_start: 1 - col_stop: 12 - path: test - content: "@test(test)" - name: "{\"name\":\"test\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":2,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"@test(test)\\\"}\"}" - arguments: - - test - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":4,\\\"line_stop\\\":4,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x() {\\\"}\"}" - input: [] - output: ~ - block: - statements: - - Return: - expression: - TupleInit: - elements: [] - span: - line_start: 5 - line_stop: 5 - col_start: 12 - col_stop: 14 - path: test - content: " return ();" - span: - line_start: 5 - line_stop: 5 - col_start: 5 - col_stop: 14 - path: test - content: " return ();" - span: - line_start: 4 - line_stop: 6 - col_start: 14 - col_stop: 2 - path: test - content: "function x() {\n...\n}" - span: - line_start: 4 - line_stop: 6 - col_start: 1 - col_stop: 2 - path: test - content: "function x() {\n...\n}" diff --git a/tests/expectations/parser/parser/functions/annotated_twice.leo.out b/tests/expectations/parser/parser/functions/annotated_twice.leo.out deleted file mode 100644 index a83199ec50..0000000000 --- a/tests/expectations/parser/parser/functions/annotated_twice.leo.out +++ /dev/null @@ -1,67 +0,0 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - name: "" - expected_input: [] - imports: [] - circuits: {} - global_consts: {} - functions: - "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":4,\\\"line_stop\\\":4,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x() {\\\"}\"}": - annotations: - - span: - line_start: 3 - line_stop: 3 - col_start: 1 - col_stop: 6 - path: test - content: "@test @test2" - name: "{\"name\":\"test\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":2,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"@test @test2\\\"}\"}" - arguments: [] - - span: - line_start: 3 - line_stop: 3 - col_start: 7 - col_stop: 13 - path: test - content: "@test @test2" - name: "{\"name\":\"test2\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":8,\\\"col_stop\\\":13,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"@test @test2\\\"}\"}" - arguments: [] - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":4,\\\"line_stop\\\":4,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x() {\\\"}\"}" - input: [] - output: ~ - block: - statements: - - Return: - expression: - TupleInit: - elements: [] - span: - line_start: 5 - line_stop: 5 - col_start: 12 - col_stop: 14 - path: test - content: " return ();" - span: - line_start: 5 - line_stop: 5 - col_start: 5 - col_stop: 14 - path: test - content: " return ();" - span: - line_start: 4 - line_stop: 6 - col_start: 14 - col_stop: 2 - path: test - content: "function x() {\n...\n}" - span: - line_start: 4 - line_stop: 6 - col_start: 1 - col_stop: 2 - path: test - content: "function x() {\n...\n}" diff --git a/tests/expectations/parser/parser/functions/const_input_fail.leo.out b/tests/expectations/parser/parser/functions/const_input_fail.leo.out deleted file mode 100644 index 468e683fd9..0000000000 --- a/tests/expectations/parser/parser/functions/const_input_fail.leo.out +++ /dev/null @@ -1,5 +0,0 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - " --> test:3:18\n |\n 3 | function x(const input) {\n | ^^^^^\n |\n = expected 'ident', got 'input'" diff --git a/tests/expectations/parser/parser/functions/const_param.leo.out b/tests/expectations/parser/parser/functions/const_param.leo.out deleted file mode 100644 index 609a83247f..0000000000 --- a/tests/expectations/parser/parser/functions/const_param.leo.out +++ /dev/null @@ -1,140 +0,0 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - name: "" - expected_input: [] - imports: [] - circuits: {} - global_consts: {} - functions: - "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x(x: u32, const y: i32) {\\\"}\"}": - annotations: [] - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x(x: u32, const y: i32) {\\\"}\"}" - input: - - Variable: - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":12,\\\"col_stop\\\":13,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x(x: u32, const y: i32) {\\\"}\"}" - const_: false - mutable: true - type_: - IntegerType: U32 - span: - line_start: 3 - line_stop: 3 - col_start: 12 - col_stop: 13 - path: test - content: "function x(x: u32, const y: i32) {" - - Variable: - identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":26,\\\"col_stop\\\":27,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x(x: u32, const y: i32) {\\\"}\"}" - const_: true - mutable: false - type_: - IntegerType: I32 - span: - line_start: 3 - line_stop: 3 - col_start: 26 - col_stop: 27 - path: test - content: "function x(x: u32, const y: i32) {" - output: ~ - block: - statements: - - Return: - expression: - TupleInit: - elements: [] - span: - line_start: 4 - line_stop: 4 - col_start: 12 - col_stop: 14 - path: test - content: " return ();" - span: - line_start: 4 - line_stop: 4 - col_start: 5 - col_stop: 14 - path: test - content: " return ();" - span: - line_start: 3 - line_stop: 5 - col_start: 34 - col_stop: 2 - path: test - content: "function x(x: u32, const y: i32) {\n...\n}" - span: - line_start: 3 - line_stop: 5 - col_start: 1 - col_stop: 2 - path: test - content: "function x(x: u32, const y: i32) {\n...\n}" - "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":7,\\\"line_stop\\\":7,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x(const x: u32, y: i32) {\\\"}\"}": - annotations: [] - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":7,\\\"line_stop\\\":7,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x(const x: u32, y: i32) {\\\"}\"}" - input: - - Variable: - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":7,\\\"line_stop\\\":7,\\\"col_start\\\":18,\\\"col_stop\\\":19,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x(const x: u32, y: i32) {\\\"}\"}" - const_: true - mutable: false - type_: - IntegerType: U32 - span: - line_start: 7 - line_stop: 7 - col_start: 18 - col_stop: 19 - path: test - content: "function x(const x: u32, y: i32) {" - - Variable: - identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":7,\\\"line_stop\\\":7,\\\"col_start\\\":26,\\\"col_stop\\\":27,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x(const x: u32, y: i32) {\\\"}\"}" - const_: false - mutable: true - type_: - IntegerType: I32 - span: - line_start: 7 - line_stop: 7 - col_start: 26 - col_stop: 27 - path: test - content: "function x(const x: u32, y: i32) {" - output: ~ - block: - statements: - - Return: - expression: - TupleInit: - elements: [] - span: - line_start: 8 - line_stop: 8 - col_start: 12 - col_stop: 14 - path: test - content: " return ();" - span: - line_start: 8 - line_stop: 8 - col_start: 5 - col_stop: 14 - path: test - content: " return ();" - span: - line_start: 7 - line_stop: 9 - col_start: 34 - col_stop: 2 - path: test - content: "function x(const x: u32, y: i32) {\n...\n}" - span: - line_start: 7 - line_stop: 9 - col_start: 1 - col_stop: 2 - path: test - content: "function x(const x: u32, y: i32) {\n...\n}" diff --git a/tests/expectations/parser/parser/functions/const_self_bad.leo.out b/tests/expectations/parser/parser/functions/const_self_bad.leo.out deleted file mode 100644 index 3b6e210cef..0000000000 --- a/tests/expectations/parser/parser/functions/const_self_bad.leo.out +++ /dev/null @@ -1,50 +0,0 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - name: "" - expected_input: [] - imports: [] - circuits: {} - global_consts: {} - functions: - "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x(const self) {\\\"}\"}": - annotations: [] - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x(const self) {\\\"}\"}" - input: - - ConstSelfKeyword: "{\"name\":\"const self\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":12,\\\"col_stop\\\":22,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x(const self) {\\\"}\"}" - output: ~ - block: - statements: - - Return: - expression: - TupleInit: - elements: [] - span: - line_start: 4 - line_stop: 4 - col_start: 12 - col_stop: 14 - path: test - content: " return ();" - span: - line_start: 4 - line_stop: 4 - col_start: 5 - col_stop: 14 - path: test - content: " return ();" - span: - line_start: 3 - line_stop: 5 - col_start: 24 - col_stop: 2 - path: test - content: "function x(const self) {\n...\n}" - span: - line_start: 3 - line_stop: 5 - col_start: 1 - col_stop: 2 - path: test - content: "function x(const self) {\n...\n}" diff --git a/tests/expectations/parser/parser/functions/empty.leo.out b/tests/expectations/parser/parser/functions/empty.leo.out deleted file mode 100644 index 5ead848ab3..0000000000 --- a/tests/expectations/parser/parser/functions/empty.leo.out +++ /dev/null @@ -1,49 +0,0 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - name: "" - expected_input: [] - imports: [] - circuits: {} - global_consts: {} - functions: - "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x() {\\\"}\"}": - annotations: [] - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x() {\\\"}\"}" - input: [] - output: ~ - block: - statements: - - Return: - expression: - TupleInit: - elements: [] - span: - line_start: 4 - line_stop: 4 - col_start: 12 - col_stop: 14 - path: test - content: " return ();" - span: - line_start: 4 - line_stop: 4 - col_start: 5 - col_stop: 14 - path: test - content: " return ();" - span: - line_start: 3 - line_stop: 5 - col_start: 14 - col_stop: 2 - path: test - content: "function x() {\n...\n}" - span: - line_start: 3 - line_stop: 5 - col_start: 1 - col_stop: 2 - path: test - content: "function x() {\n...\n}" diff --git a/tests/expectations/parser/parser/functions/empty2.leo.out b/tests/expectations/parser/parser/functions/empty2.leo.out deleted file mode 100644 index 16574b1dc3..0000000000 --- a/tests/expectations/parser/parser/functions/empty2.leo.out +++ /dev/null @@ -1,31 +0,0 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - name: "" - expected_input: [] - imports: [] - circuits: {} - global_consts: {} - functions: - "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x() {}\\\"}\"}": - annotations: [] - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x() {}\\\"}\"}" - input: [] - output: ~ - block: - statements: [] - span: - line_start: 3 - line_stop: 3 - col_start: 14 - col_stop: 16 - path: test - content: "function x() {}" - span: - line_start: 3 - line_stop: 3 - col_start: 1 - col_stop: 16 - path: test - content: "function x() {}" diff --git a/tests/expectations/parser/parser/functions/param_array.leo.out b/tests/expectations/parser/parser/functions/param_array.leo.out deleted file mode 100644 index c9b3cc79cd..0000000000 --- a/tests/expectations/parser/parser/functions/param_array.leo.out +++ /dev/null @@ -1,64 +0,0 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - name: "" - expected_input: [] - imports: [] - circuits: {} - global_consts: {} - functions: - "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x(x: [u8; 12]) {\\\"}\"}": - annotations: [] - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x(x: [u8; 12]) {\\\"}\"}" - input: - - Variable: - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":12,\\\"col_stop\\\":13,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x(x: [u8; 12]) {\\\"}\"}" - const_: false - mutable: true - type_: - Array: - - IntegerType: U8 - - - value: "12" - span: - line_start: 3 - line_stop: 3 - col_start: 12 - col_stop: 13 - path: test - content: "function x(x: [u8; 12]) {" - output: ~ - block: - statements: - - Return: - expression: - TupleInit: - elements: [] - span: - line_start: 4 - line_stop: 4 - col_start: 12 - col_stop: 14 - path: test - content: " return ();" - span: - line_start: 4 - line_stop: 4 - col_start: 5 - col_stop: 14 - path: test - content: " return ();" - span: - line_start: 3 - line_stop: 5 - col_start: 25 - col_stop: 2 - path: test - content: "function x(x: [u8; 12]) {\n...\n}" - span: - line_start: 3 - line_stop: 5 - col_start: 1 - col_stop: 2 - path: test - content: "function x(x: [u8; 12]) {\n...\n}" diff --git a/tests/expectations/parser/parser/functions/param_circuit.leo.out b/tests/expectations/parser/parser/functions/param_circuit.leo.out deleted file mode 100644 index e998fe7f92..0000000000 --- a/tests/expectations/parser/parser/functions/param_circuit.leo.out +++ /dev/null @@ -1,62 +0,0 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - name: "" - expected_input: [] - imports: [] - circuits: {} - global_consts: {} - functions: - "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x(x: MyCircuit) {\\\"}\"}": - annotations: [] - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x(x: MyCircuit) {\\\"}\"}" - input: - - Variable: - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":12,\\\"col_stop\\\":13,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x(x: MyCircuit) {\\\"}\"}" - const_: false - mutable: true - type_: - Circuit: "{\"name\":\"MyCircuit\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":15,\\\"col_stop\\\":24,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x(x: MyCircuit) {\\\"}\"}" - span: - line_start: 3 - line_stop: 3 - col_start: 12 - col_stop: 13 - path: test - content: "function x(x: MyCircuit) {" - output: ~ - block: - statements: - - Return: - expression: - TupleInit: - elements: [] - span: - line_start: 4 - line_stop: 4 - col_start: 12 - col_stop: 14 - path: test - content: " return ();" - span: - line_start: 4 - line_stop: 4 - col_start: 5 - col_stop: 14 - path: test - content: " return ();" - span: - line_start: 3 - line_stop: 5 - col_start: 26 - col_stop: 2 - path: test - content: "function x(x: MyCircuit) {\n...\n}" - span: - line_start: 3 - line_stop: 5 - col_start: 1 - col_stop: 2 - path: test - content: "function x(x: MyCircuit) {\n...\n}" diff --git a/tests/expectations/parser/parser/functions/param_tuple.leo.out b/tests/expectations/parser/parser/functions/param_tuple.leo.out deleted file mode 100644 index 9597b18cb3..0000000000 --- a/tests/expectations/parser/parser/functions/param_tuple.leo.out +++ /dev/null @@ -1,64 +0,0 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - name: "" - expected_input: [] - imports: [] - circuits: {} - global_consts: {} - functions: - "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x(x: (u32, i32)) {\\\"}\"}": - annotations: [] - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x(x: (u32, i32)) {\\\"}\"}" - input: - - Variable: - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":12,\\\"col_stop\\\":13,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x(x: (u32, i32)) {\\\"}\"}" - const_: false - mutable: true - type_: - Tuple: - - IntegerType: U32 - - IntegerType: I32 - span: - line_start: 3 - line_stop: 3 - col_start: 12 - col_stop: 13 - path: test - content: "function x(x: (u32, i32)) {" - output: ~ - block: - statements: - - Return: - expression: - TupleInit: - elements: [] - span: - line_start: 4 - line_stop: 4 - col_start: 12 - col_stop: 14 - path: test - content: " return ();" - span: - line_start: 4 - line_stop: 4 - col_start: 5 - col_stop: 14 - path: test - content: " return ();" - span: - line_start: 3 - line_stop: 5 - col_start: 27 - col_stop: 2 - path: test - content: "function x(x: (u32, i32)) {\n...\n}" - span: - line_start: 3 - line_stop: 5 - col_start: 1 - col_stop: 2 - path: test - content: "function x(x: (u32, i32)) {\n...\n}" diff --git a/tests/expectations/parser/parser/functions/params.leo.out b/tests/expectations/parser/parser/functions/params.leo.out deleted file mode 100644 index 9c74dafafd..0000000000 --- a/tests/expectations/parser/parser/functions/params.leo.out +++ /dev/null @@ -1,75 +0,0 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - name: "" - expected_input: [] - imports: [] - circuits: {} - global_consts: {} - functions: - "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x(x: u32, y: i32) {\\\"}\"}": - annotations: [] - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x(x: u32, y: i32) {\\\"}\"}" - input: - - Variable: - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":12,\\\"col_stop\\\":13,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x(x: u32, y: i32) {\\\"}\"}" - const_: false - mutable: true - type_: - IntegerType: U32 - span: - line_start: 3 - line_stop: 3 - col_start: 12 - col_stop: 13 - path: test - content: "function x(x: u32, y: i32) {" - - Variable: - identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":20,\\\"col_stop\\\":21,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x(x: u32, y: i32) {\\\"}\"}" - const_: false - mutable: true - type_: - IntegerType: I32 - span: - line_start: 3 - line_stop: 3 - col_start: 20 - col_stop: 21 - path: test - content: "function x(x: u32, y: i32) {" - output: ~ - block: - statements: - - Return: - expression: - TupleInit: - elements: [] - span: - line_start: 4 - line_stop: 4 - col_start: 12 - col_stop: 14 - path: test - content: " return ();" - span: - line_start: 4 - line_stop: 4 - col_start: 5 - col_stop: 14 - path: test - content: " return ();" - span: - line_start: 3 - line_stop: 5 - col_start: 28 - col_stop: 2 - path: test - content: "function x(x: u32, y: i32) {\n...\n}" - span: - line_start: 3 - line_stop: 5 - col_start: 1 - col_stop: 2 - path: test - content: "function x(x: u32, y: i32) {\n...\n}" diff --git a/tests/expectations/parser/parser/functions/params_return.leo.out b/tests/expectations/parser/parser/functions/params_return.leo.out deleted file mode 100644 index 6b1980e238..0000000000 --- a/tests/expectations/parser/parser/functions/params_return.leo.out +++ /dev/null @@ -1,76 +0,0 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - name: "" - expected_input: [] - imports: [] - circuits: {} - global_consts: {} - functions: - "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x(x: u32, y: i32) -> u32 {\\\"}\"}": - annotations: [] - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x(x: u32, y: i32) -> u32 {\\\"}\"}" - input: - - Variable: - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":12,\\\"col_stop\\\":13,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x(x: u32, y: i32) -> u32 {\\\"}\"}" - const_: false - mutable: true - type_: - IntegerType: U32 - span: - line_start: 3 - line_stop: 3 - col_start: 12 - col_stop: 13 - path: test - content: "function x(x: u32, y: i32) -> u32 {" - - Variable: - identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":20,\\\"col_stop\\\":21,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x(x: u32, y: i32) -> u32 {\\\"}\"}" - const_: false - mutable: true - type_: - IntegerType: I32 - span: - line_start: 3 - line_stop: 3 - col_start: 20 - col_stop: 21 - path: test - content: "function x(x: u32, y: i32) -> u32 {" - output: - IntegerType: U32 - block: - statements: - - Return: - expression: - TupleInit: - elements: [] - span: - line_start: 4 - line_stop: 4 - col_start: 12 - col_stop: 14 - path: test - content: " return ();" - span: - line_start: 4 - line_stop: 4 - col_start: 5 - col_stop: 14 - path: test - content: " return ();" - span: - line_start: 3 - line_stop: 5 - col_start: 35 - col_stop: 2 - path: test - content: "function x(x: u32, y: i32) -> u32 {\n...\n}" - span: - line_start: 3 - line_stop: 5 - col_start: 1 - col_stop: 2 - path: test - content: "function x(x: u32, y: i32) -> u32 {\n...\n}" diff --git a/tests/expectations/parser/parser/functions/return.leo.out b/tests/expectations/parser/parser/functions/return.leo.out deleted file mode 100644 index 3baa2a2e79..0000000000 --- a/tests/expectations/parser/parser/functions/return.leo.out +++ /dev/null @@ -1,50 +0,0 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - name: "" - expected_input: [] - imports: [] - circuits: {} - global_consts: {} - functions: - "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x() -> u32 {\\\"}\"}": - annotations: [] - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x() -> u32 {\\\"}\"}" - input: [] - output: - IntegerType: U32 - block: - statements: - - Return: - expression: - TupleInit: - elements: [] - span: - line_start: 4 - line_stop: 4 - col_start: 12 - col_stop: 14 - path: test - content: " return ();" - span: - line_start: 4 - line_stop: 4 - col_start: 5 - col_stop: 14 - path: test - content: " return ();" - span: - line_start: 3 - line_stop: 5 - col_start: 21 - col_stop: 2 - path: test - content: "function x() -> u32 {\n...\n}" - span: - line_start: 3 - line_stop: 5 - col_start: 1 - col_stop: 2 - path: test - content: "function x() -> u32 {\n...\n}" diff --git a/tests/expectations/parser/parser/functions/return_tuple.leo.out b/tests/expectations/parser/parser/functions/return_tuple.leo.out deleted file mode 100644 index aa853f04df..0000000000 --- a/tests/expectations/parser/parser/functions/return_tuple.leo.out +++ /dev/null @@ -1,52 +0,0 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - name: "" - expected_input: [] - imports: [] - circuits: {} - global_consts: {} - functions: - "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x() -> (u32, u32) {\\\"}\"}": - annotations: [] - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"function x() -> (u32, u32) {\\\"}\"}" - input: [] - output: - Tuple: - - IntegerType: U32 - - IntegerType: U32 - block: - statements: - - Return: - expression: - TupleInit: - elements: [] - span: - line_start: 4 - line_stop: 4 - col_start: 12 - col_stop: 14 - path: test - content: " return ();" - span: - line_start: 4 - line_stop: 4 - col_start: 5 - col_stop: 14 - path: test - content: " return ();" - span: - line_start: 3 - line_stop: 5 - col_start: 28 - col_stop: 2 - path: test - content: "function x() -> (u32, u32) {\n...\n}" - span: - line_start: 3 - line_stop: 5 - col_start: 1 - col_stop: 2 - path: test - content: "function x() -> (u32, u32) {\n...\n}" diff --git a/tests/expectations/parser/parser/import/alias.leo.out b/tests/expectations/parser/parser/import/alias.leo.out deleted file mode 100644 index e0c181f3d7..0000000000 --- a/tests/expectations/parser/parser/import/alias.leo.out +++ /dev/null @@ -1,38 +0,0 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - name: "" - expected_input: [] - imports: - - package_or_packages: - Package: - name: "{\"name\":\"a\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":8,\\\"col_stop\\\":9,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"import a.b as bar;\\\"}\"}" - access: - Symbol: - symbol: "{\"name\":\"b\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"import a.b as bar;\\\"}\"}" - alias: "{\"name\":\"bar\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":15,\\\"col_stop\\\":18,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"import a.b as bar;\\\"}\"}" - span: - line_start: 3 - line_stop: 3 - col_start: 10 - col_stop: 18 - path: test - content: import a.b as bar; - span: - line_start: 3 - line_stop: 3 - col_start: 8 - col_stop: 18 - path: test - content: import a.b as bar; - span: - line_start: 3 - line_stop: 3 - col_start: 8 - col_stop: 18 - path: test - content: import a.b as bar; - circuits: {} - global_consts: {} - functions: {} diff --git a/tests/expectations/parser/parser/import/basic.leo.out b/tests/expectations/parser/parser/import/basic.leo.out deleted file mode 100644 index 7293ccb78e..0000000000 --- a/tests/expectations/parser/parser/import/basic.leo.out +++ /dev/null @@ -1,38 +0,0 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - name: "" - expected_input: [] - imports: - - package_or_packages: - Package: - name: "{\"name\":\"a\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":8,\\\"col_stop\\\":9,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"import a.b;\\\"}\"}" - access: - Symbol: - symbol: "{\"name\":\"b\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"import a.b;\\\"}\"}" - alias: ~ - span: - line_start: 3 - line_stop: 3 - col_start: 10 - col_stop: 11 - path: test - content: import a.b; - span: - line_start: 3 - line_stop: 3 - col_start: 8 - col_stop: 11 - path: test - content: import a.b; - span: - line_start: 3 - line_stop: 3 - col_start: 8 - col_stop: 11 - path: test - content: import a.b; - circuits: {} - global_consts: {} - functions: {} diff --git a/tests/expectations/parser/parser/import/many_import.leo.out b/tests/expectations/parser/parser/import/many_import.leo.out deleted file mode 100644 index c8bf9349c8..0000000000 --- a/tests/expectations/parser/parser/import/many_import.leo.out +++ /dev/null @@ -1,136 +0,0 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - name: "" - expected_input: [] - imports: - - package_or_packages: - Packages: - name: "{\"name\":\"test-import\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":8,\\\"col_stop\\\":19,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"import test-import.( // local import\\\"}\"}" - accesses: - - Symbol: - symbol: "{\"name\":\"Point\",\"span\":\"{\\\"line_start\\\":4,\\\"line_stop\\\":4,\\\"col_start\\\":5,\\\"col_stop\\\":10,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\" Point,\\\"}\"}" - alias: ~ - span: - line_start: 4 - line_stop: 4 - col_start: 5 - col_stop: 10 - path: test - content: " Point," - - Symbol: - symbol: "{\"name\":\"foo\",\"span\":\"{\\\"line_start\\\":5,\\\"line_stop\\\":5,\\\"col_start\\\":5,\\\"col_stop\\\":8,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\" foo,\\\"}\"}" - alias: ~ - span: - line_start: 5 - line_stop: 5 - col_start: 5 - col_stop: 8 - path: test - content: " foo," - span: - line_start: 3 - line_stop: 5 - col_start: 8 - col_stop: 8 - path: test - content: "import test-import.( // local import\n...\n foo," - span: - line_start: 3 - line_stop: 5 - col_start: 8 - col_stop: 8 - path: test - content: "import test-import.( // local import\n...\n foo," - - package_or_packages: - Packages: - name: "{\"name\":\"bar\",\"span\":\"{\\\"line_start\\\":8,\\\"line_stop\\\":8,\\\"col_start\\\":8,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"import bar.( // imports directory import\\\"}\"}" - accesses: - - Symbol: - symbol: "{\"name\":\"Bar\",\"span\":\"{\\\"line_start\\\":9,\\\"line_stop\\\":9,\\\"col_start\\\":5,\\\"col_stop\\\":8,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\" Bar,\\\"}\"}" - alias: ~ - span: - line_start: 9 - line_stop: 9 - col_start: 5 - col_stop: 8 - path: test - content: " Bar," - - Multiple: - name: "{\"name\":\"baz\",\"span\":\"{\\\"line_start\\\":10,\\\"line_stop\\\":10,\\\"col_start\\\":5,\\\"col_stop\\\":8,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\" baz.(Baz, Bazzar),\\\"}\"}" - accesses: - - Symbol: - symbol: "{\"name\":\"Baz\",\"span\":\"{\\\"line_start\\\":10,\\\"line_stop\\\":10,\\\"col_start\\\":10,\\\"col_stop\\\":13,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\" baz.(Baz, Bazzar),\\\"}\"}" - alias: ~ - span: - line_start: 10 - line_stop: 10 - col_start: 10 - col_stop: 13 - path: test - content: " baz.(Baz, Bazzar)," - - Symbol: - symbol: "{\"name\":\"Bazzar\",\"span\":\"{\\\"line_start\\\":10,\\\"line_stop\\\":10,\\\"col_start\\\":15,\\\"col_stop\\\":21,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\" baz.(Baz, Bazzar),\\\"}\"}" - alias: ~ - span: - line_start: 10 - line_stop: 10 - col_start: 15 - col_stop: 21 - path: test - content: " baz.(Baz, Bazzar)," - span: - line_start: 10 - line_stop: 10 - col_start: 5 - col_stop: 21 - path: test - content: " baz.(Baz, Bazzar)," - - SubPackage: - name: "{\"name\":\"bat\",\"span\":\"{\\\"line_start\\\":11,\\\"line_stop\\\":11,\\\"col_start\\\":5,\\\"col_stop\\\":8,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\" bat.bat.Bat,\\\"}\"}" - access: - SubPackage: - name: "{\"name\":\"bat\",\"span\":\"{\\\"line_start\\\":11,\\\"line_stop\\\":11,\\\"col_start\\\":9,\\\"col_stop\\\":12,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\" bat.bat.Bat,\\\"}\"}" - access: - Symbol: - symbol: "{\"name\":\"Bat\",\"span\":\"{\\\"line_start\\\":11,\\\"line_stop\\\":11,\\\"col_start\\\":13,\\\"col_stop\\\":16,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\" bat.bat.Bat,\\\"}\"}" - alias: ~ - span: - line_start: 11 - line_stop: 11 - col_start: 13 - col_stop: 16 - path: test - content: " bat.bat.Bat," - span: - line_start: 11 - line_stop: 11 - col_start: 9 - col_stop: 16 - path: test - content: " bat.bat.Bat," - span: - line_start: 11 - line_stop: 11 - col_start: 5 - col_stop: 16 - path: test - content: " bat.bat.Bat," - span: - line_start: 8 - line_stop: 11 - col_start: 8 - col_stop: 16 - path: test - content: "import bar.( // imports directory import\n...\n bat.bat.Bat," - span: - line_start: 8 - line_stop: 11 - col_start: 8 - col_stop: 16 - path: test - content: "import bar.( // imports directory import\n...\n bat.bat.Bat," - circuits: {} - global_consts: {} - functions: {} diff --git a/tests/expectations/parser/parser/import/many_import_star.leo.out b/tests/expectations/parser/parser/import/many_import_star.leo.out deleted file mode 100644 index 9a04d35a1c..0000000000 --- a/tests/expectations/parser/parser/import/many_import_star.leo.out +++ /dev/null @@ -1,165 +0,0 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - name: "" - expected_input: [] - imports: - - package_or_packages: - Package: - name: "{\"name\":\"test-import\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":8,\\\"col_stop\\\":19,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"import test-import.*; // local import\\\"}\"}" - access: - Star: - line_start: 3 - line_stop: 3 - col_start: 20 - col_stop: 21 - path: test - content: import test-import.*; // local import - span: - line_start: 3 - line_stop: 3 - col_start: 8 - col_stop: 21 - path: test - content: import test-import.*; // local import - span: - line_start: 3 - line_stop: 3 - col_start: 8 - col_stop: 21 - path: test - content: import test-import.*; // local import - - package_or_packages: - Package: - name: "{\"name\":\"bar\",\"span\":\"{\\\"line_start\\\":5,\\\"line_stop\\\":5,\\\"col_start\\\":8,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"import bar.*; // imports directory import\\\"}\"}" - access: - Star: - line_start: 5 - line_stop: 5 - col_start: 12 - col_stop: 13 - path: test - content: import bar.*; // imports directory import - span: - line_start: 5 - line_stop: 5 - col_start: 8 - col_stop: 13 - path: test - content: import bar.*; // imports directory import - span: - line_start: 5 - line_stop: 5 - col_start: 8 - col_stop: 13 - path: test - content: import bar.*; // imports directory import - - package_or_packages: - Package: - name: "{\"name\":\"bar\",\"span\":\"{\\\"line_start\\\":6,\\\"line_stop\\\":6,\\\"col_start\\\":8,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"import bar.baz.*; // imports directory import\\\"}\"}" - access: - SubPackage: - name: "{\"name\":\"baz\",\"span\":\"{\\\"line_start\\\":6,\\\"line_stop\\\":6,\\\"col_start\\\":12,\\\"col_stop\\\":15,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"import bar.baz.*; // imports directory import\\\"}\"}" - access: - Star: - line_start: 6 - line_stop: 6 - col_start: 16 - col_stop: 17 - path: test - content: import bar.baz.*; // imports directory import - span: - line_start: 6 - line_stop: 6 - col_start: 12 - col_stop: 17 - path: test - content: import bar.baz.*; // imports directory import - span: - line_start: 6 - line_stop: 6 - col_start: 8 - col_stop: 17 - path: test - content: import bar.baz.*; // imports directory import - span: - line_start: 6 - line_stop: 6 - col_start: 8 - col_stop: 17 - path: test - content: import bar.baz.*; // imports directory import - - package_or_packages: - Package: - name: "{\"name\":\"bar\",\"span\":\"{\\\"line_start\\\":7,\\\"line_stop\\\":7,\\\"col_start\\\":8,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"import bar.bat.bat.*; // imports directory import\\\"}\"}" - access: - SubPackage: - name: "{\"name\":\"bat\",\"span\":\"{\\\"line_start\\\":7,\\\"line_stop\\\":7,\\\"col_start\\\":12,\\\"col_stop\\\":15,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"import bar.bat.bat.*; // imports directory import\\\"}\"}" - access: - SubPackage: - name: "{\"name\":\"bat\",\"span\":\"{\\\"line_start\\\":7,\\\"line_stop\\\":7,\\\"col_start\\\":16,\\\"col_stop\\\":19,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"import bar.bat.bat.*; // imports directory import\\\"}\"}" - access: - Star: - line_start: 7 - line_stop: 7 - col_start: 20 - col_stop: 21 - path: test - content: import bar.bat.bat.*; // imports directory import - span: - line_start: 7 - line_stop: 7 - col_start: 16 - col_stop: 21 - path: test - content: import bar.bat.bat.*; // imports directory import - span: - line_start: 7 - line_stop: 7 - col_start: 12 - col_stop: 21 - path: test - content: import bar.bat.bat.*; // imports directory import - span: - line_start: 7 - line_stop: 7 - col_start: 8 - col_stop: 21 - path: test - content: import bar.bat.bat.*; // imports directory import - span: - line_start: 7 - line_stop: 7 - col_start: 8 - col_stop: 21 - path: test - content: import bar.bat.bat.*; // imports directory import - - package_or_packages: - Package: - name: "{\"name\":\"car\",\"span\":\"{\\\"line_start\\\":8,\\\"line_stop\\\":8,\\\"col_start\\\":8,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"import car.*; // imports directory import\\\"}\"}" - access: - Star: - line_start: 8 - line_stop: 8 - col_start: 12 - col_stop: 13 - path: test - content: import car.*; // imports directory import - span: - line_start: 8 - line_stop: 8 - col_start: 8 - col_stop: 13 - path: test - content: import car.*; // imports directory import - span: - line_start: 8 - line_stop: 8 - col_start: 8 - col_stop: 13 - path: test - content: import car.*; // imports directory import - circuits: {} - global_consts: {} - functions: {} diff --git a/tests/expectations/parser/parser/import/names.leo.out b/tests/expectations/parser/parser/import/names.leo.out deleted file mode 100644 index 9bc9319577..0000000000 --- a/tests/expectations/parser/parser/import/names.leo.out +++ /dev/null @@ -1,94 +0,0 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - name: "" - expected_input: [] - imports: - - package_or_packages: - Package: - name: "{\"name\":\"a0-f\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":8,\\\"col_stop\\\":12,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"import a0-f.foo;\\\"}\"}" - access: - Symbol: - symbol: "{\"name\":\"foo\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":13,\\\"col_stop\\\":16,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"import a0-f.foo;\\\"}\"}" - alias: ~ - span: - line_start: 3 - line_stop: 3 - col_start: 13 - col_stop: 16 - path: test - content: import a0-f.foo; - span: - line_start: 3 - line_stop: 3 - col_start: 8 - col_stop: 16 - path: test - content: import a0-f.foo; - span: - line_start: 3 - line_stop: 3 - col_start: 8 - col_stop: 16 - path: test - content: import a0-f.foo; - - package_or_packages: - Package: - name: "{\"name\":\"a-9\",\"span\":\"{\\\"line_start\\\":4,\\\"line_stop\\\":4,\\\"col_start\\\":8,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"import a-9.bar;\\\"}\"}" - access: - Symbol: - symbol: "{\"name\":\"bar\",\"span\":\"{\\\"line_start\\\":4,\\\"line_stop\\\":4,\\\"col_start\\\":12,\\\"col_stop\\\":15,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"import a-9.bar;\\\"}\"}" - alias: ~ - span: - line_start: 4 - line_stop: 4 - col_start: 12 - col_stop: 15 - path: test - content: import a-9.bar; - span: - line_start: 4 - line_stop: 4 - col_start: 8 - col_stop: 15 - path: test - content: import a-9.bar; - span: - line_start: 4 - line_stop: 4 - col_start: 8 - col_stop: 15 - path: test - content: import a-9.bar; - - package_or_packages: - Package: - name: "{\"name\":\"hello-world\",\"span\":\"{\\\"line_start\\\":5,\\\"line_stop\\\":5,\\\"col_start\\\":8,\\\"col_stop\\\":19,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"import hello-world.hello;\\\"}\"}" - access: - Symbol: - symbol: "{\"name\":\"hello\",\"span\":\"{\\\"line_start\\\":5,\\\"line_stop\\\":5,\\\"col_start\\\":20,\\\"col_stop\\\":25,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"import hello-world.hello;\\\"}\"}" - alias: ~ - span: - line_start: 5 - line_stop: 5 - col_start: 20 - col_stop: 25 - path: test - content: import hello-world.hello; - span: - line_start: 5 - line_stop: 5 - col_start: 8 - col_stop: 25 - path: test - content: import hello-world.hello; - span: - line_start: 5 - line_stop: 5 - col_start: 8 - col_stop: 25 - path: test - content: import hello-world.hello; - circuits: {} - global_consts: {} - functions: {} diff --git a/tests/expectations/parser/parser/import/names_underscore.leo.out b/tests/expectations/parser/parser/import/names_underscore.leo.out deleted file mode 100644 index 952c5c0ac7..0000000000 --- a/tests/expectations/parser/parser/import/names_underscore.leo.out +++ /dev/null @@ -1,38 +0,0 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - name: "" - expected_input: [] - imports: - - package_or_packages: - Package: - name: "{\"name\":\"hello_world\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":8,\\\"col_stop\\\":19,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"import hello_world.foo;\\\"}\"}" - access: - Symbol: - symbol: "{\"name\":\"foo\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":20,\\\"col_stop\\\":23,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"import hello_world.foo;\\\"}\"}" - alias: ~ - span: - line_start: 3 - line_stop: 3 - col_start: 20 - col_stop: 23 - path: test - content: import hello_world.foo; - span: - line_start: 3 - line_stop: 3 - col_start: 8 - col_stop: 23 - path: test - content: import hello_world.foo; - span: - line_start: 3 - line_stop: 3 - col_start: 8 - col_stop: 23 - path: test - content: import hello_world.foo; - circuits: {} - global_consts: {} - functions: {} diff --git a/tests/expectations/parser/parser/import/star.leo.out b/tests/expectations/parser/parser/import/star.leo.out deleted file mode 100644 index 5bdc771258..0000000000 --- a/tests/expectations/parser/parser/import/star.leo.out +++ /dev/null @@ -1,35 +0,0 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - name: "" - expected_input: [] - imports: - - package_or_packages: - Package: - name: "{\"name\":\"test-import\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":8,\\\"col_stop\\\":19,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"import test-import.*;\\\"}\"}" - access: - Star: - line_start: 3 - line_stop: 3 - col_start: 20 - col_stop: 21 - path: test - content: import test-import.*; - span: - line_start: 3 - line_stop: 3 - col_start: 8 - col_stop: 21 - path: test - content: import test-import.*; - span: - line_start: 3 - line_stop: 3 - col_start: 8 - col_stop: 21 - path: test - content: import test-import.*; - circuits: {} - global_consts: {} - functions: {} diff --git a/tests/expectations/parser/parser/statement/assign.leo.out b/tests/expectations/parser/parser/statement/assign.leo.out deleted file mode 100644 index d992c636a2..0000000000 --- a/tests/expectations/parser/parser/statement/assign.leo.out +++ /dev/null @@ -1,411 +0,0 @@ ---- -namespace: ParseStatement -expectation: Pass -outputs: - - Assign: - operation: Assign - assignee: - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x = expr;\\\"}\"}" - accesses: [] - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: x = expr; - value: - Identifier: "{\"name\":\"expr\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":5,\\\"col_stop\\\":9,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x = expr;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 9 - path: test - content: x = expr; - - Assign: - operation: Assign - assignee: - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x = ();\\\"}\"}" - accesses: [] - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: x = (); - value: - TupleInit: - elements: [] - span: - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 7 - path: test - content: x = (); - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: x = (); - - Assign: - operation: Assign - assignee: - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x = x+y;\\\"}\"}" - accesses: [] - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: x = x+y; - value: - Binary: - left: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x = x+y;\\\"}\"}" - right: - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":7,\\\"col_stop\\\":8,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x = x+y;\\\"}\"}" - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 8 - path: test - content: x = x+y; - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 8 - path: test - content: x = x+y; - - Assign: - operation: Assign - assignee: - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x = (x,y);\\\"}\"}" - accesses: [] - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: "x = (x,y);" - value: - TupleInit: - elements: - - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":6,\\\"col_stop\\\":7,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x = (x,y);\\\"}\"}" - - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":8,\\\"col_stop\\\":9,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x = (x,y);\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 10 - path: test - content: "x = (x,y);" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "x = (x,y);" - - Assign: - operation: Assign - assignee: - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x = x();\\\"}\"}" - accesses: [] - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 2 - path: test - content: x = x(); - value: - Call: - function: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x = x();\\\"}\"}" - arguments: [] - span: - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 8 - path: test - content: x = x(); - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 8 - path: test - content: x = x(); - - Assign: - operation: Assign - assignee: - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[0] = y;\\\"}\"}" - accesses: - - ArrayIndex: - Value: - Implicit: - - "0" - - line_start: 1 - line_stop: 1 - col_start: 3 - col_stop: 4 - path: test - content: "x[0] = y;" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 5 - path: test - content: "x[0] = y;" - value: - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":8,\\\"col_stop\\\":9,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[0] = y;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 9 - path: test - content: "x[0] = y;" - - Assign: - operation: Assign - assignee: - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[0u32] = y;\\\"}\"}" - accesses: - - ArrayIndex: - Value: - Integer: - - U32 - - "0" - - line_start: 1 - line_stop: 1 - col_start: 3 - col_stop: 7 - path: test - content: "x[0u32] = y;" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 8 - path: test - content: "x[0u32] = y;" - value: - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":11,\\\"col_stop\\\":12,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[0u32] = y;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: "x[0u32] = y;" - - Assign: - operation: Assign - assignee: - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x.0 = y;\\\"}\"}" - accesses: - - Tuple: - - value: "0" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: x.0 = y; - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: x.0 = y; - value: - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":7,\\\"col_stop\\\":8,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x.0 = y;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 8 - path: test - content: x.0 = y; - - Assign: - operation: Assign - assignee: - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[1..2] = y;\\\"}\"}" - accesses: - - ArrayRange: - - Value: - Implicit: - - "1" - - line_start: 1 - line_stop: 1 - col_start: 3 - col_stop: 4 - path: test - content: "x[1..2] = y;" - - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 7 - path: test - content: "x[1..2] = y;" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 8 - path: test - content: "x[1..2] = y;" - value: - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":11,\\\"col_stop\\\":12,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[1..2] = y;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: "x[1..2] = y;" - - Assign: - operation: Assign - assignee: - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[..2] = y;\\\"}\"}" - accesses: - - ArrayRange: - - ~ - - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: "x[..2] = y;" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: "x[..2] = y;" - value: - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[..2] = y;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 11 - path: test - content: "x[..2] = y;" - - Assign: - operation: Assign - assignee: - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[2..] = y;\\\"}\"}" - accesses: - - ArrayRange: - - Value: - Implicit: - - "2" - - line_start: 1 - line_stop: 1 - col_start: 3 - col_stop: 4 - path: test - content: "x[2..] = y;" - - ~ - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 7 - path: test - content: "x[2..] = y;" - value: - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[2..] = y;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 11 - path: test - content: "x[2..] = y;" - - Assign: - operation: Assign - assignee: - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[..] = y;\\\"}\"}" - accesses: - - ArrayRange: - - ~ - - ~ - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: "x[..] = y;" - value: - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":9,\\\"col_stop\\\":10,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x[..] = y;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "x[..] = y;" - - Assign: - operation: Assign - assignee: - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x.0[0][..] = y;\\\"}\"}" - accesses: - - Tuple: - - value: "0" - - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: "x.0[0][..] = y;" - - ArrayIndex: - Value: - Implicit: - - "0" - - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: "x.0[0][..] = y;" - - ArrayRange: - - ~ - - ~ - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 11 - path: test - content: "x.0[0][..] = y;" - value: - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":14,\\\"col_stop\\\":15,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x.0[0][..] = y;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: "x.0[0][..] = y;" diff --git a/tests/expectations/parser/parser/statement/block.leo.out b/tests/expectations/parser/parser/statement/block.leo.out deleted file mode 100644 index 6e40c82b0f..0000000000 --- a/tests/expectations/parser/parser/statement/block.leo.out +++ /dev/null @@ -1,141 +0,0 @@ ---- -namespace: ParseStatement -expectation: Pass -outputs: - - Block: - statements: [] - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 3 - path: test - content: "{}" - - Block: - statements: - - Return: - expression: - TupleInit: - elements: [] - span: - line_start: 2 - line_stop: 2 - col_start: 8 - col_stop: 10 - path: test - content: return (); - span: - line_start: 2 - line_stop: 2 - col_start: 1 - col_stop: 10 - path: test - content: return (); - span: - line_start: 1 - line_stop: 3 - col_start: 1 - col_stop: 2 - path: test - content: "{\n...\n}" - - Block: - statements: - - Block: - statements: [] - span: - line_start: 1 - line_stop: 1 - col_start: 2 - col_stop: 4 - path: test - content: "{{}}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 5 - path: test - content: "{{}}" - - Block: - statements: - - Block: - statements: - - Return: - expression: - TupleInit: - elements: [] - span: - line_start: 3 - line_stop: 3 - col_start: 8 - col_stop: 10 - path: test - content: return (); - span: - line_start: 3 - line_stop: 3 - col_start: 1 - col_stop: 10 - path: test - content: return (); - span: - line_start: 2 - line_stop: 4 - col_start: 1 - col_stop: 2 - path: test - content: "{\n...\n}" - span: - line_start: 1 - line_stop: 5 - col_start: 1 - col_stop: 2 - path: test - content: "{\n...\n}" - - Block: - statements: - - Conditional: - condition: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":2,\\\"line_stop\\\":2,\\\"col_start\\\":4,\\\"col_stop\\\":5,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"if x {\\\"}\"}" - block: - statements: - - Return: - expression: - TupleInit: - elements: [] - span: - line_start: 3 - line_stop: 3 - col_start: 8 - col_stop: 10 - path: test - content: return (); - span: - line_start: 3 - line_stop: 3 - col_start: 1 - col_stop: 10 - path: test - content: return (); - span: - line_start: 2 - line_stop: 4 - col_start: 6 - col_stop: 2 - path: test - content: "if x {\n...\n}" - next: ~ - span: - line_start: 2 - line_stop: 4 - col_start: 1 - col_stop: 2 - path: test - content: "if x {\n...\n}" - span: - line_start: 1 - line_stop: 5 - col_start: 1 - col_stop: 2 - path: test - content: "{\n...\n}" diff --git a/tests/expectations/parser/parser/statement/conditional.leo.out b/tests/expectations/parser/parser/statement/conditional.leo.out deleted file mode 100644 index 337dcace01..0000000000 --- a/tests/expectations/parser/parser/statement/conditional.leo.out +++ /dev/null @@ -1,230 +0,0 @@ ---- -namespace: ParseStatement -expectation: Pass -outputs: - - Conditional: - condition: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":4,\\\"col_stop\\\":5,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"if x {\\\"}\"}" - block: - statements: - - Return: - expression: - TupleInit: - elements: [] - span: - line_start: 2 - line_stop: 2 - col_start: 8 - col_stop: 10 - path: test - content: return (); - span: - line_start: 2 - line_stop: 2 - col_start: 1 - col_stop: 10 - path: test - content: return (); - span: - line_start: 1 - line_stop: 3 - col_start: 6 - col_stop: 2 - path: test - content: "if x {\n...\n}" - next: ~ - span: - line_start: 1 - line_stop: 3 - col_start: 1 - col_stop: 2 - path: test - content: "if x {\n...\n}" - - Conditional: - condition: - Identifier: "{\"name\":\"Self\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":4,\\\"col_stop\\\":8,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"if Self {\\\"}\"}" - block: - statements: - - Return: - expression: - TupleInit: - elements: [] - span: - line_start: 2 - line_stop: 2 - col_start: 8 - col_stop: 10 - path: test - content: return (); - span: - line_start: 2 - line_stop: 2 - col_start: 1 - col_stop: 10 - path: test - content: return (); - span: - line_start: 1 - line_stop: 3 - col_start: 9 - col_stop: 2 - path: test - content: "if Self {\n...\n}" - next: ~ - span: - line_start: 1 - line_stop: 3 - col_start: 1 - col_stop: 2 - path: test - content: "if Self {\n...\n}" - - Conditional: - condition: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"if (x) {\\\"}\"}" - block: - statements: - - Return: - expression: - TupleInit: - elements: [] - span: - line_start: 2 - line_stop: 2 - col_start: 8 - col_stop: 10 - path: test - content: return (); - span: - line_start: 2 - line_stop: 2 - col_start: 1 - col_stop: 10 - path: test - content: return (); - span: - line_start: 1 - line_stop: 3 - col_start: 8 - col_stop: 2 - path: test - content: "if (x) {\n...\n}" - next: ~ - span: - line_start: 1 - line_stop: 3 - col_start: 1 - col_stop: 2 - path: test - content: "if (x) {\n...\n}" - - Conditional: - condition: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"if (x) {}\\\"}\"}" - block: - statements: [] - span: - line_start: 1 - line_stop: 1 - col_start: 8 - col_stop: 10 - path: test - content: "if (x) {}" - next: ~ - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "if (x) {}" - - Conditional: - condition: - Binary: - left: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":4,\\\"col_stop\\\":5,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"if x+y {}\\\"}\"}" - right: - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":6,\\\"col_stop\\\":7,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"if x+y {}\\\"}\"}" - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 4 - col_stop: 7 - path: test - content: "if x+y {}" - block: - statements: [] - span: - line_start: 1 - line_stop: 1 - col_start: 8 - col_stop: 10 - path: test - content: "if x+y {}" - next: ~ - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: "if x+y {}" - - Conditional: - condition: - Binary: - left: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":4,\\\"col_stop\\\":5,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"if x+y {\\\"}\"}" - right: - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":6,\\\"col_stop\\\":7,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"if x+y {\\\"}\"}" - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 4 - col_stop: 7 - path: test - content: "if x+y {" - block: - statements: - - Expression: - expression: - Identifier: "{\"name\":\"expr\",\"span\":\"{\\\"line_start\\\":2,\\\"line_stop\\\":2,\\\"col_start\\\":1,\\\"col_stop\\\":5,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"expr;\\\"}\"}" - span: - line_start: 2 - line_stop: 2 - col_start: 1 - col_stop: 5 - path: test - content: expr; - - Return: - expression: - TupleInit: - elements: [] - span: - line_start: 3 - line_stop: 3 - col_start: 8 - col_stop: 10 - path: test - content: return (); - span: - line_start: 3 - line_stop: 3 - col_start: 1 - col_stop: 10 - path: test - content: return (); - span: - line_start: 1 - line_stop: 4 - col_start: 8 - col_stop: 2 - path: test - content: "if x+y {\n...\n}" - next: ~ - span: - line_start: 1 - line_stop: 4 - col_start: 1 - col_stop: 2 - path: test - content: "if x+y {\n...\n}\n" diff --git a/tests/expectations/parser/parser/statement/console.leo.out b/tests/expectations/parser/parser/statement/console.leo.out deleted file mode 100644 index 2ebba05261..0000000000 --- a/tests/expectations/parser/parser/statement/console.leo.out +++ /dev/null @@ -1,207 +0,0 @@ ---- -namespace: ParseStatement -expectation: Pass -outputs: - - Console: - function: - Assert: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":16,\\\"col_stop\\\":17,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"console.assert(x);\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 17 - path: test - content: console.assert(x); - - Console: - function: - Error: - parts: - - Container - parameters: - - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":21,\\\"col_stop\\\":22,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"console.error(\\\\\\\"{}\\\\\\\", x);\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 15 - col_stop: 22 - path: test - content: "console.error(\"{}\", x);" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 22 - path: test - content: "console.error(\"{}\", x);" - - Console: - function: - Error: - parts: - - Container - - Container - parameters: - - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":23,\\\"col_stop\\\":24,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"console.error(\\\\\\\"{}{}\\\\\\\", x, y);\\\"}\"}" - - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":26,\\\"col_stop\\\":27,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"console.error(\\\\\\\"{}{}\\\\\\\", x, y);\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 15 - col_stop: 27 - path: test - content: "console.error(\"{}{}\", x, y);" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 27 - path: test - content: "console.error(\"{}{}\", x, y);" - - Console: - function: - Error: - parts: - - Const: x - parameters: [] - span: - line_start: 1 - line_stop: 1 - col_start: 15 - col_stop: 18 - path: test - content: "console.error(\"x\");" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 18 - path: test - content: "console.error(\"x\");" - - Console: - function: - Debug: - parts: - - Container - parameters: - - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":21,\\\"col_stop\\\":22,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"console.debug(\\\\\\\"{}\\\\\\\", x);\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 15 - col_stop: 22 - path: test - content: "console.debug(\"{}\", x);" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 22 - path: test - content: "console.debug(\"{}\", x);" - - Console: - function: - Debug: - parts: - - Container - - Container - parameters: - - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":23,\\\"col_stop\\\":24,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"console.debug(\\\\\\\"{}{}\\\\\\\", x, y);\\\"}\"}" - - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":26,\\\"col_stop\\\":27,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"console.debug(\\\\\\\"{}{}\\\\\\\", x, y);\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 15 - col_stop: 27 - path: test - content: "console.debug(\"{}{}\", x, y);" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 27 - path: test - content: "console.debug(\"{}{}\", x, y);" - - Console: - function: - Debug: - parts: - - Const: x - parameters: [] - span: - line_start: 1 - line_stop: 1 - col_start: 15 - col_stop: 18 - path: test - content: "console.debug(\"x\");" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 18 - path: test - content: "console.debug(\"x\");" - - Console: - function: - Log: - parts: - - Container - parameters: - - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":19,\\\"col_stop\\\":20,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"console.log(\\\\\\\"{}\\\\\\\", x);\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 13 - col_stop: 20 - path: test - content: "console.log(\"{}\", x);" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 20 - path: test - content: "console.log(\"{}\", x);" - - Console: - function: - Log: - parts: - - Container - - Container - parameters: - - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":21,\\\"col_stop\\\":22,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"console.log(\\\\\\\"{}{}\\\\\\\", x, y);\\\"}\"}" - - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":24,\\\"col_stop\\\":25,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"console.log(\\\\\\\"{}{}\\\\\\\", x, y);\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 13 - col_stop: 25 - path: test - content: "console.log(\"{}{}\", x, y);" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 25 - path: test - content: "console.log(\"{}{}\", x, y);" - - Console: - function: - Log: - parts: - - Const: x - parameters: [] - span: - line_start: 1 - line_stop: 1 - col_start: 13 - col_stop: 16 - path: test - content: "console.log(\"x\");" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 16 - path: test - content: "console.log(\"x\");" diff --git a/tests/expectations/parser/parser/statement/definition.leo.out b/tests/expectations/parser/parser/statement/definition.leo.out deleted file mode 100644 index fa12ad7cea..0000000000 --- a/tests/expectations/parser/parser/statement/definition.leo.out +++ /dev/null @@ -1,1473 +0,0 @@ ---- -namespace: ParseStatement -expectation: Pass -outputs: - - Definition: - declaration_type: Let - variable_names: - - mutable: true - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let x = expr;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: let x = expr; - type_: ~ - value: - Identifier: "{\"name\":\"expr\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":9,\\\"col_stop\\\":13,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let x = expr;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: let x = expr; - - Definition: - declaration_type: Let - variable_names: - - mutable: true - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let x = ();\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: let x = (); - type_: ~ - value: - TupleInit: - elements: [] - span: - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 11 - path: test - content: let x = (); - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 11 - path: test - content: let x = (); - - Definition: - declaration_type: Let - variable_names: - - mutable: true - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let x = x+y;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: let x = x+y; - type_: ~ - value: - Binary: - left: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":9,\\\"col_stop\\\":10,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let x = x+y;\\\"}\"}" - right: - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":11,\\\"col_stop\\\":12,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let x = x+y;\\\"}\"}" - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 12 - path: test - content: let x = x+y; - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: let x = x+y; - - Definition: - declaration_type: Let - variable_names: - - mutable: true - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let x = (x,y);\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: "let x = (x,y);" - type_: ~ - value: - TupleInit: - elements: - - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let x = (x,y);\\\"}\"}" - - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":12,\\\"col_stop\\\":13,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let x = (x,y);\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 14 - path: test - content: "let x = (x,y);" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: "let x = (x,y);" - - Definition: - declaration_type: Let - variable_names: - - mutable: true - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let x = x();\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: let x = x(); - type_: ~ - value: - Call: - function: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":9,\\\"col_stop\\\":10,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let x = x();\\\"}\"}" - arguments: [] - span: - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 12 - path: test - content: let x = x(); - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: let x = x(); - - Definition: - declaration_type: Const - variable_names: - - mutable: false - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":7,\\\"col_stop\\\":8,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const x = expr;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 7 - col_stop: 8 - path: test - content: const x = expr; - type_: ~ - value: - Identifier: "{\"name\":\"expr\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":11,\\\"col_stop\\\":15,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const x = expr;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 15 - path: test - content: const x = expr; - - Definition: - declaration_type: Const - variable_names: - - mutable: false - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":7,\\\"col_stop\\\":8,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const x = ();\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 7 - col_stop: 8 - path: test - content: const x = (); - type_: ~ - value: - TupleInit: - elements: [] - span: - line_start: 1 - line_stop: 1 - col_start: 11 - col_stop: 13 - path: test - content: const x = (); - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: const x = (); - - Definition: - declaration_type: Const - variable_names: - - mutable: false - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":7,\\\"col_stop\\\":8,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const x = x+y;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 7 - col_stop: 8 - path: test - content: const x = x+y; - type_: ~ - value: - Binary: - left: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":11,\\\"col_stop\\\":12,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const x = x+y;\\\"}\"}" - right: - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":13,\\\"col_stop\\\":14,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const x = x+y;\\\"}\"}" - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 11 - col_stop: 14 - path: test - content: const x = x+y; - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: const x = x+y; - - Definition: - declaration_type: Const - variable_names: - - mutable: false - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":7,\\\"col_stop\\\":8,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const x = (x,y);\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 7 - col_stop: 8 - path: test - content: "const x = (x,y);" - type_: ~ - value: - TupleInit: - elements: - - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":12,\\\"col_stop\\\":13,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const x = (x,y);\\\"}\"}" - - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":14,\\\"col_stop\\\":15,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const x = (x,y);\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 11 - col_stop: 16 - path: test - content: "const x = (x,y);" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 16 - path: test - content: "const x = (x,y);" - - Definition: - declaration_type: Const - variable_names: - - mutable: false - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":7,\\\"col_stop\\\":8,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const x = x();\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 7 - col_stop: 8 - path: test - content: const x = x(); - type_: ~ - value: - Call: - function: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":11,\\\"col_stop\\\":12,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const x = x();\\\"}\"}" - arguments: [] - span: - line_start: 1 - line_stop: 1 - col_start: 11 - col_stop: 14 - path: test - content: const x = x(); - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: const x = x(); - - Definition: - declaration_type: Let - variable_names: - - mutable: true - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let x: u32 = expr;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: "let x: u32 = expr;" - type_: - IntegerType: U32 - value: - Identifier: "{\"name\":\"expr\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":14,\\\"col_stop\\\":18,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let x: u32 = expr;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 18 - path: test - content: "let x: u32 = expr;" - - Definition: - declaration_type: Let - variable_names: - - mutable: true - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let x: u32 = ();\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: "let x: u32 = ();" - type_: - IntegerType: U32 - value: - TupleInit: - elements: [] - span: - line_start: 1 - line_stop: 1 - col_start: 14 - col_stop: 16 - path: test - content: "let x: u32 = ();" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 16 - path: test - content: "let x: u32 = ();" - - Definition: - declaration_type: Let - variable_names: - - mutable: true - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let x: u32 = x+y;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: "let x: u32 = x+y;" - type_: - IntegerType: U32 - value: - Binary: - left: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":14,\\\"col_stop\\\":15,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let x: u32 = x+y;\\\"}\"}" - right: - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":16,\\\"col_stop\\\":17,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let x: u32 = x+y;\\\"}\"}" - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 14 - col_stop: 17 - path: test - content: "let x: u32 = x+y;" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 17 - path: test - content: "let x: u32 = x+y;" - - Definition: - declaration_type: Let - variable_names: - - mutable: true - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let x: u32 = (x,y);\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: "let x: u32 = (x,y);" - type_: - IntegerType: U32 - value: - TupleInit: - elements: - - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":15,\\\"col_stop\\\":16,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let x: u32 = (x,y);\\\"}\"}" - - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":17,\\\"col_stop\\\":18,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let x: u32 = (x,y);\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 14 - col_stop: 19 - path: test - content: "let x: u32 = (x,y);" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 19 - path: test - content: "let x: u32 = (x,y);" - - Definition: - declaration_type: Let - variable_names: - - mutable: true - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let x: u32 = x();\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 5 - col_stop: 6 - path: test - content: "let x: u32 = x();" - type_: - IntegerType: U32 - value: - Call: - function: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":14,\\\"col_stop\\\":15,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let x: u32 = x();\\\"}\"}" - arguments: [] - span: - line_start: 1 - line_stop: 1 - col_start: 14 - col_stop: 17 - path: test - content: "let x: u32 = x();" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 17 - path: test - content: "let x: u32 = x();" - - Definition: - declaration_type: Const - variable_names: - - mutable: false - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":7,\\\"col_stop\\\":8,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const x: u32 = expr;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 7 - col_stop: 8 - path: test - content: "const x: u32 = expr;" - type_: - IntegerType: U32 - value: - Identifier: "{\"name\":\"expr\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":16,\\\"col_stop\\\":20,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const x: u32 = expr;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 20 - path: test - content: "const x: u32 = expr;" - - Definition: - declaration_type: Const - variable_names: - - mutable: false - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":7,\\\"col_stop\\\":8,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const x: u32 = ();\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 7 - col_stop: 8 - path: test - content: "const x: u32 = ();" - type_: - IntegerType: U32 - value: - TupleInit: - elements: [] - span: - line_start: 1 - line_stop: 1 - col_start: 16 - col_stop: 18 - path: test - content: "const x: u32 = ();" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 18 - path: test - content: "const x: u32 = ();" - - Definition: - declaration_type: Const - variable_names: - - mutable: false - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":7,\\\"col_stop\\\":8,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const x: u32 = x+y;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 7 - col_stop: 8 - path: test - content: "const x: u32 = x+y;" - type_: - IntegerType: U32 - value: - Binary: - left: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":16,\\\"col_stop\\\":17,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const x: u32 = x+y;\\\"}\"}" - right: - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":18,\\\"col_stop\\\":19,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const x: u32 = x+y;\\\"}\"}" - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 16 - col_stop: 19 - path: test - content: "const x: u32 = x+y;" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 19 - path: test - content: "const x: u32 = x+y;" - - Definition: - declaration_type: Const - variable_names: - - mutable: false - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":7,\\\"col_stop\\\":8,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const x: u32 = (x,y);\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 7 - col_stop: 8 - path: test - content: "const x: u32 = (x,y);" - type_: - IntegerType: U32 - value: - TupleInit: - elements: - - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":17,\\\"col_stop\\\":18,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const x: u32 = (x,y);\\\"}\"}" - - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":19,\\\"col_stop\\\":20,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const x: u32 = (x,y);\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 16 - col_stop: 21 - path: test - content: "const x: u32 = (x,y);" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 21 - path: test - content: "const x: u32 = (x,y);" - - Definition: - declaration_type: Const - variable_names: - - mutable: false - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":7,\\\"col_stop\\\":8,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const x: u32 = x();\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 7 - col_stop: 8 - path: test - content: "const x: u32 = x();" - type_: - IntegerType: U32 - value: - Call: - function: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":16,\\\"col_stop\\\":17,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const x: u32 = x();\\\"}\"}" - arguments: [] - span: - line_start: 1 - line_stop: 1 - col_start: 16 - col_stop: 19 - path: test - content: "const x: u32 = x();" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 19 - path: test - content: "const x: u32 = x();" - - Definition: - declaration_type: Let - variable_names: - - mutable: true - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":6,\\\"col_stop\\\":7,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let (x, y) = expr;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 7 - path: test - content: "let (x, y) = expr;" - - mutable: true - identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":9,\\\"col_stop\\\":10,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let (x, y) = expr;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 10 - path: test - content: "let (x, y) = expr;" - type_: ~ - value: - Identifier: "{\"name\":\"expr\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":14,\\\"col_stop\\\":18,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let (x, y) = expr;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 18 - path: test - content: "let (x, y) = expr;" - - Definition: - declaration_type: Let - variable_names: - - mutable: true - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":6,\\\"col_stop\\\":7,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let (x, y) = ();\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 7 - path: test - content: "let (x, y) = ();" - - mutable: true - identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":9,\\\"col_stop\\\":10,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let (x, y) = ();\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 10 - path: test - content: "let (x, y) = ();" - type_: ~ - value: - TupleInit: - elements: [] - span: - line_start: 1 - line_stop: 1 - col_start: 14 - col_stop: 16 - path: test - content: "let (x, y) = ();" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 16 - path: test - content: "let (x, y) = ();" - - Definition: - declaration_type: Let - variable_names: - - mutable: true - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":6,\\\"col_stop\\\":7,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let (x, y) = x+y;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 7 - path: test - content: "let (x, y) = x+y;" - - mutable: true - identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":9,\\\"col_stop\\\":10,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let (x, y) = x+y;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 10 - path: test - content: "let (x, y) = x+y;" - type_: ~ - value: - Binary: - left: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":14,\\\"col_stop\\\":15,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let (x, y) = x+y;\\\"}\"}" - right: - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":16,\\\"col_stop\\\":17,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let (x, y) = x+y;\\\"}\"}" - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 14 - col_stop: 17 - path: test - content: "let (x, y) = x+y;" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 17 - path: test - content: "let (x, y) = x+y;" - - Definition: - declaration_type: Let - variable_names: - - mutable: true - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":6,\\\"col_stop\\\":7,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let (x, y) = (x,y);\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 7 - path: test - content: "let (x, y) = (x,y);" - - mutable: true - identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":9,\\\"col_stop\\\":10,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let (x, y) = (x,y);\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 10 - path: test - content: "let (x, y) = (x,y);" - type_: ~ - value: - TupleInit: - elements: - - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":15,\\\"col_stop\\\":16,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let (x, y) = (x,y);\\\"}\"}" - - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":17,\\\"col_stop\\\":18,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let (x, y) = (x,y);\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 14 - col_stop: 19 - path: test - content: "let (x, y) = (x,y);" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 19 - path: test - content: "let (x, y) = (x,y);" - - Definition: - declaration_type: Let - variable_names: - - mutable: true - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":6,\\\"col_stop\\\":7,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let (x, y) = x();\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 7 - path: test - content: "let (x, y) = x();" - - mutable: true - identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":9,\\\"col_stop\\\":10,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let (x, y) = x();\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 10 - path: test - content: "let (x, y) = x();" - type_: ~ - value: - Call: - function: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":14,\\\"col_stop\\\":15,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let (x, y) = x();\\\"}\"}" - arguments: [] - span: - line_start: 1 - line_stop: 1 - col_start: 14 - col_stop: 17 - path: test - content: "let (x, y) = x();" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 17 - path: test - content: "let (x, y) = x();" - - Definition: - declaration_type: Const - variable_names: - - mutable: false - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":8,\\\"col_stop\\\":9,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const (x, y) = expr;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 8 - col_stop: 9 - path: test - content: "const (x, y) = expr;" - - mutable: false - identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":11,\\\"col_stop\\\":12,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const (x, y) = expr;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 11 - col_stop: 12 - path: test - content: "const (x, y) = expr;" - type_: ~ - value: - Identifier: "{\"name\":\"expr\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":16,\\\"col_stop\\\":20,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const (x, y) = expr;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 20 - path: test - content: "const (x, y) = expr;" - - Definition: - declaration_type: Const - variable_names: - - mutable: false - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":8,\\\"col_stop\\\":9,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const (x, y) = ();\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 8 - col_stop: 9 - path: test - content: "const (x, y) = ();" - - mutable: false - identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":11,\\\"col_stop\\\":12,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const (x, y) = ();\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 11 - col_stop: 12 - path: test - content: "const (x, y) = ();" - type_: ~ - value: - TupleInit: - elements: [] - span: - line_start: 1 - line_stop: 1 - col_start: 16 - col_stop: 18 - path: test - content: "const (x, y) = ();" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 18 - path: test - content: "const (x, y) = ();" - - Definition: - declaration_type: Const - variable_names: - - mutable: false - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":8,\\\"col_stop\\\":9,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const (x, y) = x+y;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 8 - col_stop: 9 - path: test - content: "const (x, y) = x+y;" - - mutable: false - identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":11,\\\"col_stop\\\":12,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const (x, y) = x+y;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 11 - col_stop: 12 - path: test - content: "const (x, y) = x+y;" - type_: ~ - value: - Binary: - left: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":16,\\\"col_stop\\\":17,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const (x, y) = x+y;\\\"}\"}" - right: - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":18,\\\"col_stop\\\":19,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const (x, y) = x+y;\\\"}\"}" - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 16 - col_stop: 19 - path: test - content: "const (x, y) = x+y;" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 19 - path: test - content: "const (x, y) = x+y;" - - Definition: - declaration_type: Const - variable_names: - - mutable: false - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":8,\\\"col_stop\\\":9,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const (x, y) = (x,y);\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 8 - col_stop: 9 - path: test - content: "const (x, y) = (x,y);" - - mutable: false - identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":11,\\\"col_stop\\\":12,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const (x, y) = (x,y);\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 11 - col_stop: 12 - path: test - content: "const (x, y) = (x,y);" - type_: ~ - value: - TupleInit: - elements: - - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":17,\\\"col_stop\\\":18,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const (x, y) = (x,y);\\\"}\"}" - - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":19,\\\"col_stop\\\":20,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const (x, y) = (x,y);\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 16 - col_stop: 21 - path: test - content: "const (x, y) = (x,y);" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 21 - path: test - content: "const (x, y) = (x,y);" - - Definition: - declaration_type: Const - variable_names: - - mutable: false - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":8,\\\"col_stop\\\":9,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const (x, y) = x();\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 8 - col_stop: 9 - path: test - content: "const (x, y) = x();" - - mutable: false - identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":11,\\\"col_stop\\\":12,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const (x, y) = x();\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 11 - col_stop: 12 - path: test - content: "const (x, y) = x();" - type_: ~ - value: - Call: - function: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":16,\\\"col_stop\\\":17,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const (x, y) = x();\\\"}\"}" - arguments: [] - span: - line_start: 1 - line_stop: 1 - col_start: 16 - col_stop: 19 - path: test - content: "const (x, y) = x();" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 19 - path: test - content: "const (x, y) = x();" - - Definition: - declaration_type: Let - variable_names: - - mutable: true - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":6,\\\"col_stop\\\":7,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let (x, y): u32 = expr;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 7 - path: test - content: "let (x, y): u32 = expr;" - - mutable: true - identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":9,\\\"col_stop\\\":10,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let (x, y): u32 = expr;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 10 - path: test - content: "let (x, y): u32 = expr;" - type_: - IntegerType: U32 - value: - Identifier: "{\"name\":\"expr\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":19,\\\"col_stop\\\":23,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let (x, y): u32 = expr;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 23 - path: test - content: "let (x, y): u32 = expr;" - - Definition: - declaration_type: Let - variable_names: - - mutable: true - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":6,\\\"col_stop\\\":7,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let (x, y): u32 = ();\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 7 - path: test - content: "let (x, y): u32 = ();" - - mutable: true - identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":9,\\\"col_stop\\\":10,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let (x, y): u32 = ();\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 10 - path: test - content: "let (x, y): u32 = ();" - type_: - IntegerType: U32 - value: - TupleInit: - elements: [] - span: - line_start: 1 - line_stop: 1 - col_start: 19 - col_stop: 21 - path: test - content: "let (x, y): u32 = ();" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 21 - path: test - content: "let (x, y): u32 = ();" - - Definition: - declaration_type: Let - variable_names: - - mutable: true - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":6,\\\"col_stop\\\":7,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let (x, y): u32 = x+y;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 7 - path: test - content: "let (x, y): u32 = x+y;" - - mutable: true - identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":9,\\\"col_stop\\\":10,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let (x, y): u32 = x+y;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 10 - path: test - content: "let (x, y): u32 = x+y;" - type_: - IntegerType: U32 - value: - Binary: - left: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":19,\\\"col_stop\\\":20,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let (x, y): u32 = x+y;\\\"}\"}" - right: - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":21,\\\"col_stop\\\":22,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let (x, y): u32 = x+y;\\\"}\"}" - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 19 - col_stop: 22 - path: test - content: "let (x, y): u32 = x+y;" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 22 - path: test - content: "let (x, y): u32 = x+y;" - - Definition: - declaration_type: Let - variable_names: - - mutable: true - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":6,\\\"col_stop\\\":7,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let (x, y): u32 = (x,y);\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 7 - path: test - content: "let (x, y): u32 = (x,y);" - - mutable: true - identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":9,\\\"col_stop\\\":10,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let (x, y): u32 = (x,y);\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 10 - path: test - content: "let (x, y): u32 = (x,y);" - type_: - IntegerType: U32 - value: - TupleInit: - elements: - - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":20,\\\"col_stop\\\":21,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let (x, y): u32 = (x,y);\\\"}\"}" - - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":22,\\\"col_stop\\\":23,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let (x, y): u32 = (x,y);\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 19 - col_stop: 24 - path: test - content: "let (x, y): u32 = (x,y);" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 24 - path: test - content: "let (x, y): u32 = (x,y);" - - Definition: - declaration_type: Let - variable_names: - - mutable: true - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":6,\\\"col_stop\\\":7,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let (x, y): u32 = x();\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 7 - path: test - content: "let (x, y): u32 = x();" - - mutable: true - identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":9,\\\"col_stop\\\":10,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let (x, y): u32 = x();\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 9 - col_stop: 10 - path: test - content: "let (x, y): u32 = x();" - type_: - IntegerType: U32 - value: - Call: - function: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":19,\\\"col_stop\\\":20,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let (x, y): u32 = x();\\\"}\"}" - arguments: [] - span: - line_start: 1 - line_stop: 1 - col_start: 19 - col_stop: 22 - path: test - content: "let (x, y): u32 = x();" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 22 - path: test - content: "let (x, y): u32 = x();" - - Definition: - declaration_type: Const - variable_names: - - mutable: false - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":8,\\\"col_stop\\\":9,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const (x, y): u32 = expr;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 8 - col_stop: 9 - path: test - content: "const (x, y): u32 = expr;" - - mutable: false - identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":11,\\\"col_stop\\\":12,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const (x, y): u32 = expr;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 11 - col_stop: 12 - path: test - content: "const (x, y): u32 = expr;" - type_: - IntegerType: U32 - value: - Identifier: "{\"name\":\"expr\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":21,\\\"col_stop\\\":25,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const (x, y): u32 = expr;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 25 - path: test - content: "const (x, y): u32 = expr;" - - Definition: - declaration_type: Const - variable_names: - - mutable: false - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":8,\\\"col_stop\\\":9,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const (x, y): u32 = ();\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 8 - col_stop: 9 - path: test - content: "const (x, y): u32 = ();" - - mutable: false - identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":11,\\\"col_stop\\\":12,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const (x, y): u32 = ();\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 11 - col_stop: 12 - path: test - content: "const (x, y): u32 = ();" - type_: - IntegerType: U32 - value: - TupleInit: - elements: [] - span: - line_start: 1 - line_stop: 1 - col_start: 21 - col_stop: 23 - path: test - content: "const (x, y): u32 = ();" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 23 - path: test - content: "const (x, y): u32 = ();" - - Definition: - declaration_type: Const - variable_names: - - mutable: false - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":8,\\\"col_stop\\\":9,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const (x, y): u32 = x+y;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 8 - col_stop: 9 - path: test - content: "const (x, y): u32 = x+y;" - - mutable: false - identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":11,\\\"col_stop\\\":12,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const (x, y): u32 = x+y;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 11 - col_stop: 12 - path: test - content: "const (x, y): u32 = x+y;" - type_: - IntegerType: U32 - value: - Binary: - left: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":21,\\\"col_stop\\\":22,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const (x, y): u32 = x+y;\\\"}\"}" - right: - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":23,\\\"col_stop\\\":24,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const (x, y): u32 = x+y;\\\"}\"}" - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 21 - col_stop: 24 - path: test - content: "const (x, y): u32 = x+y;" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 24 - path: test - content: "const (x, y): u32 = x+y;" - - Definition: - declaration_type: Const - variable_names: - - mutable: false - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":8,\\\"col_stop\\\":9,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const (x, y): u32 = (x,y);\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 8 - col_stop: 9 - path: test - content: "const (x, y): u32 = (x,y);" - - mutable: false - identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":11,\\\"col_stop\\\":12,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const (x, y): u32 = (x,y);\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 11 - col_stop: 12 - path: test - content: "const (x, y): u32 = (x,y);" - type_: - IntegerType: U32 - value: - TupleInit: - elements: - - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":22,\\\"col_stop\\\":23,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const (x, y): u32 = (x,y);\\\"}\"}" - - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":24,\\\"col_stop\\\":25,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const (x, y): u32 = (x,y);\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 21 - col_stop: 26 - path: test - content: "const (x, y): u32 = (x,y);" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 26 - path: test - content: "const (x, y): u32 = (x,y);" - - Definition: - declaration_type: Const - variable_names: - - mutable: false - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":8,\\\"col_stop\\\":9,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const (x, y): u32 = x();\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 8 - col_stop: 9 - path: test - content: "const (x, y): u32 = x();" - - mutable: false - identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":11,\\\"col_stop\\\":12,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const (x, y): u32 = x();\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 11 - col_stop: 12 - path: test - content: "const (x, y): u32 = x();" - type_: - IntegerType: U32 - value: - Call: - function: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":21,\\\"col_stop\\\":22,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"const (x, y): u32 = x();\\\"}\"}" - arguments: [] - span: - line_start: 1 - line_stop: 1 - col_start: 21 - col_stop: 24 - path: test - content: "const (x, y): u32 = x();" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 24 - path: test - content: "const (x, y): u32 = x();" - - Definition: - declaration_type: Let - variable_names: - - mutable: true - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":6,\\\"col_stop\\\":7,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let (x,y,) = ();\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 7 - path: test - content: "let (x,y,) = ();" - - mutable: true - identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":8,\\\"col_stop\\\":9,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let (x,y,) = ();\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 8 - col_stop: 9 - path: test - content: "let (x,y,) = ();" - type_: ~ - value: - TupleInit: - elements: [] - span: - line_start: 1 - line_stop: 1 - col_start: 14 - col_stop: 16 - path: test - content: "let (x,y,) = ();" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 16 - path: test - content: "let (x,y,) = ();" - - Definition: - declaration_type: Let - variable_names: - - mutable: true - identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":6,\\\"col_stop\\\":7,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"let (x,) = ();\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 6 - col_stop: 7 - path: test - content: "let (x,) = ();" - type_: ~ - value: - TupleInit: - elements: [] - span: - line_start: 1 - line_stop: 1 - col_start: 12 - col_stop: 14 - path: test - content: "let (x,) = ();" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 14 - path: test - content: "let (x,) = ();" diff --git a/tests/expectations/parser/parser/statement/definition_fail.leo.out b/tests/expectations/parser/parser/statement/definition_fail.leo.out deleted file mode 100644 index fcb8db8960..0000000000 --- a/tests/expectations/parser/parser/statement/definition_fail.leo.out +++ /dev/null @@ -1,27 +0,0 @@ ---- -namespace: ParseStatement -expectation: Fail -outputs: - - " --> test:1:0\n |\n 1 | let mut x = expr;\n |^^^^^^^\n |\n = let mut = ... is deprecated. `let` keyword implies mutabality by default." - - " --> test:1:0\n |\n 1 | let mut x = ();\n |^^^^^^^\n |\n = let mut = ... is deprecated. `let` keyword implies mutabality by default." - - " --> test:1:0\n |\n 1 | let mut x = x+y;\n |^^^^^^^\n |\n = let mut = ... is deprecated. `let` keyword implies mutabality by default." - - " --> test:1:0\n |\n 1 | let mut x = (x,y);\n |^^^^^^^\n |\n = let mut = ... is deprecated. `let` keyword implies mutabality by default." - - " --> test:1:0\n |\n 1 | let mut x = x();\n |^^^^^^^\n |\n = let mut = ... is deprecated. `let` keyword implies mutabality by default." - - " --> test:1:0\n |\n 1 | const mut x = expr;\n |^^^^^^^^^\n |\n = let mut = ... is deprecated. `let` keyword implies mutabality by default." - - " --> test:1:0\n |\n 1 | const mut x = ();\n |^^^^^^^^^\n |\n = let mut = ... is deprecated. `let` keyword implies mutabality by default." - - " --> test:1:0\n |\n 1 | const mut x = x+y;\n |^^^^^^^^^\n |\n = let mut = ... is deprecated. `let` keyword implies mutabality by default." - - " --> test:1:0\n |\n 1 | const mut x = (x,y);\n |^^^^^^^^^\n |\n = let mut = ... is deprecated. `let` keyword implies mutabality by default." - - " --> test:1:0\n |\n 1 | const mut x = x();\n |^^^^^^^^^\n |\n = let mut = ... is deprecated. `let` keyword implies mutabality by default." - - " --> test:1:0\n |\n 1 | let mut x: u32 = expr;\n |^^^^^^^\n |\n = let mut = ... is deprecated. `let` keyword implies mutabality by default." - - " --> test:1:0\n |\n 1 | let mut x: u32 = ();\n |^^^^^^^\n |\n = let mut = ... is deprecated. `let` keyword implies mutabality by default." - - " --> test:1:0\n |\n 1 | let mut x: u32 = x+y;\n |^^^^^^^\n |\n = let mut = ... is deprecated. `let` keyword implies mutabality by default." - - " --> test:1:0\n |\n 1 | let mut x: u32 = (x,y);\n |^^^^^^^\n |\n = let mut = ... is deprecated. `let` keyword implies mutabality by default." - - " --> test:1:0\n |\n 1 | let mut x: u32 = x();\n |^^^^^^^\n |\n = let mut = ... is deprecated. `let` keyword implies mutabality by default." - - " --> test:1:0\n |\n 1 | const mut x: u32 = expr;\n |^^^^^^^^^\n |\n = let mut = ... is deprecated. `let` keyword implies mutabality by default." - - " --> test:1:0\n |\n 1 | const mut x: u32 = ();\n |^^^^^^^^^\n |\n = let mut = ... is deprecated. `let` keyword implies mutabality by default." - - " --> test:1:0\n |\n 1 | const mut x: u32 = x+y;\n |^^^^^^^^^\n |\n = let mut = ... is deprecated. `let` keyword implies mutabality by default." - - " --> test:1:0\n |\n 1 | const mut x: u32 = (x,y);\n |^^^^^^^^^\n |\n = let mut = ... is deprecated. `let` keyword implies mutabality by default." - - " --> test:1:0\n |\n 1 | const mut x: u32 = x();\n |^^^^^^^^^\n |\n = let mut = ... is deprecated. `let` keyword implies mutabality by default." - - " --> test:1:10\n |\n 1 | let (x,y,,) = ();\n | ^\n |\n = expected 'ident', got ','" - - " --> test:1:6\n |\n 1 | let (,x,y) = ();\n | ^\n |\n = expected 'ident', got ','" - - " --> test:1:8\n |\n 1 | let (x,,y) = ();\n | ^\n |\n = expected 'ident', got ','" diff --git a/tests/expectations/parser/parser/statement/expression.leo.out b/tests/expectations/parser/parser/statement/expression.leo.out deleted file mode 100644 index f9542ff844..0000000000 --- a/tests/expectations/parser/parser/statement/expression.leo.out +++ /dev/null @@ -1,94 +0,0 @@ ---- -namespace: ParseStatement -expectation: Pass -outputs: - - Expression: - expression: - Identifier: "{\"name\":\"expr\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":5,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"expr;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 5 - path: test - content: expr; - - Expression: - expression: - TupleInit: - elements: [] - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 3 - path: test - content: (); - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 3 - path: test - content: (); - - Expression: - expression: - Binary: - left: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x+y;\\\"}\"}" - right: - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":3,\\\"col_stop\\\":4,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x+y;\\\"}\"}" - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: x+y; - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: x+y; - - Expression: - expression: - TupleInit: - elements: - - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":2,\\\"col_stop\\\":3,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"(x,y);\\\"}\"}" - - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":4,\\\"col_stop\\\":5,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"(x,y);\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: "(x,y);" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 6 - path: test - content: "(x,y);" - - Expression: - expression: - Call: - function: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"x();\\\"}\"}" - arguments: [] - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: x(); - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 4 - path: test - content: x(); diff --git a/tests/expectations/parser/parser/statement/iteration.leo.out b/tests/expectations/parser/parser/statement/iteration.leo.out deleted file mode 100644 index 4fa2b3b899..0000000000 --- a/tests/expectations/parser/parser/statement/iteration.leo.out +++ /dev/null @@ -1,203 +0,0 @@ ---- -namespace: ParseStatement -expectation: Pass -outputs: - - Iteration: - variable: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"for x in 0..7 {}\\\"}\"}" - start: - Value: - Implicit: - - "0" - - line_start: 1 - line_stop: 1 - col_start: 10 - col_stop: 11 - path: test - content: "for x in 0..7 {}" - stop: - Value: - Implicit: - - "7" - - line_start: 1 - line_stop: 1 - col_start: 13 - col_stop: 14 - path: test - content: "for x in 0..7 {}" - block: - statements: [] - span: - line_start: 1 - line_stop: 1 - col_start: 15 - col_stop: 17 - path: test - content: "for x in 0..7 {}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 17 - path: test - content: "for x in 0..7 {}" - - Iteration: - variable: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"for x in 0..7 {\\\"}\"}" - start: - Value: - Implicit: - - "0" - - line_start: 1 - line_stop: 1 - col_start: 10 - col_stop: 11 - path: test - content: "for x in 0..7 {" - stop: - Value: - Implicit: - - "7" - - line_start: 1 - line_stop: 1 - col_start: 13 - col_stop: 14 - path: test - content: "for x in 0..7 {" - block: - statements: - - Return: - expression: - TupleInit: - elements: [] - span: - line_start: 2 - line_stop: 2 - col_start: 8 - col_stop: 10 - path: test - content: return (); - span: - line_start: 2 - line_stop: 2 - col_start: 1 - col_stop: 10 - path: test - content: return (); - span: - line_start: 1 - line_stop: 3 - col_start: 15 - col_stop: 2 - path: test - content: "for x in 0..7 {\n...\n}" - span: - line_start: 1 - line_stop: 3 - col_start: 1 - col_stop: 2 - path: test - content: "for x in 0..7 {\n...\n}" - - Iteration: - variable: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"for x in 0..99u8 {\\\"}\"}" - start: - Value: - Implicit: - - "0" - - line_start: 1 - line_stop: 1 - col_start: 10 - col_stop: 11 - path: test - content: "for x in 0..99u8 {" - stop: - Value: - Integer: - - U8 - - "99" - - line_start: 1 - line_stop: 1 - col_start: 13 - col_stop: 17 - path: test - content: "for x in 0..99u8 {" - block: - statements: - - Return: - expression: - TupleInit: - elements: [] - span: - line_start: 2 - line_stop: 2 - col_start: 8 - col_stop: 10 - path: test - content: return (); - span: - line_start: 2 - line_stop: 2 - col_start: 1 - col_stop: 10 - path: test - content: return (); - span: - line_start: 1 - line_stop: 3 - col_start: 18 - col_stop: 2 - path: test - content: "for x in 0..99u8 {\n...\n}" - span: - line_start: 1 - line_stop: 3 - col_start: 1 - col_stop: 2 - path: test - content: "for x in 0..99u8 {\n...\n}" - - Iteration: - variable: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"for x in 0..Self {\\\"}\"}" - start: - Value: - Implicit: - - "0" - - line_start: 1 - line_stop: 1 - col_start: 10 - col_stop: 11 - path: test - content: "for x in 0..Self {" - stop: - Identifier: "{\"name\":\"Self\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":13,\\\"col_stop\\\":17,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"for x in 0..Self {\\\"}\"}" - block: - statements: - - Return: - expression: - TupleInit: - elements: [] - span: - line_start: 2 - line_stop: 2 - col_start: 8 - col_stop: 10 - path: test - content: return (); - span: - line_start: 2 - line_stop: 2 - col_start: 1 - col_stop: 10 - path: test - content: return (); - span: - line_start: 1 - line_stop: 3 - col_start: 18 - col_stop: 2 - path: test - content: "for x in 0..Self {\n...\n}" - span: - line_start: 1 - line_stop: 3 - col_start: 1 - col_stop: 2 - path: test - content: "for x in 0..Self {\n...\n}" diff --git a/tests/expectations/parser/parser/statement/return.leo.out b/tests/expectations/parser/parser/statement/return.leo.out deleted file mode 100644 index 938e0d0efe..0000000000 --- a/tests/expectations/parser/parser/statement/return.leo.out +++ /dev/null @@ -1,110 +0,0 @@ ---- -namespace: ParseStatement -expectation: Pass -outputs: - - Return: - expression: - Identifier: "{\"name\":\"expr\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":8,\\\"col_stop\\\":12,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"return expr;\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 12 - path: test - content: return expr; - - Return: - expression: - TupleInit: - elements: [] - span: - line_start: 1 - line_stop: 1 - col_start: 8 - col_stop: 10 - path: test - content: return (); - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: return (); - - Return: - expression: - TupleInit: - elements: [] - span: - line_start: 1 - line_stop: 1 - col_start: 8 - col_stop: 10 - path: test - content: return (); - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 10 - path: test - content: return (); - - Return: - expression: - Binary: - left: - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":8,\\\"col_stop\\\":9,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"return x+y;\\\"}\"}" - right: - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"return x+y;\\\"}\"}" - op: Add - span: - line_start: 1 - line_stop: 1 - col_start: 8 - col_stop: 11 - path: test - content: return x+y; - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 11 - path: test - content: return x+y; - - Return: - expression: - TupleInit: - elements: - - Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":9,\\\"col_stop\\\":10,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"return (x,y);\\\"}\"}" - - Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":11,\\\"col_stop\\\":12,\\\"path\\\":\\\"test\\\",\\\"content\\\":\\\"return (x,y);\\\"}\"}" - span: - line_start: 1 - line_stop: 1 - col_start: 8 - col_stop: 13 - path: test - content: "return (x,y);" - span: - line_start: 1 - line_stop: 1 - col_start: 1 - col_stop: 13 - path: test - content: "return (x,y);" - - Return: - expression: - Value: - Implicit: - - "5" - - line_start: 2 - line_stop: 2 - col_start: 1 - col_stop: 2 - path: test - content: 5; - span: - line_start: 1 - line_stop: 2 - col_start: 1 - col_stop: 2 - path: test - content: "return\n5;" diff --git a/tests/expectations/parser/parser/statement/return_fail.leo.out b/tests/expectations/parser/parser/statement/return_fail.leo.out deleted file mode 100644 index 9f5a9e7204..0000000000 --- a/tests/expectations/parser/parser/statement/return_fail.leo.out +++ /dev/null @@ -1,7 +0,0 @@ ---- -namespace: ParseStatement -expectation: Fail -outputs: - - " --> test:1:1\n |\n 1 | return\n | ^^^^^^\n |\n = unexpected EOF" - - " --> test:1:8\n |\n 1 | return 5\n | ^\n |\n = unexpected EOF" - - " --> test:2:1\n |\n 2 | if x {}\n | ^^\n |\n = expected 'expression', got 'if'"