|
@@ -49,9 +49,10 @@ extern class Syntax {
|
|
return macro @:pos(Context.currentPos()) $self._pythonCode($b, $a{rest});
|
|
return macro @:pos(Context.currentPos()) $self._pythonCode($b, $a{rest});
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+ #if !macro
|
|
@:noUsing
|
|
@:noUsing
|
|
public static function _pythonCode<T>(b:String, args:Array<Dynamic>):T { return null; };
|
|
public static function _pythonCode<T>(b:String, args:Array<Dynamic>):T { return null; };
|
|
-
|
|
|
|
|
|
+ #end
|
|
@:noUsing
|
|
@:noUsing
|
|
macro public static function arrayAccess(x:Expr, rest:Array<Expr>):ExprOf<Dynamic> {
|
|
macro public static function arrayAccess(x:Expr, rest:Array<Expr>):ExprOf<Dynamic> {
|
|
return macro $self._arrayAccess($x, $a{rest});
|
|
return macro $self._arrayAccess($x, $a{rest});
|