Class BinaryOperationExpression
java.lang.Object
org.thymeleaf.standard.expression.Expression
org.thymeleaf.standard.expression.ComplexExpression
org.thymeleaf.standard.expression.BinaryOperationExpression
- All Implemented Interfaces:
Serializable,IStandardExpression
- Direct Known Subclasses:
AdditionSubtractionExpression,AndExpression,EqualsNotEqualsExpression,GreaterLesserExpression,MultiplicationDivisionRemainderExpression,OrExpression
- Since:
- 1.1
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final IStandardExpressionprivate final IStandardExpressionprivate static final longFields inherited from class org.thymeleaf.standard.expression.Expression
NESTING_END_CHAR, NESTING_START_CHAR, PARSING_PLACEHOLDER_CHAR -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionprotected static ExpressionParsingStatecomposeBinaryOperationExpression(ExpressionParsingState state, int nodeIndex, String[] operators, boolean[] leniencies, Class<? extends BinaryOperationExpression>[] operationClasses, Method leftAllowedMethod, Method rightAllowedMethod) private static ExpressionParsingStatedoComposeBinaryOperationExpression(ExpressionParsingState state, int nodeIndex, String operator, Class<? extends BinaryOperationExpression> operationClass, Method leftAllowedMethod, Method rightAllowedMethod, String input, int operatorPos) getLeft()getRight()protected StringgetStringRepresentation(String operator) Methods inherited from class org.thymeleaf.standard.expression.ComplexExpression
executeComplexMethods inherited from class org.thymeleaf.standard.expression.Expression
execute, execute, execute, getStringRepresentation, parse, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
left
-
right
-
-
Constructor Details
-
BinaryOperationExpression
-
-
Method Details
-
getLeft
-
getRight
-
getStringRepresentation
-
composeBinaryOperationExpression
protected static ExpressionParsingState composeBinaryOperationExpression(ExpressionParsingState state, int nodeIndex, String[] operators, boolean[] leniencies, Class<? extends BinaryOperationExpression>[] operationClasses, Method leftAllowedMethod, Method rightAllowedMethod) -
doComposeBinaryOperationExpression
private static ExpressionParsingState doComposeBinaryOperationExpression(ExpressionParsingState state, int nodeIndex, String operator, Class<? extends BinaryOperationExpression> operationClass, Method leftAllowedMethod, Method rightAllowedMethod, String input, int operatorPos)
-