Commit 98106713 authored by Rico Tzschichholz's avatar Rico Tzschichholz

Revert "libvaladoc: Avoid superfluous references of Rule"

This reverts commit 85d3dffc.
parent 85d3dffc
...@@ -64,19 +64,19 @@ public abstract class Valadoc.Rule : Object { ...@@ -64,19 +64,19 @@ public abstract class Valadoc.Rule : Object {
public delegate void Action () throws ParserError; public delegate void Action () throws ParserError;
public unowned Rule set_start (Action action) { public Rule set_start (Action action) {
//TODO: Ownership Transfer //TODO: Ownership Transfer
_start_action = () => { action (); }; _start_action = () => { action (); };
return this; return this;
} }
public unowned Rule set_reduce (Action action) { public Rule set_reduce (Action action) {
//TODO: Ownership Transfer //TODO: Ownership Transfer
_reduce_action = () => { action (); }; _reduce_action = () => { action (); };
return this; return this;
} }
public unowned Rule set_skip (Action action) { public Rule set_skip (Action action) {
//TODO: Ownership Transfer //TODO: Ownership Transfer
_skip_action = () => { action (); }; _skip_action = () => { action (); };
return this; return this;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment