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 := null)

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

run virtual Void run()

Haxall 4.0.6 ∙ 21-Jul-2026 09:48 EDT