Package-level declarations

The abstract syntax tree (AST) for the expression language.

Types

Link copied to clipboard

A Literal representing an ImageBitmap value, which will be loaded as an image into the style upon compilation.

Link copied to clipboard

A Literal representing a Boolean value.

Link copied to clipboard

A Literal representing a Color value.

Link copied to clipboard
sealed interface CompiledExpression<out T : ExpressionValue> : Expression<T>

An Expression reduced to only those data types supported by the MapLibre SDKs. This can be thought of as an intermediate representation between the high level expression DSL and the platform-specific encoding.

Link copied to clipboard

A Literal representing an function call with args all of CompiledExpression

Link copied to clipboard

A Literal representing a JSON array with elements all CompiledLiteral.

Link copied to clipboard
sealed interface CompiledLiteral<out T : ExpressionValue, out L> : Literal<T, L> , CompiledExpression<T>

An Expression representing a constant literal value of a type supported by MapLibre.

Link copied to clipboard

A Literal representing a JSON object with values all CompiledLiteral.

Link copied to clipboard

An Expression representing a JSON object with values all CompiledExpression.

Link copied to clipboard
data class DpLiteral : Literal<DpValue, Dp>

A Literal representing a Dp value.

Link copied to clipboard

A Literal representing a DpOffset value.

Link copied to clipboard
Link copied to clipboard
data class EnumLiteral<T : EnumValue<T>> : Literal<T, T>

A Literal representing an enum value of type T.

Link copied to clipboard
sealed interface Expression<out T : ExpressionValue>

An Expression that evaluates to a value of type T.

Link copied to clipboard

A Literal representing a Number value.

Link copied to clipboard

An Expression representing a function call.

Link copied to clipboard
data class IntLiteral : Literal<IntValue, Int>

A Literal representing an Int value.

Link copied to clipboard

A Literal representing a JSON array.

Link copied to clipboard
sealed interface Literal<out T : ExpressionValue, out L> : Expression<T>

An Expression representing a constant literal value.

Link copied to clipboard

A Literal representing a JSON object.

Link copied to clipboard

A Literal representing a Duration value.

Link copied to clipboard

A Literal representing a null value.

Link copied to clipboard

A Literal representing a Offset value.

Link copied to clipboard

An Expression representing a JSON object with values all Expression.

Link copied to clipboard

A Literal representing a Painter value, which will be drawn to a bitmap and loaded as an image into the style upon compilation.

Link copied to clipboard

A Literal representing a String value.

Link copied to clipboard

An Expression representing a TextUnit value in EM or SP, which may be transformed into multiplication function call to convert to the needed units upon compilation.

Link copied to clipboard

An Expression representing a TextUnitOffsetValue in EM or SP, which may be transformed into an interpolation function call to convert to the needed units upon compilation.