razie.base.scripting

ScalaScriptContext

class ScalaScriptContext extends ScriptContextImpl

will cache the environment, including the parser instance. That way things defined in one script are visible to the next

Linear Supertypes
ScriptContextImpl, ScriptContext, WrapAttrAccess, AA, AttrAccessImpl, JavaAttrAccessImpl, ScalaAttrAccessImpl, AttrAccess, ActionContext, ScalaAttrAccess, JavaAttrAccess, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ScalaScriptContext
  2. ScriptContextImpl
  3. ScriptContext
  4. WrapAttrAccess
  5. AA
  6. AttrAccessImpl
  7. JavaAttrAccessImpl
  8. ScalaAttrAccessImpl
  9. AttrAccess
  10. ActionContext
  11. ScalaAttrAccess
  12. JavaAttrAccess
  13. AnyRef
  14. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ScalaScriptContext(parent: ActionContext, args: Any*)

  2. new ScalaScriptContext(parent: ActionContext = null)

Value Members

  1. final def !=(arg0: AnyRef): scala.Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): scala.Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def ++(other: AA): WrapAttrAccess

    Definition Classes
    AA
  5. def ++=(other: AA): AA

    Definition Classes
    AA
  6. final def ==(arg0: AnyRef): scala.Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): scala.Boolean

    Definition Classes
    Any
  8. lazy val _attrs: HashMap[String, Any]

    Definition Classes
    ScalaAttrAccessImpl
  9. lazy val _order: ListBuffer[String]

    Definition Classes
    ScalaAttrAccessImpl
  10. lazy val _types: HashMap[String, AttrType]

    Definition Classes
    ScalaAttrAccessImpl
  11. def a(name: String): AnyRef

    Definition Classes
    ScalaAttrAccessImpl → ScalaAttrAccess
  12. def addToUrl(url: String): String

    Definition Classes
    ScalaAttrAccessImpl → ScalaAttrAccess
  13. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  14. def bind(ctx: ActionContext, p: Interpreter): Unit

    bind the values inside the context to the given interpreter instance

    bind the values inside the context to the given interpreter instance

    NOTE that binding errors are ignored - there's just too many...watch your log for errors

  15. def clear(): Unit

    Definition Classes
    ScalaAttrAccessImpl
  16. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. lazy val comp: JLineCompletion

  18. def define(arg0: String, arg1: String): Unit

    Definition Classes
    ScriptContextImpl → ScriptContext
  19. final def eq(arg0: AnyRef): scala.Boolean

    Definition Classes
    AnyRef
  20. def equals(other: Any): scala.Boolean

    Definition Classes
    AA → AnyRef → Any
  21. def err(s: String): Unit

  22. var expr: scala.Boolean

  23. def filter(f: (String, AnyRef) ⇒ scala.Boolean): Iterable[String]

    Definition Classes
    ScalaAttrAccessImpl → ScalaAttrAccess
  24. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. def foreach(f: (String, AnyRef) ⇒ Unit): Unit

    Definition Classes
    ScalaAttrAccessImpl → ScalaAttrAccess
  26. def get[T](name: String): Option[T]

    Definition Classes
    ScalaAttrAccessImpl → ScalaAttrAccess
  27. def getAttr(arg0: String): AnyRef

    Definition Classes
    ScriptContextImpl → WrapAttrAccess → ScalaAttrAccessImpl → ScalaAttrAccess
  28. def getAttrType(name: String): AttrType

    Definition Classes
    WrapAttrAccess → ScalaAttrAccessImpl → ScalaAttrAccess
  29. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  30. def getOrElse(name: String, dflt: AnyRef): AnyRef

    Definition Classes
    ScalaAttrAccessImpl → ScalaAttrAccess
  31. def getPopulatedAttr(): Iterable[String]

    Definition Classes
    WrapAttrAccess → ScalaAttrAccessImpl → ScalaAttrAccess
  32. def guard(arg0: String, arg1: String, arg2: String): Unit

    Definition Classes
    ScriptContextImpl → ScriptContext
  33. def hasAttrType(name: String): scala.Boolean

    Definition Classes
    WrapAttrAccess → ScalaAttrAccessImpl → ScalaAttrAccess
  34. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  35. final def isInstanceOf[T0]: scala.Boolean

    Definition Classes
    Any
  36. def isPopulated(arg0: String): scala.Boolean

    Definition Classes
    ScriptContextImpl → WrapAttrAccess → ScalaAttrAccessImpl → ScalaAttrAccess
  37. var lastError: String

  38. def map[A, B](f: (String, A) ⇒ B): ScalaAttrAccess

    Definition Classes
    ScalaAttrAccessImpl → ScalaAttrAccess
  39. def mapValues[A, B](f: (A) ⇒ B): Seq[B]

    Definition Classes
    ScalaAttrAccessImpl → ScalaAttrAccess
  40. def mkParser(errLogger: (String) ⇒ Unit): RazieInterpreter

    make a new parser/interpreter instance using the given error logger

  41. final def ne(arg0: AnyRef): scala.Boolean

    Definition Classes
    AnyRef
  42. final def notify(): Unit

    Definition Classes
    AnyRef
  43. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  44. def options(scr: String, pos: Int): List[String]

    content assist options

    content assist options

    Definition Classes
    ScalaScriptContext → ScriptContextImpl → ScriptContext
  45. lazy val parser: RazieInterpreter

  46. def rebuild(): Map[String, Null]

    Definition Classes
    WrapAttrAccess
  47. def reset(): Unit

    Definition Classes
    ScriptContextImpl → ScriptContext
  48. def sa(name: String): String

    Definition Classes
    ScalaAttrAccessImpl → ScalaAttrAccess
  49. def set(name: String, v: Any, t: AttrType): Unit

    Definition Classes
    ScalaAttrAccessImpl → ScalaAttrAccess
  50. def set(name: String, v: Any): Unit

    Definition Classes
    ScalaAttrAccessImpl → ScalaAttrAccess
  51. def setAttr(arg0: <repeated...>[AnyRef]): Unit

    Definition Classes
    JavaAttrAccessImpl → JavaAttrAccess
  52. def setAttrPair(name: String, value: Any): Unit

    Definition Classes
    ScalaAttrAccessImpl → ScalaAttrAccess
  53. def setAttrType(name: String, ttype: AttrType): Unit

    Definition Classes
    ScalaAttrAccessImpl → ScalaAttrAccess
  54. def setAttrType(name: String, ttype: String): Unit

    Definition Classes
    ScalaAttrAccessImpl
  55. def sgetOrElse(name: String, dflt: String): String

    Definition Classes
    ScalaAttrAccessImpl
  56. def sgetPopulatedAttr: Set[String]

    Definition Classes
    WrapAttrAccess → ScalaAttrAccessImpl → ScalaAttrAccess
  57. def size(): Int

    Definition Classes
    WrapAttrAccess → ScalaAttrAccessImpl → ScalaAttrAccess
  58. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  59. def tempcl(): Unit

    Definition Classes
    ScalaAttrAccessImpl
  60. def tempso(name: String): Unit

    Definition Classes
    ScalaAttrAccessImpl
  61. def toJson(iobj: JSONObject): JSONObject

    Definition Classes
    ScalaAttrAccessImpl → ScalaAttrAccess
  62. def toMap: Map[String, String]

    Definition Classes
    AA
  63. def toPairs(): Array[AnyRef]

    Definition Classes
    ScalaAttrAccessImpl → ScalaAttrAccess
  64. def toString(): String

    Definition Classes
    ScalaAttrAccessImpl → AnyRef → Any
  65. def toXml(): String

    Definition Classes
    ScalaAttrAccessImpl → ScalaAttrAccess
  66. def toXmlWithChildren(me: Any, tag: String)(contents: (Any) ⇒ String): String

    Definition Classes
    AA
  67. def undefine(arg0: String): Unit

    Definition Classes
    ScriptContextImpl → ScriptContext
  68. def unguard(arg0: String, arg1: String, arg2: String): Unit

    Definition Classes
    ScriptContextImpl → ScriptContext
  69. def unpopulate(name: String): Unit

    Definition Classes
    ScalaAttrAccessImpl
  70. def verbose(arg0: scala.Boolean): Unit

    Definition Classes
    ScriptContextImpl → ScriptContext
  71. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  72. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  73. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ScriptContextImpl

Inherited from ScriptContext

Inherited from WrapAttrAccess

Inherited from AA

Inherited from AttrAccessImpl

Inherited from JavaAttrAccessImpl

Inherited from ScalaAttrAccessImpl

Inherited from AttrAccess

Inherited from ActionContext

Inherited from ScalaAttrAccess

Inherited from JavaAttrAccess

Inherited from AnyRef

Inherited from Any

Ungrouped