summaryrefslogtreecommitdiff
path: root/vala/valaobjectcreationexpression.vala
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2022-02-22 13:10:20 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2022-02-22 13:13:11 +0100
commite51493ea5019872d6d2b5152d1781394b37a4f40 (patch)
treececa16c96dc640d1606472a1774edab0a8134fa1 /vala/valaobjectcreationexpression.vala
parent35c641ffe04f72b17b8d929eb3a3688922f7e718 (diff)
downloadvala-e51493ea5019872d6d2b5152d1781394b37a4f40.tar.gz
vala: Add common CallableExpression.call property API
Diffstat (limited to 'vala/valaobjectcreationexpression.vala')
-rw-r--r--vala/valaobjectcreationexpression.vala7
1 files changed, 7 insertions, 0 deletions
diff --git a/vala/valaobjectcreationexpression.vala b/vala/valaobjectcreationexpression.vala
index 9cea93417..5793b46f1 100644
--- a/vala/valaobjectcreationexpression.vala
+++ b/vala/valaobjectcreationexpression.vala
@@ -38,6 +38,13 @@ public class Vala.ObjectCreationExpression : Expression, CallableExpression {
}
/**
+ * The construction method to call.
+ */
+ public Expression call {
+ get { return member_name; }
+ }
+
+ /**
* The construction method to use or the data type to be created
* with the default construction method.
*/