Class PowOperator
java.lang.Object
io.micronaut.expressions.parser.ast.ExpressionNode
io.micronaut.expressions.parser.ast.operator.binary.BinaryOperator
io.micronaut.expressions.parser.ast.operator.binary.PowOperator
Expression AST node for '^' operator. '^' operator in evaluated
expressions means power operation
- Since:
- 4.0.0
- Author:
- Sergey Gavrilov
-
Field Summary
Fields inherited from class io.micronaut.expressions.parser.ast.operator.binary.BinaryOperator
leftOperand, rightOperandFields inherited from class io.micronaut.expressions.parser.ast.ExpressionNode
classElement, nodeType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidGenerates bytecode for this AST node.protected org.objectweb.asm.TyperesolveOperationType(org.objectweb.asm.Type leftOperandType, org.objectweb.asm.Type rightOperandType) Methods inherited from class io.micronaut.expressions.parser.ast.operator.binary.BinaryOperator
doResolveTypeMethods inherited from class io.micronaut.expressions.parser.ast.ExpressionNode
compile, doResolveClassElement, doResolveClassElement, resolveClassElement, resolveClassElement, resolveType, resolveType
-
Constructor Details
-
PowOperator
-
-
Method Details
-
generateBytecode
Description copied from class:ExpressionNodeGenerates bytecode for this AST node.- Specified by:
generateBytecodein classExpressionNode- Parameters:
ctx- expression compilation context
-
resolveOperationType
protected org.objectweb.asm.Type resolveOperationType(org.objectweb.asm.Type leftOperandType, org.objectweb.asm.Type rightOperandType) - Specified by:
resolveOperationTypein classBinaryOperator
-