-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
98 changed files
with
208 additions
and
108 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
rust/ql/test/extractor-tests/generated/ArrayExpr/ArrayExpr.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
| gen_array_expr.rs:5:5:5:13 | ArrayExpr | getNumberOfAttrs: | 0 | getNumberOfExprs: | 3 | | ||
| gen_array_expr.rs:6:5:6:11 | ArrayExpr | getNumberOfAttrs: | 0 | getNumberOfExprs: | 2 | | ||
| gen_array_expr.rs:5:5:5:13 | ArrayExpr | hasType: | yes | getNumberOfAttrs: | 0 | getNumberOfExprs: | 3 | | ||
| gen_array_expr.rs:6:5:6:11 | ArrayExpr | hasType: | yes | getNumberOfAttrs: | 0 | getNumberOfExprs: | 2 | |
2 changes: 2 additions & 0 deletions
2
rust/ql/test/extractor-tests/generated/ArrayExpr/ArrayExpr_getType.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
| gen_array_expr.rs:5:5:5:13 | ArrayExpr | [i32; 3] | | ||
| gen_array_expr.rs:6:5:6:11 | ArrayExpr | [i32; 10] | |
2 changes: 1 addition & 1 deletion
2
rust/ql/test/extractor-tests/generated/AsmExpr/AsmExpr.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
1 change: 1 addition & 0 deletions
1
rust/ql/test/extractor-tests/generated/AsmExpr/AsmExpr_getType.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
| gen_asm_expr.rs:6:9:6:24 | AsmExpr | () | |
2 changes: 1 addition & 1 deletion
2
rust/ql/test/extractor-tests/generated/AwaitExpr/AwaitExpr.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
| gen_await_expr.rs:6:17:6:27 | AwaitExpr | getNumberOfAttrs: | 0 | hasExpr: | yes | | ||
| gen_await_expr.rs:6:17:6:27 | AwaitExpr | hasType: | yes | getNumberOfAttrs: | 0 | hasExpr: | yes | |
1 change: 1 addition & 0 deletions
1
rust/ql/test/extractor-tests/generated/AwaitExpr/AwaitExpr_getType.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
| gen_await_expr.rs:6:17:6:27 | AwaitExpr | {unknown} | |
2 changes: 1 addition & 1 deletion
2
rust/ql/test/extractor-tests/generated/BecomeExpr/BecomeExpr.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
| gen_become_expr.rs:8:10:8:36 | BecomeExpr | getNumberOfAttrs: | 0 | hasExpr: | yes | | ||
| gen_become_expr.rs:8:10:8:36 | BecomeExpr | hasType: | yes | getNumberOfAttrs: | 0 | hasExpr: | yes | |
1 change: 1 addition & 0 deletions
1
rust/ql/test/extractor-tests/generated/BecomeExpr/BecomeExpr_getType.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
| gen_become_expr.rs:8:10:8:36 | BecomeExpr | ! | |
10 changes: 5 additions & 5 deletions
10
rust/ql/test/extractor-tests/generated/BinaryExpr/BinaryExpr.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
5 changes: 5 additions & 0 deletions
5
rust/ql/test/extractor-tests/generated/BinaryExpr/BinaryExpr_getType.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ... += ... | () | |
6 changes: 3 additions & 3 deletions
6
rust/ql/test/extractor-tests/generated/BlockExpr/BlockExpr.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
| gen_block_expr.rs:3:28:12:1 | BlockExpr | getNumberOfAttrs: | 0 | isAsync: | no | isConst: | no | isGen: | no | isMove: | no | isTry: | no | isUnsafe: | no | hasLabel: | no | hasStmtList: | yes | | ||
| gen_block_expr.rs:5:5:7:5 | BlockExpr | getNumberOfAttrs: | 0 | isAsync: | no | isConst: | no | isGen: | no | isMove: | no | isTry: | no | isUnsafe: | no | hasLabel: | no | hasStmtList: | yes | | ||
| gen_block_expr.rs:8:5:11:5 | BlockExpr | getNumberOfAttrs: | 0 | isAsync: | no | isConst: | no | isGen: | no | isMove: | no | isTry: | no | isUnsafe: | no | hasLabel: | yes | hasStmtList: | yes | | ||
| gen_block_expr.rs:3:28:12:1 | BlockExpr | hasType: | yes | getNumberOfAttrs: | 0 | isAsync: | no | isConst: | no | isGen: | no | isMove: | no | isTry: | no | isUnsafe: | no | hasLabel: | no | hasStmtList: | yes | | ||
| gen_block_expr.rs:5:5:7:5 | BlockExpr | hasType: | yes | getNumberOfAttrs: | 0 | isAsync: | no | isConst: | no | isGen: | no | isMove: | no | isTry: | no | isUnsafe: | no | hasLabel: | no | hasStmtList: | yes | | ||
| gen_block_expr.rs:8:5:11:5 | BlockExpr | hasType: | yes | getNumberOfAttrs: | 0 | isAsync: | no | isConst: | no | isGen: | no | isMove: | no | isTry: | no | isUnsafe: | no | hasLabel: | yes | hasStmtList: | yes | |
3 changes: 3 additions & 0 deletions
3
rust/ql/test/extractor-tests/generated/BlockExpr/BlockExpr_getType.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
| gen_block_expr.rs:3:28:12:1 | BlockExpr | () | | ||
| gen_block_expr.rs:5:5:7:5 | BlockExpr | () | | ||
| gen_block_expr.rs:8:5:11:5 | BlockExpr | () | |
4 changes: 2 additions & 2 deletions
4
rust/ql/test/extractor-tests/generated/BoxPat/BoxPat.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
| gen_box_pat.rs:6:9:6:27 | BoxPat | hasPat: | yes | | ||
| gen_box_pat.rs:7:9:7:24 | BoxPat | hasPat: | yes | | ||
| gen_box_pat.rs:6:9:6:27 | BoxPat | hasType: | yes | hasPat: | yes | | ||
| gen_box_pat.rs:7:9:7:24 | BoxPat | hasType: | yes | hasPat: | yes | |
2 changes: 2 additions & 0 deletions
2
rust/ql/test/extractor-tests/generated/BoxPat/BoxPat_getType.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
| gen_box_pat.rs:6:9:6:27 | BoxPat | Box<Option<i32>, Global> | | ||
| gen_box_pat.rs:7:9:7:24 | BoxPat | Box<Option<i32>, Global> | |
6 changes: 3 additions & 3 deletions
6
rust/ql/test/extractor-tests/generated/BreakExpr/BreakExpr.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
| gen_break_expr.rs:7:13:7:17 | BreakExpr | getNumberOfAttrs: | 0 | hasExpr: | no | hasLifetime: | no | | ||
| gen_break_expr.rs:12:13:12:27 | BreakExpr | getNumberOfAttrs: | 0 | hasExpr: | yes | hasLifetime: | yes | | ||
| gen_break_expr.rs:17:13:17:27 | BreakExpr | getNumberOfAttrs: | 0 | hasExpr: | yes | hasLifetime: | yes | | ||
| gen_break_expr.rs:7:13:7:17 | BreakExpr | hasType: | yes | getNumberOfAttrs: | 0 | hasExpr: | no | hasLifetime: | no | | ||
| gen_break_expr.rs:12:13:12:27 | BreakExpr | hasType: | yes | getNumberOfAttrs: | 0 | hasExpr: | yes | hasLifetime: | yes | | ||
| gen_break_expr.rs:17:13:17:27 | BreakExpr | hasType: | yes | getNumberOfAttrs: | 0 | hasExpr: | yes | hasLifetime: | yes | |
3 changes: 3 additions & 0 deletions
3
rust/ql/test/extractor-tests/generated/BreakExpr/BreakExpr_getType.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
| gen_break_expr.rs:7:13:7:17 | BreakExpr | ! | | ||
| gen_break_expr.rs:12:13:12:27 | BreakExpr | ! | | ||
| gen_break_expr.rs:17:13:17:27 | BreakExpr | ! | |
8 changes: 4 additions & 4 deletions
8
rust/ql/test/extractor-tests/generated/CallExpr/CallExpr.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
| gen_call_expr.rs:5:5:5:11 | CallExpr | hasArgList: | yes | getNumberOfAttrs: | 0 | hasExpr: | yes | | ||
| gen_call_expr.rs:6:5:6:23 | CallExpr | hasArgList: | yes | getNumberOfAttrs: | 0 | hasExpr: | yes | | ||
| gen_call_expr.rs:7:5:7:14 | CallExpr | hasArgList: | yes | getNumberOfAttrs: | 0 | hasExpr: | yes | | ||
| gen_call_expr.rs:8:5:8:10 | CallExpr | hasArgList: | yes | getNumberOfAttrs: | 0 | hasExpr: | yes | | ||
| gen_call_expr.rs:5:5:5:11 | CallExpr | hasType: | yes | hasArgList: | yes | getNumberOfAttrs: | 0 | hasExpr: | yes | | ||
| gen_call_expr.rs:6:5:6:23 | CallExpr | hasType: | yes | hasArgList: | yes | getNumberOfAttrs: | 0 | hasExpr: | yes | | ||
| gen_call_expr.rs:7:5:7:14 | CallExpr | hasType: | yes | hasArgList: | yes | getNumberOfAttrs: | 0 | hasExpr: | yes | | ||
| gen_call_expr.rs:8:5:8:10 | CallExpr | hasType: | yes | hasArgList: | yes | getNumberOfAttrs: | 0 | hasExpr: | yes | |
4 changes: 4 additions & 0 deletions
4
rust/ql/test/extractor-tests/generated/CallExpr/CallExpr_getType.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
| gen_call_expr.rs:5:5:5:11 | CallExpr | {unknown} | | ||
| gen_call_expr.rs:6:5:6:23 | CallExpr | {unknown} | | ||
| gen_call_expr.rs:7:5:7:14 | CallExpr | {unknown} | | ||
| gen_call_expr.rs:8:5:8:10 | CallExpr | i32 | |
2 changes: 1 addition & 1 deletion
2
rust/ql/test/extractor-tests/generated/CastExpr/CastExpr.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
| gen_cast_expr.rs:5:5:5:16 | CastExpr | getNumberOfAttrs: | 0 | hasExpr: | yes | hasTy: | yes | | ||
| gen_cast_expr.rs:5:5:5:16 | CastExpr | hasType: | yes | getNumberOfAttrs: | 0 | hasExpr: | yes | hasTy: | yes | |
1 change: 1 addition & 0 deletions
1
rust/ql/test/extractor-tests/generated/CastExpr/CastExpr_getType.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
| gen_cast_expr.rs:5:5:5:16 | CastExpr | u64 | |
10 changes: 5 additions & 5 deletions
10
rust/ql/test/extractor-tests/generated/ClosureExpr/ClosureExpr.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
| gen_closure_expr.rs:5:5:5:13 | ClosureExpr | 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 | ClosureExpr | 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 | ClosureExpr | 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 | ClosureExpr | 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 | ClosureExpr | 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 | ClosureExpr | 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 | ClosureExpr | 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 | ClosureExpr | 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 | ClosureExpr | 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 | ClosureExpr | hasParamList: | yes | getNumberOfAttrs: | 1 | hasType: | yes | hasBody: | yes | hasClosureBinder: | no | isAsync: | no | isConst: | no | isGen: | no | isMove: | no | isStatic: | yes | hasRetType: | no | |
5 changes: 5 additions & 0 deletions
5
rust/ql/test/extractor-tests/generated/ClosureExpr/ClosureExpr_getType.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
| gen_closure_expr.rs:5:5:5:13 | ClosureExpr | impl Fn({unknown}) -> {unknown} | | ||
| gen_closure_expr.rs:6:5:6:34 | ClosureExpr | impl Fn(i32) -> i32 | | ||
| gen_closure_expr.rs:7:5:7:27 | ClosureExpr | impl Fn(i32, {unknown}) -> impl Future<Output = {unknown}> | | ||
| gen_closure_expr.rs:8:6:9:15 | ClosureExpr | \|{unknown}\| yields {unknown} -> {unknown} | | ||
| gen_closure_expr.rs:10:6:11:23 | ClosureExpr | \|{unknown}\| yields {unknown} -> {unknown} | |
2 changes: 1 addition & 1 deletion
2
rust/ql/test/extractor-tests/generated/ConstBlockPat/ConstBlockPat.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
1 change: 1 addition & 0 deletions
1
rust/ql/test/extractor-tests/generated/ConstBlockPat/ConstBlockPat_getType.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
| gen_const_block_pat.rs:6:9:6:27 | ConstBlockPat | i32 | |
4 changes: 2 additions & 2 deletions
4
rust/ql/test/extractor-tests/generated/ContinueExpr/ContinueExpr.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
| gen_continue_expr.rs:7:13:7:20 | ContinueExpr | getNumberOfAttrs: | 0 | hasLifetime: | no | | ||
| gen_continue_expr.rs:12:13:12:27 | ContinueExpr | getNumberOfAttrs: | 0 | hasLifetime: | yes | | ||
| gen_continue_expr.rs:7:13:7:20 | ContinueExpr | hasType: | yes | getNumberOfAttrs: | 0 | hasLifetime: | no | | ||
| gen_continue_expr.rs:12:13:12:27 | ContinueExpr | hasType: | yes | getNumberOfAttrs: | 0 | hasLifetime: | yes | |
2 changes: 2 additions & 0 deletions
2
rust/ql/test/extractor-tests/generated/ContinueExpr/ContinueExpr_getType.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
| gen_continue_expr.rs:7:13:7:20 | ContinueExpr | ! | | ||
| gen_continue_expr.rs:12:13:12:27 | ContinueExpr | ! | |
2 changes: 1 addition & 1 deletion
2
rust/ql/test/extractor-tests/generated/FieldExpr/FieldExpr.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
| gen_field_expr.rs:5:5:5:9 | FieldExpr | getNumberOfAttrs: | 0 | hasExpr: | yes | hasNameRef: | yes | | ||
| gen_field_expr.rs:5:5:5:9 | FieldExpr | hasType: | yes | getNumberOfAttrs: | 0 | hasExpr: | yes | hasNameRef: | yes | |
1 change: 1 addition & 0 deletions
1
rust/ql/test/extractor-tests/generated/FieldExpr/FieldExpr_getType.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
| gen_field_expr.rs:5:5:5:9 | FieldExpr | () | |
Empty file.
Empty file.
4 changes: 2 additions & 2 deletions
4
rust/ql/test/extractor-tests/generated/IdentPat/IdentPat.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
2 changes: 2 additions & 0 deletions
2
rust/ql/test/extractor-tests/generated/IdentPat/IdentPat_getType.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
4
rust/ql/test/extractor-tests/generated/IfExpr/IfExpr.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
| gen_if_expr.rs:5:5:7:5 | IfExpr | getNumberOfAttrs: | 0 | hasCondition: | yes | hasElse: | no | hasThen: | yes | | ||
| gen_if_expr.rs:8:13:12:5 | IfExpr | getNumberOfAttrs: | 0 | hasCondition: | yes | hasElse: | yes | hasThen: | yes | | ||
| gen_if_expr.rs:5:5:7:5 | IfExpr | hasType: | yes | getNumberOfAttrs: | 0 | hasCondition: | yes | hasElse: | no | hasThen: | yes | | ||
| gen_if_expr.rs:8:13:12:5 | IfExpr | hasType: | yes | getNumberOfAttrs: | 0 | hasCondition: | yes | hasElse: | yes | hasThen: | yes | |
2 changes: 2 additions & 0 deletions
2
rust/ql/test/extractor-tests/generated/IfExpr/IfExpr_getType.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
| gen_if_expr.rs:5:5:7:5 | IfExpr | () | | ||
| gen_if_expr.rs:8:13:12:5 | IfExpr | i32 | |
4 changes: 2 additions & 2 deletions
4
rust/ql/test/extractor-tests/generated/IndexExpr/IndexExpr.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
| gen_index_expr.rs:5:5:5:12 | IndexExpr | getNumberOfAttrs: | 0 | hasBase: | yes | hasIndex: | yes | | ||
| gen_index_expr.rs:6:5:6:12 | IndexExpr | getNumberOfAttrs: | 0 | hasBase: | yes | hasIndex: | yes | | ||
| gen_index_expr.rs:5:5:5:12 | IndexExpr | hasType: | yes | getNumberOfAttrs: | 0 | hasBase: | yes | hasIndex: | yes | | ||
| gen_index_expr.rs:6:5:6:12 | IndexExpr | hasType: | yes | getNumberOfAttrs: | 0 | hasBase: | yes | hasIndex: | yes | |
2 changes: 2 additions & 0 deletions
2
rust/ql/test/extractor-tests/generated/IndexExpr/IndexExpr_getType.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
| gen_index_expr.rs:5:5:5:12 | IndexExpr | {unknown} | | ||
| gen_index_expr.rs:6:5:6:12 | IndexExpr | i32 | |
2 changes: 1 addition & 1 deletion
2
rust/ql/test/extractor-tests/generated/LetExpr/LetExpr.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
| gen_let_expr.rs:5:8:5:31 | LetExpr | getNumberOfAttrs: | 0 | hasExpr: | yes | hasPat: | yes | | ||
| gen_let_expr.rs:5:8:5:31 | LetExpr | hasType: | yes | getNumberOfAttrs: | 0 | hasExpr: | yes | hasPat: | yes | |
1 change: 1 addition & 0 deletions
1
rust/ql/test/extractor-tests/generated/LetExpr/LetExpr_getType.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
| gen_let_expr.rs:5:8:5:31 | LetExpr | bool | |
16 changes: 8 additions & 8 deletions
16
rust/ql/test/extractor-tests/generated/LiteralExpr/LiteralExpr.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
8 changes: 8 additions & 0 deletions
8
rust/ql/test/extractor-tests/generated/LiteralExpr/LiteralExpr_getType.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
2 changes: 1 addition & 1 deletion
2
rust/ql/test/extractor-tests/generated/LiteralPat/LiteralPat.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
| gen_literal_pat.rs:6:9:6:10 | LiteralPat | hasLiteral: | yes | | ||
| gen_literal_pat.rs:6:9:6:10 | LiteralPat | hasType: | yes | hasLiteral: | yes | |
1 change: 1 addition & 0 deletions
1
rust/ql/test/extractor-tests/generated/LiteralPat/LiteralPat_getType.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
| gen_literal_pat.rs:6:9:6:10 | LiteralPat | i32 | |
6 changes: 3 additions & 3 deletions
6
rust/ql/test/extractor-tests/generated/LoopExpr/LoopExpr.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
| gen_loop_expr.rs:5:5:7:5 | LoopExpr | getNumberOfAttrs: | 0 | hasLabel: | no | hasLoopBody: | yes | | ||
| gen_loop_expr.rs:8:5:11:5 | LoopExpr | getNumberOfAttrs: | 0 | hasLabel: | yes | hasLoopBody: | yes | | ||
| gen_loop_expr.rs:13:5:19:5 | LoopExpr | getNumberOfAttrs: | 0 | hasLabel: | no | hasLoopBody: | yes | | ||
| gen_loop_expr.rs:5:5:7:5 | LoopExpr | hasType: | yes | getNumberOfAttrs: | 0 | hasLabel: | no | hasLoopBody: | yes | | ||
| gen_loop_expr.rs:8:5:11:5 | LoopExpr | hasType: | yes | getNumberOfAttrs: | 0 | hasLabel: | yes | hasLoopBody: | yes | | ||
| gen_loop_expr.rs:13:5:19:5 | LoopExpr | hasType: | yes | getNumberOfAttrs: | 0 | hasLabel: | no | hasLoopBody: | yes | |
3 changes: 3 additions & 0 deletions
3
rust/ql/test/extractor-tests/generated/LoopExpr/LoopExpr_getType.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
| gen_loop_expr.rs:5:5:7:5 | LoopExpr | ! | | ||
| gen_loop_expr.rs:8:5:11:5 | LoopExpr | () | | ||
| gen_loop_expr.rs:13:5:19:5 | LoopExpr | () | |
2 changes: 1 addition & 1 deletion
2
rust/ql/test/extractor-tests/generated/MacroExpr/MacroExpr.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
1 change: 1 addition & 0 deletions
1
rust/ql/test/extractor-tests/generated/MacroExpr/MacroExpr_getType.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
| gen_macro_expr.rs:5:5:5:11 | MacroExpr | ! | |
Empty file.
4 changes: 2 additions & 2 deletions
4
rust/ql/test/extractor-tests/generated/MatchExpr/MatchExpr.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
| gen_match_expr.rs:5:5:8:5 | MatchExpr | getNumberOfAttrs: | 0 | hasExpr: | yes | hasMatchArmList: | yes | | ||
| gen_match_expr.rs:9:5:12:5 | MatchExpr | getNumberOfAttrs: | 0 | hasExpr: | yes | hasMatchArmList: | yes | | ||
| gen_match_expr.rs:5:5:8:5 | MatchExpr | hasType: | yes | getNumberOfAttrs: | 0 | hasExpr: | yes | hasMatchArmList: | yes | | ||
| gen_match_expr.rs:9:5:12:5 | MatchExpr | hasType: | yes | getNumberOfAttrs: | 0 | hasExpr: | yes | hasMatchArmList: | yes | |
2 changes: 2 additions & 0 deletions
2
rust/ql/test/extractor-tests/generated/MatchExpr/MatchExpr_getType.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
| gen_match_expr.rs:5:5:8:5 | MatchExpr | i32 | | ||
| gen_match_expr.rs:9:5:12:5 | MatchExpr | i32 | |
4 changes: 2 additions & 2 deletions
4
rust/ql/test/extractor-tests/generated/MethodCallExpr/MethodCallExpr.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
| gen_method_call_expr.rs:5:5:5:13 | ... .foo(...) | hasArgList: | yes | getNumberOfAttrs: | 0 | hasResolvedPath: | no | hasResolvedCrateOrigin: | no | hasGenericArgList: | no | hasNameRef: | yes | hasReceiver: | yes | | ||
| gen_method_call_expr.rs:6:5:6:25 | ... .foo(...) | hasArgList: | yes | getNumberOfAttrs: | 0 | hasResolvedPath: | no | hasResolvedCrateOrigin: | no | hasGenericArgList: | yes | hasNameRef: | yes | hasReceiver: | yes | | ||
| gen_method_call_expr.rs:5:5:5:13 | ... .foo(...) | hasType: | yes | hasArgList: | yes | getNumberOfAttrs: | 0 | hasResolvedPath: | no | hasResolvedCrateOrigin: | no | hasGenericArgList: | no | hasNameRef: | yes | hasReceiver: | yes | | ||
| gen_method_call_expr.rs:6:5:6:25 | ... .foo(...) | hasType: | yes | hasArgList: | yes | getNumberOfAttrs: | 0 | hasResolvedPath: | no | hasResolvedCrateOrigin: | no | hasGenericArgList: | yes | hasNameRef: | yes | hasReceiver: | yes | |
2 changes: 2 additions & 0 deletions
2
rust/ql/test/extractor-tests/generated/MethodCallExpr/MethodCallExpr_getType.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
| gen_method_call_expr.rs:5:5:5:13 | ... .foo(...) | {unknown} | | ||
| gen_method_call_expr.rs:6:5:6:25 | ... .foo(...) | {unknown} | |
2 changes: 1 addition & 1 deletion
2
rust/ql/test/extractor-tests/generated/OffsetOfExpr/OffsetOfExpr.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
| gen_offset_of_expr.rs:5:5:5:38 | OffsetOfExpr | getNumberOfAttrs: | 0 | getNumberOfFields: | 1 | hasTy: | yes | | ||
| gen_offset_of_expr.rs:5:5:5:38 | OffsetOfExpr | hasType: | yes | getNumberOfAttrs: | 0 | getNumberOfFields: | 1 | hasTy: | yes | |
1 change: 1 addition & 0 deletions
1
rust/ql/test/extractor-tests/generated/OffsetOfExpr/OffsetOfExpr_getType.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
| gen_offset_of_expr.rs:5:5:5:38 | OffsetOfExpr | usize | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
| gen_or_pat.rs:6:9:6:38 | OrPat | getNumberOfPats: | 2 | | ||
| gen_or_pat.rs:6:9:6:38 | OrPat | hasType: | yes | getNumberOfPats: | 2 | |
1 change: 1 addition & 0 deletions
1
rust/ql/test/extractor-tests/generated/OrPat/OrPat_getType.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
| gen_or_pat.rs:6:9:6:38 | OrPat | Option<{unknown}> | |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +0,0 @@ | ||
uniqueNodeToString | ||
| gen_path_expr.rs:7:13:7:20 | (no string representation) | Node should have one toString but has 0. | | ||
| gen_path_expr.rs:8:13:8:35 | (no string representation) | Node should have one toString but has 0. | | ||
8 changes: 4 additions & 4 deletions
8
rust/ql/test/extractor-tests/generated/PathExpr/PathExpr.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
| gen_path_expr.rs:5:13:5:20 | variable | getNumberOfAttrs: | 0 | hasPath: | yes | | ||
| gen_path_expr.rs:6:13:6:20 | foo::bar | getNumberOfAttrs: | 0 | hasPath: | yes | | ||
| gen_path_expr.rs:7:13:7:20 | (no string representation) | getNumberOfAttrs: | 0 | hasPath: | yes | | ||
| gen_path_expr.rs:8:13:8:35 | (no string representation) | getNumberOfAttrs: | 0 | hasPath: | yes | | ||
| gen_path_expr.rs:5:13:5:20 | variable | hasType: | yes | getNumberOfAttrs: | 0 | hasPath: | yes | | ||
| gen_path_expr.rs:6:13:6:20 | foo::bar | hasType: | yes | getNumberOfAttrs: | 0 | hasPath: | yes | | ||
| gen_path_expr.rs:7:13:7:20 | ::foo | hasType: | yes | getNumberOfAttrs: | 0 | hasPath: | yes | | ||
| gen_path_expr.rs:8:13:8:35 | ::foo | hasType: | yes | getNumberOfAttrs: | 0 | hasPath: | yes | |
Oops, something went wrong.