class DebuggerInterpreter extends Interpreter with DebuggerInterpreterBuiltins with DebuggerInterpreterHelpers

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DebuggerInterpreter
  2. DebuggerInterpreterHelpers
  3. DebuggerInterpreterBuiltins
  4. Interpreter
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DebuggerInterpreter(rootScope: Scope = models.Scope.newRootScope(), out: PrintStream = Console.out, err: PrintStream = Console.err)

Type Members

  1. type E = Expression
    Definition Classes
    DebuggerInterpreterHelpers
  2. type I = Identifier
    Definition Classes
    DebuggerInterpreterHelpers

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def bindFunction(name: String, parameters: Seq[String], function: (Map[String, Any]) ⇒ Any, documentation: String = null): Unit

    Binds a function into the interpreter.

    Binds a function into the interpreter.

    name

    The name to associate with the function

    parameters

    The collection of parameter names and documentation used by the function

    function

    The implementation of the function

    documentation

    Optional documentation for the function

    Definition Classes
    Interpreter
  6. def bindFunctionExpression(name: String, function: Function): Unit
  7. def bindFunctionWithParamDocs(name: String, parameters: Seq[(String, String)], function: (Map[String, Any]) ⇒ Any, documentation: String = null): Unit

    Binds a function into the interpreter.

    Binds a function into the interpreter.

    name

    The name to associate with the function

    parameters

    The collection of parameter names and documentation used by the function

    function

    The implementation of the function

    documentation

    Optional documentation for the function

    Definition Classes
    DebuggerInterpreterInterpreter
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. lazy val context: Context

    Represents the context information about the interpreter state.

    Represents the context information about the interpreter state.

    returns

    The context of the interpreter

    Definition Classes
    DebuggerInterpreterInterpreter
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. val err: PrintStream
    Attributes
    protected
  13. final def eval(expression: Expression, scope: Scope): Expression
    Attributes
    protected
  14. def eval(expression: Expression): Expression
  15. def fillInArgs(args: Seq[(Identifier, Expression)], argNames: Seq[Identifier], scope: Scope): Map[Identifier, Expression]
    Definition Classes
    DebuggerInterpreterHelpers
  16. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def get(name: String): Option[Any]

    Retrieves the contents of a variable from the interpreter.

    Retrieves the contents of a variable from the interpreter.

    name

    The name of the variable whose contents to retrieve

    returns

    Some value if the variable exists, otherwise None

    Definition Classes
    DebuggerInterpreterInterpreter
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  19. def getExpression(name: String): Option[Expression]
  20. def getFunction(expression: Expression, scope: Scope): Function
    Definition Classes
    DebuggerInterpreterHelpers
  21. def getVariable(name: String, scope: Scope): Expression
    Definition Classes
    DebuggerInterpreterHelpers
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  23. def interpret(code: String, scope: Scope): Try[AnyRef]
    Attributes
    protected
  24. def interpret(code: String): Try[AnyRef]

    Interprets code and returns result of last top-level expression

    Interprets code and returns result of last top-level expression

    code

    The line of code to interpret

    returns

    The result of parsing and evaluation, yielding the last evaluated line of code

    Definition Classes
    DebuggerInterpreterInterpreter
  25. def interpretVerbosely(code: String): Try[Seq[Try[AnyRef]]]

    Interprets code and returns collection of results for all top-level expressions

    Interprets code and returns collection of results for all top-level expressions

    code

    The line of code to interpret

    returns

    The result of parsing and evaluation, yielding all evaluated lines of code

    Definition Classes
    DebuggerInterpreterInterpreter
  26. def invokeOperator(name: String, scope: Scope, l: E, r: E): E
    Definition Classes
    DebuggerInterpreterHelpers
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  31. val out: PrintStream
    Attributes
    protected
  32. def parse(code: String): Try[Seq[Expression]]
    Attributes
    protected
  33. def put(name: String, value: Any): Unit

    Stores into the global namespace of the interpreter the provided value, creating a variable with the specified name.

    Stores into the global namespace of the interpreter the provided value, creating a variable with the specified name.

    name

    The name of the variable to contain the value

    value

    The value to store

    Definition Classes
    DebuggerInterpreterInterpreter
  34. def putExpression(name: String, value: Expression): Unit
  35. val rootScope: Scope
    Attributes
    protected
  36. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  37. final def toBaseValue(expression: Expression, scope: Scope): BaseValue
    Definition Classes
    DebuggerInterpreterHelpers
    Annotations
    @tailrec()
  38. def toBaseValue(expression: Expression): BaseValue
    Definition Classes
    DebuggerInterpreterHelpers
  39. def toEvalArgs(scope: Scope, l: E, r: E): Seq[(I, E)]
    Definition Classes
    DebuggerInterpreterHelpers
  40. def toExpression(value: Any): Try[Expression]
    Attributes
    protected
  41. def toString(): String
    Definition Classes
    AnyRef → Any
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Interpreter

Inherited from AnyRef

Inherited from Any

Ungrouped