package p
r if foo(bar(1))
opa parse p.rego --format json --json-include locations
{
"location": {
"file": "p.rego",
"row": 3,
"col": 10,
"text": "YmFyKDEpKQ=="
},
"type": "call",
"value": [
]
}
echo "YmFyKDEpKQ==" | base64 -d
bar(1))
The text should of course be bar(1) with only a single closing paren.