Class PosOperator
java.lang.Object
io.micronaut.expressions.parser.ast.ExpressionNode
io.micronaut.expressions.parser.ast.operator.unary.UnaryOperator
io.micronaut.expressions.parser.ast.operator.unary.PosOperator
Expression node for unary '+' operator.
- Since:
- 4.0.0
- Author:
- Sergey Gavrilov
-
Field Summary
Fields inherited from class io.micronaut.expressions.parser.ast.operator.unary.UnaryOperator
operand
Fields inherited from class io.micronaut.expressions.parser.ast.ExpressionNode
classElement, nodeType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.objectweb.asm.Type
Resolves expression AST node type.void
Generates bytecode for this AST node.Methods inherited from class io.micronaut.expressions.parser.ast.operator.unary.UnaryOperator
doResolveClassElement
Methods inherited from class io.micronaut.expressions.parser.ast.ExpressionNode
compile, resolveClassElement, resolveType
-
Constructor Details
-
PosOperator
-
-
Method Details
-
doResolveType
Description copied from class:ExpressionNode
Resolves expression AST node type.- Overrides:
doResolveType
in classUnaryOperator
- Parameters:
ctx
- expression compilation context- Returns:
- resolved type
-
generateBytecode
Description copied from class:ExpressionNode
Generates bytecode for this AST node.- Specified by:
generateBytecode
in classExpressionNode
- Parameters:
ctx
- expression compilation context
-