Comprehension

sealed class Comprehension : ExpressionWithId

Known direct subclasses
ListAllMatch

Represents the "all match" operation on a list expression.

ListAnyMatch

Represents the "any match" operation on a list expression.

ListFilter

Represents the "filter" operation on a list expression.

ListMap

Represents the map operation on a list expression.

ListNoneMatch

Represents the "none match" operation on a list expression.


Represents list comprehension expressions.

Summary

Protected constructors

Comprehension(
    rangeExpression: Expression,
    lambdaVar: ReferenceDeclaration,
    lambdaBody: Expression
)
Comprehension(
    rangeExpression: Expression,
    lambdaVar: ReferenceDeclaration,
    lambdaBody: Expression,
    expressionId: String
)

Protected constructors

Comprehension

protected Comprehension(
    rangeExpression: Expression,
    lambdaVar: ReferenceDeclaration,
    lambdaBody: Expression
)

Comprehension

protected Comprehension(
    rangeExpression: Expression,
    lambdaVar: ReferenceDeclaration,
    lambdaBody: Expression,
    expressionId: String
)

Public properties

lambdaBody

val lambdaBodyExpression

lambdaVar

val lambdaVarReferenceDeclaration

rangeExpression

val rangeExpressionExpression