BinaryExpression
data class BinaryExpression(val lhs: Node.Expression, val operator: Node.Expression.BinaryExpression.BinaryOperator, val rhs: Node.Expression, val supplement: NodeSupplement = NodeSupplement()) : Node.Expression
AST node that represents a binary expression. The node corresponds to KtBinaryExpression or KtQualifiedExpression.
Constructors
Link copied to clipboard
constructor(lhs: Node.Expression, operator: Node.Expression.BinaryExpression.BinaryOperator, rhs: Node.Expression, supplement: NodeSupplement = NodeSupplement())
Types
Link copied to clipboard
Common interface for AST nodes that represent binary operators. Note that NameExpression implements BinaryOperator because it can be used as a infix operator.