object Std
The Jsonnet standard library, std
, with each builtin function implemented
in Scala code. Uses builtin
and other helpers to handle the common wrapper
logic automatically
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Std
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val Std: Obj
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def builtin[R, T1, T2, T3](name: String, p1: String, p2: String, p3: String)(eval: (EvalScope, FileScope, T1, T2, T3) => R)(implicit arg0: ReadWriter[R], arg1: ReadWriter[T1], arg2: ReadWriter[T2], arg3: ReadWriter[T3]): (String, Func)
- def builtin[R, T1, T2](name: String, p1: String, p2: String)(eval: (EvalScope, FileScope, T1, T2) => R)(implicit arg0: ReadWriter[R], arg1: ReadWriter[T1], arg2: ReadWriter[T2]): (String, Func)
- def builtin[R, T1](name: String, p1: String)(eval: (EvalScope, FileScope, T1) => R)(implicit arg0: ReadWriter[R], arg1: ReadWriter[T1]): (String, Func)
- def builtin0[R](name: String, params: String*)(eval: (Array[Val], EvalScope, FileScope) => R)(implicit arg0: ReadWriter[R]): (String, Func)
- def builtinWithDefaults[R](name: String, params: (String, Option[Expr])*)(eval: (Map[String, Val], EvalScope) => R)(implicit arg0: ReadWriter[R]): (String, Func)
Helper function that can define a built-in function with default parameters
Helper function that can define a built-in function with default parameters
Arguments of the eval function are (args, ev)
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val functions: Seq[(String, Func)]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def scope(size: Int): ValScope
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def validate(vs: Array[Val], ev: EvalScope, fs: FileScope, rs: Array[ReadWriter[_]]): IndexedSeq[Any]
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])