This commit is contained in:
Nils Eliasson 2015-11-13 13:31:48 +01:00
commit 2f9e32256d
181 changed files with 8026 additions and 4055 deletions

View file

@ -595,6 +595,12 @@ class Method : public Metadata {
// returns true if the method is an accessor function (setter/getter).
bool is_accessor() const;
// returns true if the method is a getter
bool is_getter() const;
// returns true if the method is a setter
bool is_setter() const;
// returns true if the method does nothing but return a constant of primitive type
bool is_constant_getter() const;