Created
May 10, 2015 11:10
-
-
Save adamretter/dd774175b94045337699 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
package xpdl.xdm; | |
import xpdl.HString; | |
interface Item { | |
public function stringValue() : xpdl.xdm.String; | |
} | |
class String implements Item { | |
var value: HString; | |
public function new(value) { | |
this.value = value; | |
} | |
public function stringValue() { | |
return this; | |
} | |
public function haxe() { | |
return value; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment