{ "kind" : "Program", "location" : [ 1, 1, 7, 23 ], "declarations" : [ { "kind" : "VarDef", "location" : [ 1, 1, 1, 14 ], "var" : { "kind" : "TypedVar", "location" : [ 1, 1, 1, 7 ], "identifier" : { "kind" : "Identifier", "location" : [ 1, 1, 1, 1 ], "name" : "x" }, "type" : { "kind" : "ListType", "location" : [ 1, 3, 1, 7 ], "elementType" : { "kind" : "ClassType", "location" : [ 1, 4, 1, 6 ], "className" : "int" } } }, "value" : { "kind" : "NoneLiteral", "location" : [ 1, 11, 1, 14 ] } } ], "statements" : [ { "kind" : "AssignStmt", "location" : [ 3, 1, 3, 13 ], "targets" : [ { "kind" : "Identifier", "location" : [ 3, 1, 3, 1 ], "name" : "x" } ], "value" : { "kind" : "ListExpr", "location" : [ 3, 5, 3, 13 ], "elements" : [ { "kind" : "IntegerLiteral", "location" : [ 3, 6, 3, 6 ], "value" : 1 }, { "kind" : "IntegerLiteral", "location" : [ 3, 9, 3, 9 ], "value" : 2 }, { "kind" : "IntegerLiteral", "location" : [ 3, 12, 3, 12 ], "value" : 3 } ] } }, { "kind" : "ExprStmt", "location" : [ 4, 1, 4, 7 ], "expr" : { "kind" : "IndexExpr", "location" : [ 4, 1, 4, 7 ], "list" : { "kind" : "Identifier", "location" : [ 4, 1, 4, 1 ], "name" : "x" }, "index" : { "kind" : "BooleanLiteral", "location" : [ 4, 3, 4, 6 ], "value" : true } } }, { "kind" : "ExprStmt", "location" : [ 5, 1, 5, 8 ], "expr" : { "kind" : "IndexExpr", "location" : [ 5, 1, 5, 8 ], "list" : { "kind" : "BooleanLiteral", "location" : [ 5, 1, 5, 5 ], "value" : false }, "index" : { "kind" : "IntegerLiteral", "location" : [ 5, 7, 5, 7 ], "value" : 0 } } }, { "kind" : "ExprStmt", "location" : [ 6, 1, 6, 5 ], "expr" : { "kind" : "IndexExpr", "location" : [ 6, 1, 6, 5 ], "list" : { "kind" : "ListExpr", "location" : [ 6, 1, 6, 2 ], "elements" : [ ] }, "index" : { "kind" : "IntegerLiteral", "location" : [ 6, 4, 6, 4 ], "value" : 0 } } }, { "kind" : "AssignStmt", "location" : [ 7, 1, 7, 22 ], "targets" : [ { "kind" : "IndexExpr", "location" : [ 7, 1, 7, 7 ], "list" : { "kind" : "Identifier", "location" : [ 7, 1, 7, 1 ], "name" : "x" }, "index" : { "kind" : "BooleanLiteral", "location" : [ 7, 3, 7, 6 ], "value" : true } }, { "kind" : "IndexExpr", "location" : [ 7, 11, 7, 18 ], "list" : { "kind" : "Identifier", "location" : [ 7, 11, 7, 11 ], "name" : "x" }, "index" : { "kind" : "BooleanLiteral", "location" : [ 7, 13, 7, 17 ], "value" : false } } ], "value" : { "kind" : "IntegerLiteral", "location" : [ 7, 22, 7, 22 ], "value" : 1 } } ], "errors" : { "errors" : [ ], "kind" : "Errors", "location" : [ 0, 0, 0, 0 ] } }