diff options
Diffstat (limited to 'src/expr/expr_template.h')
-rw-r--r-- | src/expr/expr_template.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/expr/expr_template.h b/src/expr/expr_template.h index 08dd1d25f..6597d5f14 100644 --- a/src/expr/expr_template.h +++ b/src/expr/expr_template.h @@ -164,6 +164,13 @@ public: size_t getNumChildren() const; /** + * Returns the i'th child of this expression. + * @param i the index of the child to retrieve + * @return the child + */ + Expr getChild(unsigned int i) const; + + /** * Check if this is an expression that has an operator. * @return true if this expression has an operator */ |