public class UnaryPlusExpression extends Expression
Constructor and Description |
---|
UnaryPlusExpression(Expression expression) |
Modifier and Type | Method and Description |
---|---|
Expression |
getExpression() |
String |
getText() |
ClassNode |
getType() |
boolean |
isDynamic() |
Expression |
transformExpression(ExpressionTransformer transformer)
Return a copy of the expression calling the transformer on any nested expressions
|
void |
visit(GroovyCodeVisitor visitor) |
setType, transformExpressions, transformExpressions
addAnnotation, addAnnotations, getAnnotations, getAnnotations, getDeclaringClass, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSynthetic
copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getNodeMetaData, getNodeMetaData, putNodeMetaData, removeNodeMetaData, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setNodeMetaData, setSourcePosition
public UnaryPlusExpression(Expression expression)
public Expression getExpression()
public void visit(GroovyCodeVisitor visitor)
public Expression transformExpression(ExpressionTransformer transformer)
Expression
transformExpression
in class Expression
public ClassNode getType()
getType
in class Expression
public boolean isDynamic()