public class ConstantExpression extends Expression
| Modifier and Type | Field and Description |
|---|---|
static ConstantExpression |
EMPTY_STRING |
static ConstantExpression |
EMTPY_EXPRESSION |
static ConstantExpression |
FALSE |
static ConstantExpression |
NULL |
static ConstantExpression |
TRUE |
static ConstantExpression |
VOID |
| Constructor and Description |
|---|
ConstantExpression(java.lang.Object value) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getText() |
java.lang.Object |
getValue() |
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) |
getType, setType, transformExpressionsgetColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setSourcePositionpublic static final ConstantExpression VOID
public static final ConstantExpression NULL
public static final ConstantExpression TRUE
public static final ConstantExpression FALSE
public static final ConstantExpression EMPTY_STRING
public static final ConstantExpression EMTPY_EXPRESSION
public java.lang.String toString()
toString in class java.lang.Objectpublic void visit(GroovyCodeVisitor visitor)
public Expression transformExpression(ExpressionTransformer transformer)
ExpressiontransformExpression in class Expressionpublic java.lang.Object getValue()