Skip to content

Instantly share code, notes, and snippets.

@adamretter
Created May 10, 2015 11:10
Show Gist options
  • Save adamretter/dd774175b94045337699 to your computer and use it in GitHub Desktop.
Save adamretter/dd774175b94045337699 to your computer and use it in GitHub Desktop.
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