class

FanScript

class FanScript : Task

FanScript is used to compile a Fantom script into memory and run it via reflection.

constructors make

Make with script name, arguments are Fantom arguments passed to main method (**not** command line string arguments)

fields args

file

methods compile

run

args Obj[] : args

compile Pod compile()

file File : file

make new make(BuildScript script, File file, Obj[]? args)

Make with script name, arguments are Fantom arguments passed to main method (**not** command line string arguments)

run virtual Void run()

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST