android-components / mozilla.components.lib.jexl.value / JexlValue

JexlValue

sealed class JexlValue (source)

A JEXL value type.

Properties

Name Summary
value abstract val value: Any

Functions

Name Summary
compareTo abstract operator fun compareTo(other: JexlValue): Int
div abstract operator fun div(other: JexlValue): JexlValue
plus abstract operator fun plus(other: JexlValue): JexlValue
times abstract operator fun times(other: JexlValue): JexlValue
toBoolean abstract fun toBoolean(): Boolean

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.

Inheritors

Name Summary
JexlArray class JexlArray : JexlValue
JEXL Array type.
JexlBoolean class JexlBoolean : JexlValue
JEXL Boolean type.
JexlDouble class JexlDouble : JexlValue
JEXL Double type.
JexlInteger class JexlInteger : JexlValue
JEXL Integer type.
JexlObject class JexlObject : JexlValue
JEXL Object type.
JexlString class JexlString : JexlValue
JEXL String type.
JexlUndefined class JexlUndefined : JexlValue
JEXL undefined type.