コード例 #1
0
ファイル: StackItem.enum.php プロジェクト: axelhuizinga/gem
<?php

class haxe_StackItem extends Enum
{
    public static $CFunction;
    public static function FilePos($s, $file, $line)
    {
        return new haxe_StackItem("FilePos", 2, array($s, $file, $line));
    }
    public static function LocalFunction($v = null)
    {
        return new haxe_StackItem("LocalFunction", 4, array($v));
    }
    public static function Method($classname, $method)
    {
        return new haxe_StackItem("Method", 3, array($classname, $method));
    }
    public static function Module($m)
    {
        return new haxe_StackItem("Module", 1, array($m));
    }
    public static $__constructors = array(0 => 'CFunction', 2 => 'FilePos', 4 => 'LocalFunction', 3 => 'Method', 1 => 'Module');
}
haxe_StackItem::$CFunction = new haxe_StackItem("CFunction", 0);