public class ASTConstantConverter extends AbstractJepConversionFunction<ASTConstant>
Constructor and Description |
---|
ASTConstantConverter() |
Modifier and Type | Method and Description |
---|---|
Expression |
toExpression(ASTConstant node)
Get the value from the constant node and check the
ConverterFactory for
a registered converter for the class and use it. |
getDescription, getName, isFunction, isOperator, toRestriction
public Expression toExpression(ASTConstant node)
ConverterFactory
for
a registered converter for the class and use it.toExpression
in interface JepConversionFunction<ASTConstant>
toExpression
in class AbstractJepConversionFunction<ASTConstant>
node
- The object to convertBaseException
- If the node can't be converted