Skip to content

Instantly share code, notes, and snippets.

@bsideup
Last active December 18, 2015 19:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bsideup/5830726 to your computer and use it in GitHub Desktop.
Save bsideup/5830726 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8" ?>
<ans:A generic:type="haxe.Timer" ans:aString="1" xmlns:ans="*" xmlns:deep="deep.*" xmlns:generic="http://haxe.org/hxmr/generic">
<deep:B id="myB" generic:type="haxe.Timer" test="123" deep:prop="asValue"/>
<ans:innerString>
<String id="myString" />
</ans:innerString>
</ans:A>
class ml.Test extends A<haxe.Timer>{
public new(method) : Void -> Void
= function() = {
super();
this.children = [];
this.children.push(this.init_myB());
this.aString = "1";
this.init_myString();
this.init_myB();
};
myB(var) : deep.B<haxe.Timer>;
init_myB(method) : Void -> deep.B<haxe.Timer>
= function() = {
if ((this.myB != null))return this.myB);
this.myB = null;
return this.myB;
};
myString(var) : String;
init_myString(method) : Void -> String
= function() = {
if ((this.myString != null))return this.myString);
this.myString = null;
return this.myString;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment