QirExpression
classin packageklyn.data.internal.qir
public final class QirExpression:
QirExpression

Immutable expression in the canonical Klyn Query Intermediate Representation.

The compact node shape is deliberately internal. Providers inspect the operation and immutable arguments instead of parsing KQL source text.

Example
expression = QirExpression(QirOperation.VALUE, "Int", "", 42)
Properties
Modifier and Type Member Description
public readonly property arguments
arguments as ArrayList<QirExpression>
Immutable-by-convention copy of child expressions.
public readonly property name
name as String
Optional alias, member, parameter, or constructor name.
public readonly property operation
operation as QirOperation
Canonical operation represented by this node.
public readonly property typeName
typeName as String
Exact static Klyn result type.
public readonly property value
value as Object
Captured value; null for structural nodes.
Constructors
Modifier and Type Member Description
public QirExpression
QirExpression( operation as QirOperation, typeName as String, name as String, value as Object, arguments... as QirExpression ):
Creates one immutable canonical expression node.