Skip to content

Commit

Permalink
Rust: update expected output
Browse files Browse the repository at this point in the history
  • Loading branch information
aibaars committed Nov 25, 2024
1 parent 558e418 commit 9eac54f
Show file tree
Hide file tree
Showing 103 changed files with 240 additions and 117 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
| gen_array_expr.rs:5:5:5:13 | [...] | getNumberOfAttrs: | 0 | getNumberOfExprs: | 3 |
| gen_array_expr.rs:6:5:6:11 | [...] | getNumberOfAttrs: | 0 | getNumberOfExprs: | 2 |
| gen_array_expr.rs:5:5:5:13 | [...] | hasType: | yes | getNumberOfAttrs: | 0 | getNumberOfExprs: | 3 |
| gen_array_expr.rs:6:5:6:11 | [...] | hasType: | yes | getNumberOfAttrs: | 0 | getNumberOfExprs: | 2 |
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
| gen_array_expr.rs:5:5:5:13 | [...] | [i32; 3] |
| gen_array_expr.rs:6:5:6:11 | [...] | [i32; 10] |
Original file line number Diff line number Diff line change
@@ -1 +1 @@
| gen_asm_expr.rs:6:9:6:24 | AsmExpr | getNumberOfAttrs: | 0 | hasExpr: | yes |
| gen_asm_expr.rs:6:9:6:24 | AsmExpr | hasType: | yes | getNumberOfAttrs: | 0 | hasExpr: | yes |
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
| gen_asm_expr.rs:6:9:6:24 | AsmExpr | () |
Original file line number Diff line number Diff line change
@@ -1 +1 @@
| gen_await_expr.rs:6:17:6:27 | await ... | getNumberOfAttrs: | 0 | hasExpr: | yes |
| gen_await_expr.rs:6:17:6:27 | await ... | hasType: | yes | getNumberOfAttrs: | 0 | hasExpr: | yes |
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
| gen_await_expr.rs:6:17:6:27 | await ... | {unknown} |
Original file line number Diff line number Diff line change
@@ -1 +1 @@
| gen_become_expr.rs:8:10:8:36 | become ... | getNumberOfAttrs: | 0 | hasExpr: | yes |
| gen_become_expr.rs:8:10:8:36 | become ... | hasType: | yes | getNumberOfAttrs: | 0 | hasExpr: | yes |
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
| gen_become_expr.rs:8:10:8:36 | become ... | ! |
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
| gen_binary_expr.rs:5:5:5:9 | ... + ... | getNumberOfAttrs: | 0 | hasLhs: | yes | hasOperatorName: | yes | hasRhs: | yes |
| gen_binary_expr.rs:6:5:6:10 | ... && ... | getNumberOfAttrs: | 0 | hasLhs: | yes | hasOperatorName: | yes | hasRhs: | yes |
| gen_binary_expr.rs:7:5:7:10 | ... <= ... | getNumberOfAttrs: | 0 | hasLhs: | yes | hasOperatorName: | yes | hasRhs: | yes |
| gen_binary_expr.rs:8:5:8:9 | ... = ... | getNumberOfAttrs: | 0 | hasLhs: | yes | hasOperatorName: | yes | hasRhs: | yes |
| gen_binary_expr.rs:9:5:9:10 | ... += ... | getNumberOfAttrs: | 0 | hasLhs: | yes | hasOperatorName: | yes | hasRhs: | yes |
| gen_binary_expr.rs:5:5:5:9 | ... + ... | hasType: | yes | getNumberOfAttrs: | 0 | hasLhs: | yes | hasOperatorName: | yes | hasRhs: | yes |
| gen_binary_expr.rs:6:5:6:10 | ... && ... | hasType: | yes | getNumberOfAttrs: | 0 | hasLhs: | yes | hasOperatorName: | yes | hasRhs: | yes |
| gen_binary_expr.rs:7:5:7:10 | ... <= ... | hasType: | yes | getNumberOfAttrs: | 0 | hasLhs: | yes | hasOperatorName: | yes | hasRhs: | yes |
| gen_binary_expr.rs:8:5:8:9 | ... = ... | hasType: | yes | getNumberOfAttrs: | 0 | hasLhs: | yes | hasOperatorName: | yes | hasRhs: | yes |
| gen_binary_expr.rs:9:5:9:10 | ... += ... | hasType: | yes | getNumberOfAttrs: | 0 | hasLhs: | yes | hasOperatorName: | yes | hasRhs: | yes |
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
| gen_binary_expr.rs:5:5:5:9 | ... + ... | {unknown} |
| gen_binary_expr.rs:6:5:6:10 | ... && ... | bool |
| gen_binary_expr.rs:7:5:7:10 | ... <= ... | bool |
| gen_binary_expr.rs:8:5:8:9 | ... = ... | () |
| gen_binary_expr.rs:9:5:9:10 | ... += ... | () |
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
| gen_block_expr.rs:3:28:12:1 | { ... } | hasLabel: | no | getNumberOfAttrs: | 0 | isAsync: | no | isConst: | no | isGen: | no | isMove: | no | isTry: | no | isUnsafe: | no | hasStmtList: | yes |
| gen_block_expr.rs:5:5:7:5 | { ... } | hasLabel: | no | getNumberOfAttrs: | 0 | isAsync: | no | isConst: | no | isGen: | no | isMove: | no | isTry: | no | isUnsafe: | no | hasStmtList: | yes |
| gen_block_expr.rs:8:5:11:5 | 'label: { ... } | hasLabel: | yes | getNumberOfAttrs: | 0 | isAsync: | no | isConst: | no | isGen: | no | isMove: | no | isTry: | no | isUnsafe: | no | hasStmtList: | yes |
| gen_block_expr.rs:3:28:12:1 | { ... } | hasType: | yes | hasLabel: | no | getNumberOfAttrs: | 0 | isAsync: | no | isConst: | no | isGen: | no | isMove: | no | isTry: | no | isUnsafe: | no | hasStmtList: | yes |
| gen_block_expr.rs:5:5:7:5 | { ... } | hasType: | yes | hasLabel: | no | getNumberOfAttrs: | 0 | isAsync: | no | isConst: | no | isGen: | no | isMove: | no | isTry: | no | isUnsafe: | no | hasStmtList: | yes |
| gen_block_expr.rs:8:5:11:5 | 'label: { ... } | hasType: | yes | hasLabel: | yes | getNumberOfAttrs: | 0 | isAsync: | no | isConst: | no | isGen: | no | isMove: | no | isTry: | no | isUnsafe: | no | hasStmtList: | yes |
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
| gen_block_expr.rs:3:28:12:1 | { ... } | () |
| gen_block_expr.rs:5:5:7:5 | { ... } | () |
| gen_block_expr.rs:8:5:11:5 | 'label: { ... } | () |
4 changes: 2 additions & 2 deletions rust/ql/test/extractor-tests/generated/BoxPat/BoxPat.expected
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
| gen_box_pat.rs:6:9:6:27 | box ... | hasPat: | yes |
| gen_box_pat.rs:7:9:7:24 | box ...::None | hasPat: | yes |
| gen_box_pat.rs:6:9:6:27 | box ... | hasType: | yes | hasPat: | yes |
| gen_box_pat.rs:7:9:7:24 | box ...::None | hasType: | yes | hasPat: | yes |
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
| gen_box_pat.rs:6:9:6:27 | box ... | Box<Option<i32>, Global> |
| gen_box_pat.rs:7:9:7:24 | box ...::None | Box<Option<i32>, Global> |
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
| gen_break_expr.rs:7:13:7:17 | break | getNumberOfAttrs: | 0 | hasExpr: | no | hasLifetime: | no |
| gen_break_expr.rs:12:13:12:27 | break ''label 42 | getNumberOfAttrs: | 0 | hasExpr: | yes | hasLifetime: | yes |
| gen_break_expr.rs:17:13:17:27 | break ''label 42 | getNumberOfAttrs: | 0 | hasExpr: | yes | hasLifetime: | yes |
| gen_break_expr.rs:7:13:7:17 | break | hasType: | yes | getNumberOfAttrs: | 0 | hasExpr: | no | hasLifetime: | no |
| gen_break_expr.rs:12:13:12:27 | break ''label 42 | hasType: | yes | getNumberOfAttrs: | 0 | hasExpr: | yes | hasLifetime: | yes |
| gen_break_expr.rs:17:13:17:27 | break ''label 42 | hasType: | yes | getNumberOfAttrs: | 0 | hasExpr: | yes | hasLifetime: | yes |
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
| gen_break_expr.rs:7:13:7:17 | break | ! |
| gen_break_expr.rs:12:13:12:27 | break ''label 42 | ! |
| gen_break_expr.rs:17:13:17:27 | break ''label 42 | ! |
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
| gen_call_expr.rs:5:5:5:11 | foo(...) | hasArgList: | yes | getNumberOfAttrs: | 0 | hasExpr: | yes |
| gen_call_expr.rs:6:5:6:23 | foo::<...>(...) | hasArgList: | yes | getNumberOfAttrs: | 0 | hasExpr: | yes |
| gen_call_expr.rs:7:5:7:14 | ...(...) | hasArgList: | yes | getNumberOfAttrs: | 0 | hasExpr: | yes |
| gen_call_expr.rs:8:5:8:10 | foo(...) | hasArgList: | yes | getNumberOfAttrs: | 0 | hasExpr: | yes |
| gen_call_expr.rs:5:5:5:11 | foo(...) | hasType: | yes | hasArgList: | yes | getNumberOfAttrs: | 0 | hasExpr: | yes |
| gen_call_expr.rs:6:5:6:23 | foo::<...>(...) | hasType: | yes | hasArgList: | yes | getNumberOfAttrs: | 0 | hasExpr: | yes |
| gen_call_expr.rs:7:5:7:14 | ...(...) | hasType: | yes | hasArgList: | yes | getNumberOfAttrs: | 0 | hasExpr: | yes |
| gen_call_expr.rs:8:5:8:10 | foo(...) | hasType: | yes | hasArgList: | yes | getNumberOfAttrs: | 0 | hasExpr: | yes |
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
| gen_call_expr.rs:5:5:5:11 | foo(...) | {unknown} |
| gen_call_expr.rs:6:5:6:23 | foo::<...>(...) | {unknown} |
| gen_call_expr.rs:7:5:7:14 | ...(...) | {unknown} |
| gen_call_expr.rs:8:5:8:10 | foo(...) | i32 |
Original file line number Diff line number Diff line change
@@ -1 +1 @@
| gen_cast_expr.rs:5:5:5:16 | value as u64 | getNumberOfAttrs: | 0 | hasExpr: | yes | hasTy: | yes |
| gen_cast_expr.rs:5:5:5:16 | value as u64 | hasType: | yes | getNumberOfAttrs: | 0 | hasExpr: | yes | hasTy: | yes |
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
| gen_cast_expr.rs:5:5:5:16 | value as u64 | u64 |
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
| gen_closure_expr.rs:5:5:5:13 | \|...\| ... | hasParamList: | yes | getNumberOfAttrs: | 0 | hasBody: | yes | hasClosureBinder: | no | isAsync: | no | isConst: | no | isGen: | no | isMove: | no | isStatic: | no | hasRetType: | no |
| gen_closure_expr.rs:6:5:6:34 | \|...\| ... | hasParamList: | yes | getNumberOfAttrs: | 0 | hasBody: | yes | hasClosureBinder: | no | isAsync: | no | isConst: | no | isGen: | no | isMove: | yes | isStatic: | no | hasRetType: | yes |
| gen_closure_expr.rs:7:5:7:27 | \|...\| ... | hasParamList: | yes | getNumberOfAttrs: | 0 | hasBody: | yes | hasClosureBinder: | no | isAsync: | yes | isConst: | no | isGen: | no | isMove: | no | isStatic: | no | hasRetType: | no |
| gen_closure_expr.rs:8:6:9:15 | \|...\| ... | hasParamList: | yes | getNumberOfAttrs: | 1 | hasBody: | yes | hasClosureBinder: | no | isAsync: | no | isConst: | no | isGen: | no | isMove: | no | isStatic: | no | hasRetType: | no |
| gen_closure_expr.rs:10:6:11:23 | \|...\| ... | hasParamList: | yes | getNumberOfAttrs: | 1 | hasBody: | yes | hasClosureBinder: | no | isAsync: | no | isConst: | no | isGen: | no | isMove: | no | isStatic: | yes | hasRetType: | no |
| gen_closure_expr.rs:5:5:5:13 | \|...\| ... | hasParamList: | yes | getNumberOfAttrs: | 0 | hasType: | yes | hasBody: | yes | hasClosureBinder: | no | isAsync: | no | isConst: | no | isGen: | no | isMove: | no | isStatic: | no | hasRetType: | no |
| gen_closure_expr.rs:6:5:6:34 | \|...\| ... | hasParamList: | yes | getNumberOfAttrs: | 0 | hasType: | yes | hasBody: | yes | hasClosureBinder: | no | isAsync: | no | isConst: | no | isGen: | no | isMove: | yes | isStatic: | no | hasRetType: | yes |
| gen_closure_expr.rs:7:5:7:27 | \|...\| ... | hasParamList: | yes | getNumberOfAttrs: | 0 | hasType: | yes | hasBody: | yes | hasClosureBinder: | no | isAsync: | yes | isConst: | no | isGen: | no | isMove: | no | isStatic: | no | hasRetType: | no |
| gen_closure_expr.rs:8:6:9:15 | \|...\| ... | hasParamList: | yes | getNumberOfAttrs: | 1 | hasType: | yes | hasBody: | yes | hasClosureBinder: | no | isAsync: | no | isConst: | no | isGen: | no | isMove: | no | isStatic: | no | hasRetType: | no |
| gen_closure_expr.rs:10:6:11:23 | \|...\| ... | hasParamList: | yes | getNumberOfAttrs: | 1 | hasType: | yes | hasBody: | yes | hasClosureBinder: | no | isAsync: | no | isConst: | no | isGen: | no | isMove: | no | isStatic: | yes | hasRetType: | no |
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
| gen_closure_expr.rs:5:5:5:13 | \|...\| ... | impl Fn({unknown}) -> {unknown} |
| gen_closure_expr.rs:6:5:6:34 | \|...\| ... | impl Fn(i32) -> i32 |
| gen_closure_expr.rs:7:5:7:27 | \|...\| ... | impl Fn(i32, {unknown}) -> impl Future<Output = {unknown}> |
| gen_closure_expr.rs:8:6:9:15 | \|...\| ... | \|{unknown}\| yields {unknown} -> {unknown} |
| gen_closure_expr.rs:10:6:11:23 | \|...\| ... | \|{unknown}\| yields {unknown} -> {unknown} |
Original file line number Diff line number Diff line change
@@ -1 +1 @@
| gen_const_block_pat.rs:6:9:6:27 | ConstBlockPat | hasBlockExpr: | yes | isConst: | yes |
| gen_const_block_pat.rs:6:9:6:27 | ConstBlockPat | hasType: | yes | hasBlockExpr: | yes | isConst: | yes |
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
| gen_const_block_pat.rs:6:9:6:27 | ConstBlockPat | i32 |
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
| gen_continue_expr.rs:7:13:7:20 | continue | getNumberOfAttrs: | 0 | hasLifetime: | no |
| gen_continue_expr.rs:12:13:12:27 | continue 'label | getNumberOfAttrs: | 0 | hasLifetime: | yes |
| gen_continue_expr.rs:7:13:7:20 | continue | hasType: | yes | getNumberOfAttrs: | 0 | hasLifetime: | no |
| gen_continue_expr.rs:12:13:12:27 | continue 'label | hasType: | yes | getNumberOfAttrs: | 0 | hasLifetime: | yes |
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
| gen_continue_expr.rs:7:13:7:20 | continue | ! |
| gen_continue_expr.rs:12:13:12:27 | continue 'label | ! |
Original file line number Diff line number Diff line change
@@ -1 +1 @@
| gen_field_expr.rs:5:5:5:9 | x.foo | getNumberOfAttrs: | 0 | hasExpr: | yes | hasNameRef: | yes |
| gen_field_expr.rs:5:5:5:9 | x.foo | hasType: | yes | getNumberOfAttrs: | 0 | hasExpr: | yes | hasNameRef: | yes |
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
| gen_field_expr.rs:5:5:5:9 | x.foo | () |
Empty file.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
| gen_format.rs:5:14:5:32 | FormatArgsExpr | getNumberOfArgs: | 1 | getNumberOfAttrs: | 0 | hasTemplate: | yes | getNumberOfFormats: | 1 |
| gen_format_args_expr.rs:5:17:5:27 | FormatArgsExpr | getNumberOfArgs: | 0 | getNumberOfAttrs: | 0 | hasTemplate: | yes | getNumberOfFormats: | 0 |
| gen_format_args_expr.rs:6:17:6:37 | FormatArgsExpr | getNumberOfArgs: | 2 | getNumberOfAttrs: | 0 | hasTemplate: | yes | getNumberOfFormats: | 2 |
| gen_format_args_expr.rs:7:17:7:43 | FormatArgsExpr | getNumberOfArgs: | 2 | getNumberOfAttrs: | 0 | hasTemplate: | yes | getNumberOfFormats: | 2 |
| gen_format_args_expr.rs:9:17:9:28 | FormatArgsExpr | getNumberOfArgs: | 0 | getNumberOfAttrs: | 0 | hasTemplate: | yes | getNumberOfFormats: | 2 |
| gen_format_argument.rs:5:14:5:47 | FormatArgsExpr | getNumberOfArgs: | 0 | getNumberOfAttrs: | 0 | hasTemplate: | yes | getNumberOfFormats: | 1 |
| gen_format_argument.rs:7:14:7:56 | FormatArgsExpr | getNumberOfArgs: | 3 | getNumberOfAttrs: | 0 | hasTemplate: | yes | getNumberOfFormats: | 1 |
| gen_format.rs:5:14:5:32 | FormatArgsExpr | hasType: | yes | getNumberOfArgs: | 1 | getNumberOfAttrs: | 0 | hasTemplate: | yes | getNumberOfFormats: | 1 |
| gen_format_args_expr.rs:5:17:5:27 | FormatArgsExpr | hasType: | yes | getNumberOfArgs: | 0 | getNumberOfAttrs: | 0 | hasTemplate: | yes | getNumberOfFormats: | 0 |
| gen_format_args_expr.rs:6:17:6:37 | FormatArgsExpr | hasType: | yes | getNumberOfArgs: | 2 | getNumberOfAttrs: | 0 | hasTemplate: | yes | getNumberOfFormats: | 2 |
| gen_format_args_expr.rs:7:17:7:43 | FormatArgsExpr | hasType: | yes | getNumberOfArgs: | 2 | getNumberOfAttrs: | 0 | hasTemplate: | yes | getNumberOfFormats: | 2 |
| gen_format_args_expr.rs:9:17:9:28 | FormatArgsExpr | hasType: | yes | getNumberOfArgs: | 0 | getNumberOfAttrs: | 0 | hasTemplate: | yes | getNumberOfFormats: | 2 |
| gen_format_argument.rs:5:14:5:47 | FormatArgsExpr | hasType: | yes | getNumberOfArgs: | 0 | getNumberOfAttrs: | 0 | hasTemplate: | yes | getNumberOfFormats: | 1 |
| gen_format_argument.rs:7:14:7:56 | FormatArgsExpr | hasType: | yes | getNumberOfArgs: | 3 | getNumberOfAttrs: | 0 | hasTemplate: | yes | getNumberOfFormats: | 1 |
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
| gen_format.rs:5:14:5:32 | FormatArgsExpr | Arguments<'_> |
| gen_format_args_expr.rs:5:17:5:27 | FormatArgsExpr | Arguments<'_> |
| gen_format_args_expr.rs:6:17:6:37 | FormatArgsExpr | Arguments<'_> |
| gen_format_args_expr.rs:7:17:7:43 | FormatArgsExpr | Arguments<'_> |
| gen_format_args_expr.rs:9:17:9:28 | FormatArgsExpr | Arguments<'_> |
| gen_format_argument.rs:5:14:5:47 | FormatArgsExpr | Arguments<'_> |
| gen_format_argument.rs:7:14:7:56 | FormatArgsExpr | Arguments<'_> |
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
| gen_format_args_expr.rs:9:20:9:20 | x |
| gen_format_args_expr.rs:9:25:9:25 | y |
| gen_format_argument.rs:5:22:5:26 | value |
| gen_format_argument.rs:5:29:5:33 | width |
| gen_format_argument.rs:5:36:5:44 | precision |
| gen_format_args_expr.rs:9:20:9:20 | x | hasType: | yes |
| gen_format_args_expr.rs:9:25:9:25 | y | hasType: | yes |
| gen_format_argument.rs:5:22:5:26 | value | hasType: | no |
| gen_format_argument.rs:5:29:5:33 | width | hasType: | no |
| gen_format_argument.rs:5:36:5:44 | precision | hasType: | no |
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
| gen_format_args_expr.rs:9:20:9:20 | x | i32 |
| gen_format_args_expr.rs:9:25:9:25 | y | i32 |
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
| gen_ident_pat.rs:6:22:6:22 | y | getNumberOfAttrs: | 0 | isMut: | no | isRef: | no | hasName: | yes | hasPat: | no |
| gen_ident_pat.rs:10:9:10:25 | y | getNumberOfAttrs: | 0 | isMut: | no | isRef: | no | hasName: | yes | hasPat: | yes |
| gen_ident_pat.rs:6:22:6:22 | y | hasType: | yes | getNumberOfAttrs: | 0 | isMut: | no | isRef: | no | hasName: | yes | hasPat: | no |
| gen_ident_pat.rs:10:9:10:25 | y | hasType: | yes | getNumberOfAttrs: | 0 | isMut: | no | isRef: | no | hasName: | yes | hasPat: | yes |
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
| gen_ident_pat.rs:6:22:6:22 | y | i32 |
| gen_ident_pat.rs:10:9:10:25 | y | Option<{unknown}> |
4 changes: 2 additions & 2 deletions rust/ql/test/extractor-tests/generated/IfExpr/IfExpr.expected
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
| gen_if_expr.rs:5:5:7:5 | if ... {...} | getNumberOfAttrs: | 0 | hasCondition: | yes | hasElse: | no | hasThen: | yes |
| gen_if_expr.rs:8:13:12:5 | if ... {...} else {...} | getNumberOfAttrs: | 0 | hasCondition: | yes | hasElse: | yes | hasThen: | yes |
| gen_if_expr.rs:5:5:7:5 | if ... {...} | hasType: | yes | getNumberOfAttrs: | 0 | hasCondition: | yes | hasElse: | no | hasThen: | yes |
| gen_if_expr.rs:8:13:12:5 | if ... {...} else {...} | hasType: | yes | getNumberOfAttrs: | 0 | hasCondition: | yes | hasElse: | yes | hasThen: | yes |
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
| gen_if_expr.rs:5:5:7:5 | if ... {...} | () |
| gen_if_expr.rs:8:13:12:5 | if ... {...} else {...} | i32 |
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
| gen_index_expr.rs:5:5:5:12 | list[42] | getNumberOfAttrs: | 0 | hasBase: | yes | hasIndex: | yes |
| gen_index_expr.rs:6:5:6:12 | list[42] | getNumberOfAttrs: | 0 | hasBase: | yes | hasIndex: | yes |
| gen_index_expr.rs:5:5:5:12 | list[42] | hasType: | yes | getNumberOfAttrs: | 0 | hasBase: | yes | hasIndex: | yes |
| gen_index_expr.rs:6:5:6:12 | list[42] | hasType: | yes | getNumberOfAttrs: | 0 | hasBase: | yes | hasIndex: | yes |
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
| gen_index_expr.rs:5:5:5:12 | list[42] | {unknown} |
| gen_index_expr.rs:6:5:6:12 | list[42] | i32 |
Original file line number Diff line number Diff line change
@@ -1 +1 @@
| gen_let_expr.rs:5:8:5:31 | let ... = maybe_some | getNumberOfAttrs: | 0 | hasExpr: | yes | hasPat: | yes |
| gen_let_expr.rs:5:8:5:31 | let ... = maybe_some | hasType: | yes | getNumberOfAttrs: | 0 | hasExpr: | yes | hasPat: | yes |
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
| gen_let_expr.rs:5:8:5:31 | let ... = maybe_some | bool |
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
| gen_literal_expr.rs:5:5:5:6 | 42 | getNumberOfAttrs: | 0 | hasTextValue: | yes |
| gen_literal_expr.rs:6:5:6:8 | 42.0 | getNumberOfAttrs: | 0 | hasTextValue: | yes |
| gen_literal_expr.rs:7:5:7:19 | "Hello, world!" | getNumberOfAttrs: | 0 | hasTextValue: | yes |
| gen_literal_expr.rs:8:5:8:20 | b"Hello, world!" | getNumberOfAttrs: | 0 | hasTextValue: | yes |
| gen_literal_expr.rs:9:5:9:7 | 'x' | getNumberOfAttrs: | 0 | hasTextValue: | yes |
| gen_literal_expr.rs:10:5:10:8 | b'x' | getNumberOfAttrs: | 0 | hasTextValue: | yes |
| gen_literal_expr.rs:11:5:11:20 | r"Hello, world!" | getNumberOfAttrs: | 0 | hasTextValue: | yes |
| gen_literal_expr.rs:12:5:12:8 | true | getNumberOfAttrs: | 0 | hasTextValue: | yes |
| gen_literal_expr.rs:5:5:5:6 | 42 | hasType: | yes | getNumberOfAttrs: | 0 | hasTextValue: | yes |
| gen_literal_expr.rs:6:5:6:8 | 42.0 | hasType: | yes | getNumberOfAttrs: | 0 | hasTextValue: | yes |
| gen_literal_expr.rs:7:5:7:19 | "Hello, world!" | hasType: | yes | getNumberOfAttrs: | 0 | hasTextValue: | yes |
| gen_literal_expr.rs:8:5:8:20 | b"Hello, world!" | hasType: | yes | getNumberOfAttrs: | 0 | hasTextValue: | yes |
| gen_literal_expr.rs:9:5:9:7 | 'x' | hasType: | yes | getNumberOfAttrs: | 0 | hasTextValue: | yes |
| gen_literal_expr.rs:10:5:10:8 | b'x' | hasType: | yes | getNumberOfAttrs: | 0 | hasTextValue: | yes |
| gen_literal_expr.rs:11:5:11:20 | r"Hello, world!" | hasType: | yes | getNumberOfAttrs: | 0 | hasTextValue: | yes |
| gen_literal_expr.rs:12:5:12:8 | true | hasType: | yes | getNumberOfAttrs: | 0 | hasTextValue: | yes |
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
| gen_literal_expr.rs:5:5:5:6 | 42 | i32 |
| gen_literal_expr.rs:6:5:6:8 | 42.0 | f64 |
| gen_literal_expr.rs:7:5:7:19 | "Hello, world!" | &str |
| gen_literal_expr.rs:8:5:8:20 | b"Hello, world!" | &[u8; 13] |
| gen_literal_expr.rs:9:5:9:7 | 'x' | char |
| gen_literal_expr.rs:10:5:10:8 | b'x' | u8 |
| gen_literal_expr.rs:11:5:11:20 | r"Hello, world!" | &str |
| gen_literal_expr.rs:12:5:12:8 | true | bool |
Original file line number Diff line number Diff line change
@@ -1 +1 @@
| gen_literal_pat.rs:6:9:6:10 | 42 | hasLiteral: | yes |
| gen_literal_pat.rs:6:9:6:10 | 42 | hasType: | yes | hasLiteral: | yes |
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
| gen_literal_pat.rs:6:9:6:10 | 42 | i32 |
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
| gen_loop_expr.rs:5:5:7:5 | loop { ... } | hasLabel: | no | hasLoopBody: | yes | getNumberOfAttrs: | 0 |
| gen_loop_expr.rs:8:5:11:5 | 'label: loop { ... } | hasLabel: | yes | hasLoopBody: | yes | getNumberOfAttrs: | 0 |
| gen_loop_expr.rs:13:5:19:5 | loop { ... } | hasLabel: | no | hasLoopBody: | yes | getNumberOfAttrs: | 0 |
| gen_loop_expr.rs:5:5:7:5 | loop { ... } | hasType: | yes | hasLabel: | no | hasLoopBody: | yes | getNumberOfAttrs: | 0 |
| gen_loop_expr.rs:8:5:11:5 | 'label: loop { ... } | hasType: | yes | hasLabel: | yes | hasLoopBody: | yes | getNumberOfAttrs: | 0 |
| gen_loop_expr.rs:13:5:19:5 | loop { ... } | hasType: | yes | hasLabel: | no | hasLoopBody: | yes | getNumberOfAttrs: | 0 |
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
| gen_loop_expr.rs:5:5:7:5 | loop { ... } | ! |
| gen_loop_expr.rs:8:5:11:5 | 'label: loop { ... } | () |
| gen_loop_expr.rs:13:5:19:5 | loop { ... } | () |
Original file line number Diff line number Diff line change
@@ -1 +1 @@
| gen_macro_expr.rs:5:5:5:11 | MacroExpr | hasMacroCall: | yes |
| gen_macro_expr.rs:5:5:5:11 | MacroExpr | hasType: | yes | hasMacroCall: | yes |
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
| gen_macro_expr.rs:5:5:5:11 | MacroExpr | ! |
Empty file.
Loading

0 comments on commit 9eac54f

Please sign in to comment.