| Constructor and Description |
|---|
ValueExpr(java.lang.String value)
Creates a new
ValueExpr. |
| Modifier and Type | Method and Description |
|---|---|
<T,X extends java.lang.Throwable> |
accept(ExprVisitor<T,X> visitor)
Accepts
visitor for this expression. |
java.util.Optional<ValueExpr> |
asValue()
Get this expression as a value expression
|
java.lang.String |
getValue()
Gets the value.
|
boolean |
isValue()
Check if this expression is a value expression.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasBinary, asBoolean, asBooleanBinary, asBooleanUnary, asComparison, asMember, asMethodCall, asUnary, isBinary, isBoolean, isBooleanBinary, isBooleanUnary, isComparison, isMember, isMethodCall, isUnarypublic ValueExpr(java.lang.String value)
ValueExpr.value - the valuepublic java.lang.String getValue()
public boolean isValue()
Exprpublic java.util.Optional<ValueExpr> asValue()
Exprpublic java.lang.String toString()
toString in class java.lang.Objectpublic <T,X extends java.lang.Throwable> T accept(ExprVisitor<T,X> visitor) throws X extends java.lang.Throwable
Exprvisitor for this expression.Copyright © 2015–2019 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.