razie.base.scripting

SealedContext

class SealedContext extends ScalaAttrAccessImpl with ScriptContext

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SealedContext
  2. ScriptContext
  3. ScalaAttrAccessImpl
  4. AttrAccess
  5. ActionContext
  6. ScalaAttrAccess
  7. JavaAttrAccess
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SealedContext(wraped: ScriptContext)

Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

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

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

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

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

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

    I'm really starting to hate typing.

    I'm really starting to hate typing... shortcut for getAttr

    Definition Classes
    SealedContextScalaAttrAccessImplScalaAttrAccess
  10. def addToUrl(url: String): String

    add these attributes to an url, respecting the url parm format, i.

    add these attributes to an url, respecting the url parm format, i.e. getMovie?name=300.divx&producer=whoknows

    Definition Classes
    SealedContextScalaAttrAccessImplScalaAttrAccess
  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def clear(): Unit

    Definition Classes
    ScalaAttrAccessImpl
  13. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def define(fun: String, expr: String): Unit

    define a new function - these are evaluated every time they are invoked.

    define a new function - these are evaluated every time they are invoked. these also overwrite another symbol, so you can redefine a symbol to do something else.

    DO NOT forget to seal a context before passing it to untrusted plugins

    Definition Classes
    SealedContextScriptContext
  15. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  17. def filter(f: (String, AnyRef) ⇒ Boolean): Iterable[String]

    Definition Classes
    ScalaAttrAccessImplScalaAttrAccess
  18. def finalize(): Unit

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

    Definition Classes
    ScalaAttrAccessImplScalaAttrAccess
  20. def get[T](name: String): Option[T]

    returns

    the value of the named attribute or null, coerced into an option of the given type

    Definition Classes
    ScalaAttrAccessImplScalaAttrAccess
  21. def getAttr(name: String): AnyRef

    returns

    the value of the named attribute or null

    Definition Classes
    SealedContextScalaAttrAccessImplScalaAttrAccess
  22. def getAttrType(name: String): AttrType

    returns

    the type of the named attribute OR null if not known. Default is by convention String

    Definition Classes
    SealedContextScalaAttrAccessImplScalaAttrAccess
  23. final def getClass(): Class[_]

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

    returns

    the value of the named attribute or null

    Definition Classes
    SealedContextScalaAttrAccessImplScalaAttrAccess
  25. def getPopulatedAttr(): Iterable[String]

    iterate through the populated attributes.

    iterate through the populated attributes. BE very careful: if you set attrs with NULL values, they are NOT populated!

    Definition Classes
    SealedContextScalaAttrAccessImplScalaAttrAccess
  26. def guard(name: String, condition: String, expr: String): Unit

    TODO 3 FUNC use guards, document

    TODO 3 FUNC use guards, document

    Definition Classes
    SealedContextScriptContext
  27. def hasAttrType(name: String): Boolean

    check if an attribute is populated

    check if an attribute is populated

    Definition Classes
    SealedContextScalaAttrAccessImplScalaAttrAccess
  28. def hashCode(): Int

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

    Definition Classes
    Any
  30. def isPopulated(name: String): Boolean

    check if an attribute is populated

    check if an attribute is populated

    Definition Classes
    SealedContextScalaAttrAccessImplScalaAttrAccess
  31. def map[A, B](f: (String, A) ⇒ B): ScalaAttrAccess

    Definition Classes
    ScalaAttrAccessImplScalaAttrAccess
  32. def mapValues[A, B](f: (A) ⇒ B): Seq[B]

    Definition Classes
    ScalaAttrAccessImplScalaAttrAccess
  33. final def ne(arg0: AnyRef): Boolean

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

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

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

    content assist options

    content assist options

    script

    - the line that needs assist

    pos

    - the position it needs assist - normally script.length-1

    Definition Classes
    SealedContextScriptContext
  37. def reset(): Unit

    Reset this context.

    Reset this context. Normally a context would cache a parser/interpreter instance. Reset will make sure this is in pristine condition .

    NOTE that any state MAY be erased. Any variable/values defined in previous scripts may be erased. It is often that the individual interpreter instances cache local values, which would disapear.

    Definition Classes
    SealedContextScriptContext
  38. def sa(name: String): String

    most of the time they're just strings - i'll typecast here.

    most of the time they're just strings - i'll typecast here... this is a() typcast to String

    returns

    "" or the actual toString of the respective value

    Definition Classes
    SealedContextScalaAttrAccessImplScalaAttrAccess
  39. def set(name: String, value: Any, t: AttrType): Unit

    set the value of the named attribute + the name can be of the form name:type

    set the value of the named attribute + the name can be of the form name:type

    Definition Classes
    SealedContextScalaAttrAccessImplScalaAttrAccess
  40. def set(name: String, value: Any): Unit

    set the value of the named attribute + the name can be of the form name:type

    set the value of the named attribute + the name can be of the form name:type

    Definition Classes
    SealedContextScalaAttrAccessImplScalaAttrAccess
  41. def setAttr(pairs: <repeated...>[AnyRef]): Unit

    Definition Classes
    SealedContextJavaAttrAccess
  42. def setAttrPair(name: String, value: Any): Unit

    set the value of the named attribute + the name can be of the form name:type

    set the value of the named attribute + the name can be of the form name:type

    Definition Classes
    SealedContextScalaAttrAccessImplScalaAttrAccess
  43. def setAttrType(name: String, type: AttrType): Unit

    set the type of the named attribute

    set the type of the named attribute

    Definition Classes
    SealedContextScalaAttrAccessImplScalaAttrAccess
  44. def setAttrType(name: String, ttype: String): Unit

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

    Definition Classes
    ScalaAttrAccessImpl
  46. def sgetPopulatedAttr: Iterable[String]

    build from sequence of parm/value pairs or other stuff

    build from sequence of parm/value pairs or other stuff

    Definition Classes
    ScalaAttrAccessImplScalaAttrAccess
  47. def size(): Int

    the number of populated attributes

    the number of populated attributes

    Definition Classes
    SealedContextScalaAttrAccessImplScalaAttrAccess
  48. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  49. def tempcl(): Unit

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

    Definition Classes
    ScalaAttrAccessImpl
  51. def toJson(obj: JSONObject): JSONObject

    add my attributes to the JSONObject passed in.

    add my attributes to the JSONObject passed in. If null passed in, empty object is created first

    obj

    an json object to add to or null if this is a single element

    returns

    Definition Classes
    SealedContextScalaAttrAccessImplScalaAttrAccess
  52. def toPairs(): Array[AnyRef]

    same pairs format name,value,name,value.

    same pairs format name,value,name,value...

    Definition Classes
    SealedContextScalaAttrAccessImplScalaAttrAccess
  53. def toString(): String

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

    some random xml format

    some random xml format

    Definition Classes
    SealedContextScalaAttrAccessImplScalaAttrAccess
  55. def undefine(macro: String): Unit

    remove a function

    remove a function

    Definition Classes
    SealedContextScriptContext
  56. def unguard(name: String, condition: String, expr: String): Unit

    TODO 3 FUNC use guards, document

    TODO 3 FUNC use guards, document

    Definition Classes
    SealedContextScriptContext
  57. def unpopulate(name: String): Unit

    Definition Classes
    ScalaAttrAccessImpl
  58. def verbose(v: Boolean): Unit

    make execution verbose or not

    make execution verbose or not

    Definition Classes
    SealedContextScriptContext
  59. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ScriptContext

Inherited from ScalaAttrAccessImpl

Inherited from AttrAccess

Inherited from ActionContext

Inherited from ScalaAttrAccess

Inherited from JavaAttrAccess

Inherited from AnyRef

Inherited from Any

Ungrouped