Last active
December 18, 2015 19:09
-
-
Save bsideup/5830726 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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