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 18, 2024
1 parent 78f42ac commit 4ac412c
Show file tree
Hide file tree
Showing 100 changed files with 211 additions and 170 deletions.
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 |
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] |
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 | AwaitExpr | getNumberOfAttrs: | 0 | hasExpr: | yes |
| gen_await_expr.rs:6:17:6:27 | AwaitExpr | 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 | AwaitExpr | {unknown} |
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 |
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
| gen_become_expr.rs:8:10:8:36 | BecomeExpr | ! |
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 | 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 |
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 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 | 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 |
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> |
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 |
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 | ! |
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 |
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 |
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 |
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
| gen_cast_expr.rs:5:5:5:16 | CastExpr | u64 |
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 |
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} |
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 | 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 |
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 | ! |
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 |
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.
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 | 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 |
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 |
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 |
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 |
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 |
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
| gen_let_expr.rs:5:8:5:31 | LetExpr | 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 | LiteralPat | hasLiteral: | yes |
| gen_literal_pat.rs:6:9:6:10 | LiteralPat | 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 | LiteralPat | i32 |
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 |
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 | () |
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.
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 |
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 |
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 |
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} |
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 |
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
| gen_offset_of_expr.rs:5:5:5:38 | OffsetOfExpr | usize |
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 |
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.
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 |
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
| gen_path_expr.rs:5:13:5:20 | variable | gen_path_expr.rs:5:13:5:20 | variable |
| gen_path_expr.rs:6:13:6:20 | foo::bar | gen_path_expr.rs:6:13:6:20 | foo::bar |
| gen_path_expr.rs:7:13:7:20 | (no string representation) | gen_path_expr.rs:7:13:7:20 | (no string representation) |
| gen_path_expr.rs:8:13:8:35 | (no string representation) | gen_path_expr.rs:8:13:8:35 | (no string representation) |
| gen_path_expr.rs:7:13:7:20 | ::foo | gen_path_expr.rs:7:13:7:20 | ::foo |
| gen_path_expr.rs:8:13:8:35 | ::foo | gen_path_expr.rs:8:13:8:35 | ::foo |
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
| gen_path_expr.rs:5:13:5:20 | variable | {unknown} |
| gen_path_expr.rs:6:13:6:20 | foo::bar | {unknown} |
| gen_path_expr.rs:7:13:7:20 | ::foo | {unknown} |
| gen_path_expr.rs:8:13:8:35 | ::foo | {unknown} |
Loading

0 comments on commit 4ac412c

Please sign in to comment.