type

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

methods

Slot Details

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 override Void run()