public class PrefixExpression extends Expression
Constructor and Description |
---|
PrefixExpression(Token operation,
Expression expression) |
Modifier and Type | Method and Description |
---|---|
Expression |
getExpression() |
Token |
getOperation() |
java.lang.String |
getText() |
ClassNode |
getType() |
void |
setExpression(Expression expression) |
java.lang.String |
toString() |
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, putNodeMetaData, removeNodeMetaData, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setNodeMetaData, setSourcePosition
public PrefixExpression(Token operation, Expression expression)
public java.lang.String toString()
toString
in class java.lang.Object
public void visit(GroovyCodeVisitor visitor)
public Expression transformExpression(ExpressionTransformer transformer)
Expression
transformExpression
in class Expression
public void setExpression(Expression expression)
public Token getOperation()
public Expression getExpression()
public ClassNode getType()
getType
in class Expression