object DefaultAmmoniteExecutor extends AmmoniteExecutor
- Alphabetic
- By Inheritance
- DefaultAmmoniteExecutor
- AmmoniteExecutor
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- lazy val ammoniteMain: Main
- Attributes
- protected
- Definition Classes
- AmmoniteExecutor
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- lazy val predef: String
- Definition Classes
- DefaultAmmoniteExecutor → AmmoniteExecutor
- def runQuery(query: String, cpg: Cpg): IO[Any]
Runs a query against the provided CPG.
Runs a query against the provided CPG.
- query
The query to run against the CPG.
- cpg
The CPG made implicitly available in the query
- returns
The result of running the query.
- Definition Classes
- AmmoniteExecutor
- def runScript(scriptPath: Path, parameters: Map[String, String], cpg: Cpg): IO[Any]
Runs the given script, passing any defined parameters in addition to bringing a cpg into scope.
Runs the given script, passing any defined parameters in addition to bringing a cpg into scope.
- scriptPath
A path pointing to the Ammonite script to be executed.
- parameters
A map of parameters to be passed to the script, useful if you have a @main method in the script.
- cpg
A CPG that is made implicitly available in the script.
- returns
The result of running the script.
- Definition Classes
- AmmoniteExecutor
- def runScript(scriptPath: Path, parameters: Map[String, String], bindings: IndexedSeq[Bind[_]]): IO[Any]
Runs the given script, passing any defined parameters in addition to bringing the provided variable bindings into scope.
Runs the given script, passing any defined parameters in addition to bringing the provided variable bindings into scope.
- scriptPath
A path pointing to the Ammonite script to be executed.
- parameters
A map of parameters to be passed to the script, useful if you have a @main method in the script.
- bindings
A list of variable bindings made implicitly available to scripts.
- returns
The result of running the script.
- Definition Classes
- AmmoniteExecutor
- def runScripts(scriptPaths: List[Path], parameters: Map[Path, Map[String, String]], cpg: Cpg): IO[Any]
Runs multiple scripts in the order they are specified in
scriptPaths
.Runs multiple scripts in the order they are specified in
scriptPaths
.- scriptPaths
A list of paths pointing to Ammonite scripts to be executed.
- parameters
A map from script path to a set of parameter key/values. If no entry is found for a script, an empty set of params will be passed to the interpreter.
- cpg
A CPG that is made implicitly available in the scripts.
- returns
A list containing the results of running each script, in order.
- Definition Classes
- AmmoniteExecutor
- def runScripts(scriptPaths: List[Path], parameters: Map[Path, Map[String, String]], bindings: IndexedSeq[Bind[_]]): IO[List[Any]]
Runs multiple scripts in the order they are specified in
scriptPaths
.Runs multiple scripts in the order they are specified in
scriptPaths
.- scriptPaths
A list of paths pointing to Ammonite scripts to be executed.
- parameters
A map from script path to a set of parameter key/values. If no entry is found for a script, an empty set of params will be passed to the interpreter.
- bindings
A list of variable bindings made implicitly available to scripts.
- returns
A list containing the results of running each script, in order.
- Definition Classes
- AmmoniteExecutor
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()