{ "kind" : "Program", "location" : [ 1, 1, 6, 10 ], "declarations" : [ { "kind" : "VarDef", "location" : [ 1, 1, 1, 9 ], "var" : { "kind" : "TypedVar", "location" : [ 1, 1, 1, 5 ], "identifier" : { "kind" : "Identifier", "location" : [ 1, 1, 1, 1 ], "name" : "x" }, "type" : { "kind" : "ClassType", "location" : [ 1, 3, 1, 5 ], "className" : "int" } }, "value" : { "kind" : "IntegerLiteral", "location" : [ 1, 9, 1, 9 ], "value" : 0 } }, { "kind" : "VarDef", "location" : [ 2, 1, 2, 15 ], "var" : { "kind" : "TypedVar", "location" : [ 2, 1, 2, 8 ], "identifier" : { "kind" : "Identifier", "location" : [ 2, 1, 2, 1 ], "name" : "o" }, "type" : { "kind" : "ClassType", "location" : [ 2, 3, 2, 8 ], "className" : "object" } }, "value" : { "kind" : "NoneLiteral", "location" : [ 2, 12, 2, 15 ] } } ], "statements" : [ { "kind" : "ExprStmt", "location" : [ 4, 1, 4, 5 ], "expr" : { "kind" : "MemberExpr", "location" : [ 4, 1, 4, 5 ], "object" : { "kind" : "Identifier", "location" : [ 4, 1, 4, 1 ], "name" : "x" }, "member" : { "kind" : "Identifier", "location" : [ 4, 3, 4, 5 ], "name" : "foo" } } }, { "kind" : "ExprStmt", "location" : [ 5, 1, 5, 5 ], "expr" : { "kind" : "MemberExpr", "location" : [ 5, 1, 5, 5 ], "object" : { "kind" : "Identifier", "location" : [ 5, 1, 5, 1 ], "name" : "o" }, "member" : { "kind" : "Identifier", "location" : [ 5, 3, 5, 5 ], "name" : "bar" } } }, { "kind" : "AssignStmt", "location" : [ 6, 1, 6, 9 ], "targets" : [ { "kind" : "MemberExpr", "location" : [ 6, 1, 6, 5 ], "object" : { "kind" : "Identifier", "location" : [ 6, 1, 6, 1 ], "name" : "o" }, "member" : { "kind" : "Identifier", "location" : [ 6, 3, 6, 5 ], "name" : "baz" } } ], "value" : { "kind" : "IntegerLiteral", "location" : [ 6, 9, 6, 9 ], "value" : 1 } } ], "errors" : { "errors" : [ ], "kind" : "Errors", "location" : [ 0, 0, 0, 0 ] } }