Class

org.fusesource.scalate.mustache

ObjectScope

Related Doc: package mustache

Permalink

class ObjectScope[T <: AnyRef] extends ChildScope

Constructs a scope for a non-null and not None value

Source
Scopes.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ObjectScope
  2. ChildScope
  3. Scope
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ObjectScope(parent: Scope, value: T)

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectScope[T] to any2stringadd[ObjectScope[T]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ObjectScope[T], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectScope[T] to ArrowAssoc[ObjectScope[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def apply(name: String): Option[Any]

    Permalink

    Returns the variable of the given name looking in this scope or parent scopes to resolve the variable

    Returns the variable of the given name looking in this scope or parent scopes to resolve the variable

    Definition Classes
    Scope
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def capture(block: (Scope) ⇒ Unit): String

    Permalink

    Captures the output of the given block

    Captures the output of the given block

    Definition Classes
    Scope
  9. def childScope(name: String, v: Any)(block: (Scope) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Scope
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def context: RenderContext

    Permalink
    Definition Classes
    ChildScopeScope
  12. def createScope(name: String, value: Any): Scope

    Permalink
    Definition Classes
    Scope
  13. def ensuring(cond: (ObjectScope[T]) ⇒ Boolean, msg: ⇒ Any): ObjectScope[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectScope[T] to Ensuring[ObjectScope[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (ObjectScope[T]) ⇒ Boolean): ObjectScope[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectScope[T] to Ensuring[ObjectScope[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: ⇒ Any): ObjectScope[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectScope[T] to Ensuring[ObjectScope[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): ObjectScope[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectScope[T] to Ensuring[ObjectScope[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def foreachScope[T](name: String, s: Iterable[T])(block: (Scope) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Scope
  21. def format(v: Any): Any

    Permalink
    Definition Classes
    Scope
  22. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectScope[T] to StringFormat[ObjectScope[T]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  23. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  24. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  25. var implicitIterator: Option[String]

    Permalink
    Definition Classes
    Scope
  26. val introspector: Introspector[T]

    Permalink
  27. def invertedSection(name: String)(block: (Scope) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Scope
  28. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  29. def isParam1[T](f: Function1[_, _], clazz: Class[T]): Boolean

    Permalink
    Definition Classes
    Scope
  30. def iteratorObject: Some[T]

    Permalink

    Returns the current implicit iterator object

    Returns the current implicit iterator object

    Definition Classes
    ObjectScopeScope
  31. def localVariable(name: String): Option[Any]

    Permalink

    Returns the variable in the local scope if it is defined

    Returns the variable in the local scope if it is defined

    Definition Classes
    ObjectScopeScope
  32. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  33. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  34. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  35. def parent: Some[Scope]

    Permalink
    Definition Classes
    ChildScopeScope
  36. def partial(name: String): Unit

    Permalink
    Definition Classes
    Scope
  37. def renderValue(v: Any, unescape: Boolean = false): Unit

    Permalink
    Definition Classes
    Scope
  38. def renderVariable(name: String, unescape: Boolean): Unit

    Permalink

    Renders the given variable name to the context

    Renders the given variable name to the context

    Definition Classes
    Scope
  39. def section(name: String)(block: (Scope) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Scope
  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  41. def toIterable(v: Any, block: (Scope) ⇒ Unit): Any

    Permalink
    Definition Classes
    Scope
  42. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  43. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. def [B](y: B): (ObjectScope[T], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectScope[T] to ArrowAssoc[ObjectScope[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def toTraversable(v: Any, block: (Scope) ⇒ Unit): Any

    Permalink
    Definition Classes
    Scope
    Annotations
    @deprecated
    Deprecated

    (Since version ) use toIterable instead

Inherited from ChildScope

Inherited from Scope

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from ObjectScope[T] to any2stringadd[ObjectScope[T]]

Inherited by implicit conversion StringFormat from ObjectScope[T] to StringFormat[ObjectScope[T]]

Inherited by implicit conversion Ensuring from ObjectScope[T] to Ensuring[ObjectScope[T]]

Inherited by implicit conversion ArrowAssoc from ObjectScope[T] to ArrowAssoc[ObjectScope[T]]

Ungrouped