Interface FormattableOperator
- All Known Implementing Classes:
ZenScriptOperator
public interface FormattableOperator
-
Method Summary
Modifier and TypeMethodDescriptionintOperator priority: if priority of the inner operation is lower, it should be wrapped in parenthesis.static booleanshouldWrapLeft(FormattableOperator inner, FormattableOperator outer) static booleanshouldWrapRight(FormattableOperator inner, FormattableOperator outer)
-
Method Details
-
getPriority
int getPriority()Operator priority: if priority of the inner operation is lower, it should be wrapped in parenthesis.- Returns:
-
getOperatorString
String getOperatorString()