o

io.shiftleft.console

DefaultAmmoniteExecutor

object DefaultAmmoniteExecutor extends AmmoniteExecutor

Linear Supertypes
AmmoniteExecutor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefaultAmmoniteExecutor
  2. AmmoniteExecutor
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. lazy val ammoniteMain: Main
    Attributes
    protected
    Definition Classes
    AmmoniteExecutor
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. lazy val predef: String
  17. 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
  18. 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
  19. 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
  20. 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
  21. 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
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AmmoniteExecutor

Inherited from AnyRef

Inherited from Any

Ungrouped