{
"type": "Program",
"statements": [
{
"type": "ClassDeclaration",
"definition": {
"id": {
"type": "Identifier",
"name": "A",
"loc": {
"start": {
"line": 16,
"column": 7,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 16,
"column": 8,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
"superClass": null,
"implements": [],
"body": [
{
"type": "MethodDefinition",
"key": {
"type": "Identifier",
"name": "foo",
"loc": {
"start": {
"line": 17,
"column": 12,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 17,
"column": 15,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
"kind": "method",
"accessibility": "public",
"static": false,
"optional": false,
"computed": false,
"value": {
"type": "FunctionExpression",
"function": {
"type": "ScriptFunction",
"id": {
"type": "Identifier",
"name": "foo",
"loc": {
"start": {
"line": 17,
"column": 12,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 17,
"column": 15,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
"generator": false,
"async": false,
"expression": false,
"params": [],
"returnType": {
"type": "ETSPrimitiveType",
"loc": {
"start": {
"line": 17,
"column": 19,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 17,
"column": 23,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
"body": {
"type": "BlockStatement",
"statements": [],
"loc": {
"start": {
"line": 17,
"column": 24,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 19,
"column": 6,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
"loc": {
"start": {
"line": 17,
"column": 15,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 19,
"column": 6,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
"loc": {
"start": {
"line": 17,
"column": 15,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 19,
"column": 6,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
"overloads": [],
"loc": {
"start": {
"line": 17,
"column": 12,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 19,
"column": 6,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
{
"type": "MethodDefinition",
"key": {
"type": "Identifier",
"name": "constructor",
"loc": {
"start": {
"line": 16,
"column": 10,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 16,
"column": 10,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
"kind": "constructor",
"static": false,
"optional": false,
"computed": false,
"value": {
"type": "FunctionExpression",
"function": {
"type": "ScriptFunction",
"id": {
"type": "Identifier",
"name": "constructor",
"loc": {
"start": {
"line": 16,
"column": 10,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 16,
"column": 10,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
"generator": false,
"async": false,
"expression": false,
"params": [],
"body": {
"type": "BlockStatement",
"statements": [],
"loc": {
"start": {
"line": 16,
"column": 10,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 16,
"column": 10,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
"loc": {
"start": {
"line": 16,
"column": 10,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 16,
"column": 10,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
"loc": {
"start": {
"line": 16,
"column": 10,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 16,
"column": 10,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
"overloads": [],
"loc": {
"start": {
"line": 1,
"column": 1,
"program": null
},
"end": {
"line": 1,
"column": 1,
"program": null
}
}
}
],
"loc": {
"start": {
"line": 16,
"column": 9,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 20,
"column": 2,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
"loc": {
"start": {
"line": 16,
"column": 1,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 20,
"column": 2,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
{
"type": "ClassDeclaration",
"definition": {
"id": {
"type": "Identifier",
"name": "B",
"loc": {
"start": {
"line": 22,
"column": 7,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 22,
"column": 8,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
"superClass": {
"type": "ETSTypeReference",
"part": {
"type": "ETSTypeReferencePart",
"name": {
"type": "Identifier",
"name": "A",
"loc": {
"start": {
"line": 22,
"column": 17,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 22,
"column": 18,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
"loc": {
"start": {
"line": 22,
"column": 17,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 22,
"column": 18,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
"loc": {
"start": {
"line": 22,
"column": 17,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 22,
"column": 18,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
"implements": [],
"body": [
{
"type": "MethodDefinition",
"key": {
"type": "Identifier",
"name": "foo",
"loc": {
"start": {
"line": 23,
"column": 12,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 23,
"column": 15,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
"kind": "method",
"accessibility": "public",
"static": false,
"optional": false,
"computed": false,
"value": {
"type": "FunctionExpression",
"function": {
"type": "ScriptFunction",
"id": {
"type": "Identifier",
"name": "foo",
"loc": {
"start": {
"line": 23,
"column": 12,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 23,
"column": 15,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
"generator": false,
"async": false,
"expression": false,
"params": [],
"returnType": {
"type": "ETSPrimitiveType",
"loc": {
"start": {
"line": 23,
"column": 19,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 23,
"column": 23,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
"body": {
"type": "BlockStatement",
"statements": [],
"loc": {
"start": {
"line": 23,
"column": 24,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 25,
"column": 6,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
"loc": {
"start": {
"line": 23,
"column": 15,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 25,
"column": 6,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
"loc": {
"start": {
"line": 23,
"column": 15,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 25,
"column": 6,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
"overloads": [],
"loc": {
"start": {
"line": 23,
"column": 12,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 25,
"column": 6,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
{
"type": "MethodDefinition",
"key": {
"type": "Identifier",
"name": "constructor",
"loc": {
"start": {
"line": 22,
"column": 20,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 22,
"column": 20,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
"kind": "constructor",
"static": false,
"optional": false,
"computed": false,
"value": {
"type": "FunctionExpression",
"function": {
"type": "ScriptFunction",
"id": {
"type": "Identifier",
"name": "constructor",
"loc": {
"start": {
"line": 22,
"column": 20,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 22,
"column": 20,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
"generator": false,
"async": false,
"expression": false,
"params": [],
"body": {
"type": "BlockStatement",
"statements": [],
"loc": {
"start": {
"line": 22,
"column": 20,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 22,
"column": 20,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
"loc": {
"start": {
"line": 22,
"column": 20,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 22,
"column": 20,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
"loc": {
"start": {
"line": 22,
"column": 20,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 22,
"column": 20,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
"overloads": [],
"loc": {
"start": {
"line": 1,
"column": 1,
"program": null
},
"end": {
"line": 1,
"column": 1,
"program": null
}
}
}
],
"loc": {
"start": {
"line": 22,
"column": 19,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 26,
"column": 2,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
"loc": {
"start": {
"line": 22,
"column": 1,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 26,
"column": 2,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
{
"type": "ClassDeclaration",
"definition": {
"id": {
"type": "Identifier",
"name": "ETSGLOBAL",
"loc": {
"start": {
"line": 1,
"column": 1,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 1,
"column": 1,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
"superClass": null,
"implements": [],
"body": [
{
"type": "MethodDefinition",
"key": {
"type": "Identifier",
"name": "main",
"loc": {
"start": {
"line": 1,
"column": 1,
"program": null
},
"end": {
"line": 1,
"column": 1,
"program": null
}
}
},
"kind": "method",
"accessibility": "public",
"static": true,
"optional": false,
"computed": false,
"value": {
"type": "FunctionExpression",
"function": {
"type": "ScriptFunction",
"id": {
"type": "Identifier",
"name": "main",
"loc": {
"start": {
"line": 1,
"column": 1,
"program": null
},
"end": {
"line": 1,
"column": 1,
"program": null
}
}
},
"generator": false,
"async": false,
"expression": false,
"params": [],
"body": {
"type": "BlockStatement",
"statements": [],
"loc": {
"start": {
"line": 1,
"column": 1,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 1,
"column": 1,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
"loc": {
"start": {
"line": 1,
"column": 1,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 1,
"column": 1,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
"loc": {
"start": {
"line": 1,
"column": 1,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 1,
"column": 1,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
"overloads": [],
"loc": {
"start": {
"line": 1,
"column": 1,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 1,
"column": 1,
"program": "methodOverrideWithoutModifier.ets"
}
}
}
],
"loc": {
"start": {
"line": 1,
"column": 1,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 1,
"column": 1,
"program": "methodOverrideWithoutModifier.ets"
}
}
},
"loc": {
"start": {
"line": 1,
"column": 1,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 1,
"column": 1,
"program": "methodOverrideWithoutModifier.ets"
}
}
}
],
"loc": {
"start": {
"line": 1,
"column": 1,
"program": "methodOverrideWithoutModifier.ets"
},
"end": {
"line": 27,
"column": 1,
"program": "methodOverrideWithoutModifier.ets"
}
}
}