public class LiteralValue extends Expr
Modifier and Type | Class and Description |
---|---|
static class |
LiteralValue.LiteralType |
Modifier and Type | Field and Description |
---|---|
protected String |
value |
protected LiteralValue.LiteralType |
valueType |
Constructor and Description |
---|
LiteralValue(String value,
LiteralValue.LiteralType valueType) |
Modifier and Type | Method and Description |
---|---|
boolean |
equalsTo(Expr expr)
This method only compares this Expr contents with those of another Expr.
|
String |
getValue() |
LiteralValue.LiteralType |
getValueType() |
int |
hashCode() |
String |
toString() |
protected LiteralValue.LiteralType valueType
protected String value
public LiteralValue(String value, LiteralValue.LiteralType valueType)
public LiteralValue.LiteralType getValueType()
public String getValue()
public boolean equalsTo(Expr expr)
Expr
expr
- The Expr instance to be compared.Copyright © 2014 Apache Software Foundation. All Rights Reserved.