LuaRunner class
Runs Lua and Teal entry files, each in a fresh LuaRuntime.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
run(
String entry, {List< String> arguments = const []}) → Future<LuaRunResult> -
Runs one entry file and passes
argumentsto it as...andarg. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
entries(
Iterable< String> targets) → List<String> -
Expands
targets(files or directories) into entry files. Directories are searched recursively formain.tl|luaand*_test.tl|lua. -
project(
String entry) → LuaProject -
Finds the nearest
tlconfig.luaat or above the entry's directory and resolves itsinclude_dirandsource_diragainst it. The entry's own directory is searched first, so helpers next to it can be required.