Testing stuff for an upcoming project
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 48 lines 1.0 kB view raw
1--- 2source: src/parser/tests.rs 3expression: "some_value[index + 1]" 4--- 5---- SOURCE CODE 6some_value[index + 1] 7 8---- AST 9Expression( 10 Index { 11 location: Span { 12 start: 0, 13 end: 21, 14 }, 15 left: Variable { 16 location: Span { 17 start: 0, 18 end: 10, 19 }, 20 name: "some_value", 21 type_: (), 22 }, 23 index: BinaryOperator { 24 location: Span { 25 start: 11, 26 end: 20, 27 }, 28 left: Variable { 29 location: Span { 30 start: 11, 31 end: 16, 32 }, 33 name: "index", 34 type_: (), 35 }, 36 operator: Add, 37 right: Int { 38 location: Span { 39 start: 19, 40 end: 20, 41 }, 42 value: 1, 43 }, 44 type_: (), 45 }, 46 type_: (), 47 }, 48)