mirror of
https://github.com/Z3Prover/z3
synced 2025-05-03 13:55:47 +00:00
n/a
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
2f5f546990
commit
d22a0d04ed
6 changed files with 144 additions and 126 deletions
|
@ -707,6 +707,10 @@ public:
|
|||
func_decl * get_decl() const { return m_decl; }
|
||||
family_id get_family_id() const { return get_decl()->get_family_id(); }
|
||||
decl_kind get_decl_kind() const { return get_decl()->get_decl_kind(); }
|
||||
symbol const& get_name() const { return get_decl()->get_name(); }
|
||||
unsigned get_num_parameters() const { return get_decl()->get_num_parameters(); }
|
||||
parameter const& get_parameter(unsigned idx) const { return get_decl()->get_parameter(idx); }
|
||||
parameter const* get_parameters() const { return get_decl()->get_parameters(); }
|
||||
bool is_app_of(family_id fid, decl_kind k) const { return get_family_id() == fid && get_decl_kind() == k; }
|
||||
unsigned get_num_args() const { return m_num_args; }
|
||||
expr * get_arg(unsigned idx) const { SASSERT(idx < m_num_args); return m_args[idx]; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue