Remove `Op::getIndices()` (#8355)
authorAndres Noetzli <andres.noetzli@gmail.com>
Mon, 21 Mar 2022 23:27:40 +0000 (16:27 -0700)
committerGitHub <noreply@github.com>
Mon, 21 Mar 2022 23:27:40 +0000 (23:27 +0000)
commitc0bfa39a9846284eed5bbf9a3caf72e3b817a192
tree0dfc41d7521f9876297e3cea7e3bd5257fcf7353
parentbc5de34f98cde1c1aa77649654ddc6271f8c692b
Remove `Op::getIndices()` (#8355)

This commit removes `Op::getIndices()`. As discussed offline, the
semantics of that method were confusing and the use cases are covered by
`Op::getNumIndices()` and `Op::operator[]()` (which mirror
`Term::getNumChildren()` and `Term::operator[]()`).

Future changes are going to update the Python and Java bindings to
support `Op::operator[]()`.
examples/api/python/extract.py
src/api/cpp/cvc5.cpp
src/api/cpp/cvc5.h
src/api/java/io/github/cvc5/api/Op.java
src/api/java/jni/op.cpp
src/api/python/cvc5.pxd
src/api/python/cvc5.pxi
test/unit/api/cpp/op_black.cpp
test/unit/api/cpp/op_white.cpp
test/unit/api/java/OpTest.java