java.lang.Object
io.micronaut.expressions.parser.ast.ExpressionNode
io.micronaut.expressions.parser.ast.operator.binary.BinaryOperator
Direct Known Subclasses:
AddOperator, EqOperator, LogicalOperator, MathOperator, PowOperator

@Internal public abstract sealed class BinaryOperator extends ExpressionNode permits AddOperator, EqOperator, LogicalOperator, MathOperator, PowOperator
Abstract expression AST node for binary operators.
Since:
4.0.0
Author:
Sergey Gavrilov
  • Field Details

  • Constructor Details

  • Method Details

    • doResolveType

      protected org.objectweb.asm.Type doResolveType(ExpressionVisitorContext ctx)
      Description copied from class: ExpressionNode
      Resolves expression AST node type.
      Specified by:
      doResolveType in class ExpressionNode
      Parameters:
      ctx - expression compilation context
      Returns:
      resolved type
    • resolveOperationType

      protected abstract org.objectweb.asm.Type resolveOperationType(org.objectweb.asm.Type leftOperandType, org.objectweb.asm.Type rightOperandType)