{
"type": "Program",
"statements": [
{
"type": "IfStatement",
"test": {
"type": "NumberLiteral",
"value": 1,
"loc": {
"start": {
"line": 17,
"column": 5,
"program": "test-if.ts"
},
"end": {
"line": 17,
"column": 6,
"program": "test-if.ts"
}
}
},
"consequent": {
"type": "TSEnumDeclaration",
"id": {
"type": "Identifier",
"name": "A",
"loc": {
"start": {
"line": 18,
"column": 16,
"program": "test-if.ts"
},
"end": {
"line": 18,
"column": 17,
"program": "test-if.ts"
}
}
},
"members": [],
"const": true,
"declare": false,
"loc": {
"start": {
"line": 18,
"column": 11,
"program": "test-if.ts"
},
"end": {
"line": 18,
"column": 21,
"program": "test-if.ts"
}
}
},
"alternate": {
"type": "IfStatement",
"test": {
"type": "NumberLiteral",
"value": 2,
"loc": {
"start": {
"line": 19,
"column": 10,
"program": "test-if.ts"
},
"end": {
"line": 19,
"column": 11,
"program": "test-if.ts"
}
}
},
"consequent": {
"type": "TSEnumDeclaration",
"id": {
"type": "Identifier",
"name": "B",
"loc": {
"start": {
"line": 20,
"column": 16,
"program": "test-if.ts"
},
"end": {
"line": 20,
"column": 17,
"program": "test-if.ts"
}
}
},
"members": [],
"const": true,
"declare": false,
"loc": {
"start": {
"line": 20,
"column": 11,
"program": "test-if.ts"
},
"end": {
"line": 20,
"column": 21,
"program": "test-if.ts"
}
}
},
"alternate": {
"type": "TSEnumDeclaration",
"id": {
"type": "Identifier",
"name": "C",
"loc": {
"start": {
"line": 22,
"column": 16,
"program": "test-if.ts"
},
"end": {
"line": 22,
"column": 17,
"program": "test-if.ts"
}
}
},
"members": [],
"const": true,
"declare": false,
"loc": {
"start": {
"line": 22,
"column": 11,
"program": "test-if.ts"
},
"end": {
"line": 22,
"column": 21,
"program": "test-if.ts"
}
}
},
"loc": {
"start": {
"line": 19,
"column": 6,
"program": "test-if.ts"
},
"end": {
"line": 22,
"column": 21,
"program": "test-if.ts"
}
}
},
"loc": {
"start": {
"line": 17,
"column": 1,
"program": "test-if.ts"
},
"end": {
"line": 22,
"column": 21,
"program": "test-if.ts"
}
}
}
],
"loc": {
"start": {
"line": 1,
"column": 1,
"program": "test-if.ts"
},
"end": {
"line": 23,
"column": 1,
"program": "test-if.ts"
}
}
}