[vala/wip/transform: 73/107] Visit assignment and reference transfer in traverse
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/wip/transform: 73/107] Visit assignment and reference transfer in traverse
- Date: Fri, 21 Oct 2016 14:16:58 +0000 (UTC)
commit b5c5c3f275fefc9afb95e9f07debd283b5f3aa81
Author: Luca Bruno <lucabru src gnome org>
Date: Sat Oct 27 20:04:49 2012 +0200
Visit assignment and reference transfer in traverse
vala/valatraversevisitor.vala | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/vala/valatraversevisitor.vala b/vala/valatraversevisitor.vala
index 596a557..f5402ab 100644
--- a/vala/valatraversevisitor.vala
+++ b/vala/valatraversevisitor.vala
@@ -288,6 +288,12 @@ public class Vala.TraverseVisitor : CodeVisitor {
}
}
+ public override void visit_assignment (Assignment expr) {
+ if (func (expr) == TraverseStatus.CONTINUE) {
+ expr.accept_children (this);
+ }
+ }
+
public override void visit_method_call (MethodCall expr) {
if (func (expr) == TraverseStatus.CONTINUE) {
expr.accept_children (this);
@@ -312,6 +318,12 @@ public class Vala.TraverseVisitor : CodeVisitor {
}
}
+ public override void visit_reference_transfer_expression (ReferenceTransferExpression expr) {
+ if (func (expr) == TraverseStatus.CONTINUE) {
+ expr.accept_children (this);
+ }
+ }
+
public override void visit_object_creation_expression (ObjectCreationExpression expr) {
if (func (expr) == TraverseStatus.CONTINUE) {
expr.accept_children (this);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]