type

FanScript

src 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

methods

Slot Details

args

src Obj[] args

compile

src Pod compile()

file

src File file

make

src 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

src virtual override Void run()