FileScriptHandle

com.tersesystems.blindsight.scripting.FileScriptHandle
class FileScriptHandle(val path: Path, verifier: String => Boolean, reporter: Throwable => Unit) extends ScriptHandle

A script handle that uses a direct path and verifies it. Errors are sent to the reporter.

Attributes

Source:
ScriptHandle.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def isInvalid: Boolean

Attributes

Returns:

true if the script is invalid and should be re-evaluated, false otherwise.

Definition Classes
Source:
ScriptHandle.scala
protected def readString(path: Path): String

Attributes

Source:
ScriptHandle.scala
override def report(e: Throwable): Unit

If evaluating or parsing the script throws an exception, this method is called.

If evaluating or parsing the script throws an exception, this method is called.

Attributes

Definition Classes
Source:
ScriptHandle.scala
override def script: String

Attributes

Returns:

the code of the script.

Definition Classes
Source:
ScriptHandle.scala

Concrete fields

val path: Path

Attributes

Source:
ScriptHandle.scala