{ "kind" : "Program", "location" : [ 2, 1, 15, 4 ], "declarations" : [ { "kind" : "ClassDef", "location" : [ 2, 1, 3, 14 ], "name" : { "kind" : "Identifier", "location" : [ 2, 7, 2, 7 ], "name" : "A" }, "superClass" : { "kind" : "Identifier", "location" : [ 2, 9, 2, 9 ], "name" : "B" }, "declarations" : [ { "kind" : "VarDef", "location" : [ 3, 5, 3, 13 ], "var" : { "kind" : "TypedVar", "location" : [ 3, 5, 3, 9 ], "identifier" : { "kind" : "Identifier", "location" : [ 3, 5, 3, 5 ], "name" : "x" }, "type" : { "kind" : "ClassType", "location" : [ 3, 7, 3, 9 ], "className" : "int" } }, "value" : { "kind" : "IntegerLiteral", "location" : [ 3, 13, 3, 13 ], "value" : 1 } } ] }, { "kind" : "VarDef", "location" : [ 5, 1, 5, 9 ], "var" : { "kind" : "TypedVar", "location" : [ 5, 1, 5, 5 ], "identifier" : { "kind" : "Identifier", "location" : [ 5, 1, 5, 1 ], "name" : "z" }, "type" : { "kind" : "ClassType", "location" : [ 5, 3, 5, 5 ], "className" : "int" } }, "value" : { "kind" : "IntegerLiteral", "location" : [ 5, 9, 5, 9 ], "value" : 2 } }, { "kind" : "ClassDef", "location" : [ 8, 1, 9, 14 ], "name" : { "kind" : "Identifier", "location" : [ 8, 7, 8, 7 ], "name" : "B" }, "superClass" : { "kind" : "Identifier", "location" : [ 8, 9, 8, 9 ], "name" : "z" }, "declarations" : [ { "kind" : "VarDef", "location" : [ 9, 5, 9, 13 ], "var" : { "kind" : "TypedVar", "location" : [ 9, 5, 9, 9 ], "identifier" : { "kind" : "Identifier", "location" : [ 9, 5, 9, 5 ], "name" : "x" }, "type" : { "kind" : "ClassType", "location" : [ 9, 7, 9, 9 ], "className" : "int" } }, "value" : { "kind" : "IntegerLiteral", "location" : [ 9, 13, 9, 13 ], "value" : 1 } } ] }, { "kind" : "ClassDef", "location" : [ 12, 1, 13, 14 ], "name" : { "kind" : "Identifier", "location" : [ 12, 7, 12, 7 ], "name" : "C" }, "superClass" : { "kind" : "Identifier", "location" : [ 12, 9, 12, 11 ], "name" : "int" }, "declarations" : [ { "kind" : "VarDef", "location" : [ 13, 5, 13, 13 ], "var" : { "kind" : "TypedVar", "location" : [ 13, 5, 13, 9 ], "identifier" : { "kind" : "Identifier", "location" : [ 13, 5, 13, 5 ], "name" : "x" }, "type" : { "kind" : "ClassType", "location" : [ 13, 7, 13, 9 ], "className" : "int" } }, "value" : { "kind" : "IntegerLiteral", "location" : [ 13, 13, 13, 13 ], "value" : 1 } } ] } ], "statements" : [ { "kind" : "ExprStmt", "location" : [ 15, 1, 15, 3 ], "expr" : { "kind" : "CallExpr", "location" : [ 15, 1, 15, 3 ], "function" : { "kind" : "Identifier", "location" : [ 15, 1, 15, 1 ], "name" : "A" }, "args" : [ ] } } ], "errors" : { "errors" : [ ], "kind" : "Errors", "location" : [ 0, 0, 0, 0 ] } }