This file contains 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 proxy; | |
abstract UInt8(Int) to Int { | |
private inline function new(a:Int) { | |
this = a; | |
} | |
static public inline function safe(a:Int):UInt8 { | |
return new UInt8(a&0xFF); | |
} | |
static public inline function unsafe(a:Int):UInt8 { |
This file contains 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 ; | |
import sys.db.ResultSet; | |
class Ex { | |
public function new() { | |
var test:Test = new TestProxy(); |
This file contains 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 ; | |
import haxe.ds.StringMap; | |
import js.Node; | |
using Reflect; | |
import tink.lang.Cls; | |
//import proxy.Bag; | |
import proxy.Utype; | |
import Type; |
This file contains 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 proxy; | |
import haxe.ds.Vector; | |
import proxy.Utype; | |
/** | |
* ... | |
* @author sonygod | |
*/ | |
typedef BaseRoleItem = { |
This file contains 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
/** | |
* Created with IntelliJ IDEA. | |
* User: p5 | |
* Date: 13-1-31 | |
* Time: 下午8:00 | |
* To change this template use File | Settings | File Templates. | |
*/ | |
package { | |
import flash.display.MovieClip; | |
import flash.display.Sprite; |
This file contains 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
abstract FunctionReturning<T>(Dynamic) { | |
inline function new (x:Dynamic) this = x; | |
@:from static inline function from0 <T>(x:Void->T):FunctionReturning<T> return new FunctionReturning(x); | |
@:from static inline function from1 <T>(x:Dynamic->T):FunctionReturning<T> return new FunctionReturning(x); | |
@:from static inline function from2 <T>(x:Dynamic->Dynamic->T):FunctionReturning<T> return new FunctionReturning(x); | |
@:from static inline function from3 <T>(x:Dynamic->Dynamic->Dynamic->T):FunctionReturning<T> return new FunctionReturning(x); | |
/* ... */ | |
} | |
class Test { |
This file contains 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
/* | |
* Copyright (c) 2011, TouchMyPixel & contributors | |
* Original author : Tarwin Stroh-Spijer <tarwin@touchmypixel.com> | |
* Contributors: Tony Polinelli <tonyp@touchmypixel.com> | |
* Andras Csizmadia <andras@vpmedia.eu> | |
* Reference for further improvements: | |
* http://haxe.org/doc/start/flash/as3migration/part1 | |
* http://www.haxenme.org/developers/documentation/actionscript-developers/ | |
* http://www.haxenme.org/api/ | |
* All rights reserved. |
This file contains 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; | |
import haxe.ds.IntMap; | |
import sys.db.Object; | |
import sys.FileSystem; | |
import neko.Lib; | |
//import neko.Sys; |
This file contains 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; | |
import haxe.ds.IntMap; | |
import sys.db.Object; | |
import sys.FileSystem; | |
import neko.Lib; | |
//import neko.Sys; |
This file contains 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; | |
import haxe.ds.IntMap; | |
import sys.db.Object; | |
import sys.FileSystem; | |
import neko.Lib; | |
//import neko.Sys; |