You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1002 B
47 lines
1002 B
{
|
|
"kind" : "Program",
|
|
"location" : [ 1, 1, 6, 5 ],
|
|
"declarations" : [ {
|
|
"kind" : "ClassDef",
|
|
"location" : [ 1, 1, 2, 9 ],
|
|
"name" : {
|
|
"kind" : "Identifier",
|
|
"location" : [ 1, 7, 1, 7 ],
|
|
"name" : "x"
|
|
},
|
|
"superClass" : {
|
|
"kind" : "Identifier",
|
|
"location" : [ 1, 9, 1, 14 ],
|
|
"name" : "object"
|
|
},
|
|
"declarations" : [ ]
|
|
}, {
|
|
"kind" : "VarDef",
|
|
"location" : [ 4, 1, 4, 9 ],
|
|
"var" : {
|
|
"kind" : "TypedVar",
|
|
"location" : [ 4, 1, 4, 5 ],
|
|
"identifier" : {
|
|
"kind" : "Identifier",
|
|
"location" : [ 4, 1, 4, 1 ],
|
|
"name" : "x"
|
|
},
|
|
"type" : {
|
|
"kind" : "ClassType",
|
|
"location" : [ 4, 3, 4, 5 ],
|
|
"className" : "int"
|
|
}
|
|
},
|
|
"value" : {
|
|
"kind" : "IntegerLiteral",
|
|
"location" : [ 4, 9, 4, 9 ],
|
|
"value" : 5
|
|
}
|
|
} ],
|
|
"statements" : [ ],
|
|
"errors" : {
|
|
"errors" : [ ],
|
|
"kind" : "Errors",
|
|
"location" : [ 0, 0, 0, 0 ]
|
|
}
|
|
} |