W3cubDocs

/Haxe Python

Syntax

package python

Available on python

Static methods

static_arrayAccess(a:Dynamic, args:Array<Dynamic>, trailingColon:Bool = false):Dynamic

static_callNamedUntyped(e:Dynamic, args:Dynamic):Dynamic

static_foreach(id:Dynamic, it:Dynamic, block:Dynamic):Dynamic

static_newInstance(c:Dynamic, args:Array<Dynamic>):Dynamic

static_pythonCode<T>(b:String, args:Array<Dynamic>):T

static_tuple(args:Array<Dynamic>):Dynamic

staticarrayAccess(x:Dynamic, rest:Dynamic):Dynamic

staticarrayAccessWithTrailingColon(x:Dynamic, rest:Dynamic):Dynamic

staticarraySet(a:Dynamic, i:Dynamic, v:Dynamic):Dynamic

staticassign(a:Dynamic, b:Dynamic):Void

staticbinop(a:Dynamic, op:String, b:Dynamic):Dynamic

staticcall(e:Dynamic, args:Array<Dynamic>):Dynamic

staticcallField(o:Dynamic, field:String, params:Dynamic):Dynamic

staticcallNamedUntyped(e:Dynamic, args:Dynamic):Dynamic

staticcode(code:String, args:Rest<Dynamic>):Dynamic

staticconstruct<T>(cls:Class<T>, args:Rest<Dynamic>):T

staticconstruct(className:String, args:Rest<Dynamic>):Dynamic

staticdelete(a:Dynamic):Void

staticfield(o:Dynamic, field:String):Dynamic

staticforeach<T>(v:Dynamic, it:Dynamic, b:Dynamic):Dynamic

staticimportAs(module:Dynamic, className:Dynamic):Dynamic

staticimportFromAs(from:Dynamic, module:Dynamic, className:Dynamic):Dynamic

staticimportModule(module:Dynamic):Dynamic

staticisIn(a:Dynamic, b:Dynamic):Bool

staticnewInstance(c:Dynamic, params:Dynamic):Dynamic

Deprecated: "python.Syntax.newInstance() is deprecated. Use python.Syntax.construct() instead."

staticopPow(a:Int, b:Int):Int

staticpythonCode(b:String, rest:Dynamic):Dynamic

Deprecated: "python.Syntax.pythonCode() is deprecated. Use python.Syntax.code() instead."

statictuple(args:Dynamic):Dynamic

staticvarArgs(args:Array<Dynamic>):Dynamic

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/python/Syntax.html