/** * Puts the label name into a parenthesis if the given operator will have a higher precedence. */ static String paren(LabelOperatorPrecedence op, Label l) { if (op.compareTo(l.precedence())<0) return '('+l.getExpression()+')'; return l.getExpression(); }
/** * Puts the label name into a parenthesis if the given operator will have a higher precedence. */ static String paren(LabelOperatorPrecedence op, Label l) { if (op.compareTo(l.precedence())<0) return '('+l.getExpression()+')'; return l.getExpression(); }
/** * Puts the label name into a parenthesis if the given operator will have a higher precedence. */ static String paren(LabelOperatorPrecedence op, Label l) { if (op.compareTo(l.precedence())<0) return '('+l.getExpression()+')'; return l.getExpression(); }
/** * Puts the label name into a parenthesis if the given operator will have a higher precedence. */ static String paren(LabelOperatorPrecedence op, Label l) { if (op.compareTo(l.precedence())<0) return '('+l.getExpression()+')'; return l.getExpression(); }
/** * Puts the label name into a parenthesis if the given operator will have a * higher precedence. */ static String paren(LabelOperatorPrecedence op, Label l) { if (op.compareTo(l.precedence()) < 0) { return '(' + l.getExpression() + ')'; } return l.getExpression(); }
/** * Puts the label name into a parenthesis if the given operator will have a higher precedence. */ static String paren(LabelOperatorPrecedence op, Label l) { if (op.compareTo(l.precedence())<0) return '('+l.getExpression()+')'; return l.getExpression(); }