Index

class Index(val expression: Expression, val index: Expression) : Expression

Represents an indexed expression, such as accessing an element of a list or map.

Constructors

Link copied to clipboard
fun Index(expression: Expression, index: Expression)

Properties

Link copied to clipboard
val expression: Expression

an expression evaluating to a value with indices.

Link copied to clipboard
val index: Expression

an expression evaluating to the value to be used as the index.