Class StringLiteral
java.lang.Object
com.blazebit.persistence.parser.expression.AbstractExpression
com.blazebit.persistence.parser.expression.StringLiteral
- All Implemented Interfaces:
Expression,LiteralExpression<String>
- Since:
- 1.2.0
- Author:
- Moritz Becker
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.blazebit.persistence.parser.expression.Expression
Expression.ResultVisitor<T>, Expression.Visitor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(Expression.ResultVisitor<T> visitor) voidaccept(Expression.Visitor visitor) The expression tree is traversed in pre-order.copy(ExpressionCopyContext copyContext) booleangetValue()inthashCode()toString()Returns the trimmed original string representation of the expression.
-
Constructor Details
-
StringLiteral
-
-
Method Details
-
getValue
- Specified by:
getValuein interfaceLiteralExpression<String>
-
copy
- Specified by:
copyin interfaceExpression- Specified by:
copyin classAbstractExpression- Returns:
-
accept
Description copied from interface:ExpressionThe expression tree is traversed in pre-order.- Specified by:
acceptin interfaceExpression
-
accept
- Specified by:
acceptin interfaceExpression
-
equals
-
hashCode
public int hashCode() -
toString
Description copied from interface:ExpressionReturns the trimmed original string representation of the expression.- Specified by:
toStringin interfaceExpression- Overrides:
toStringin classAbstractExpression- Returns:
- The string representation of the expression
-