Commit 85d3dffc authored by Rico Tzschichholz's avatar Rico Tzschichholz

libvaladoc: Avoid superfluous references of Rule

parent 6e1570da
...@@ -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 Rule set_start (Action action) { public unowned Rule set_start (Action action) {
//TODO: Ownership Transfer //TODO: Ownership Transfer
_start_action = () => { action (); }; _start_action = () => { action (); };
return this; return this;
} }
public Rule set_reduce (Action action) { public unowned Rule set_reduce (Action action) {
//TODO: Ownership Transfer //TODO: Ownership Transfer
_reduce_action = () => { action (); }; _reduce_action = () => { action (); };
return this; return this;
} }
public Rule set_skip (Action action) { public unowned 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