MCPcopy Create free account
hub / github.com/apache/tomcat / Unary

Method Unary

java/org/apache/el/parser/ELParser.java:1535–1747  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1533 * Unary For '-' '!' 'not' 'empty', then Value
1534 */
1535 final public void Unary() throws ParseException {
1536 switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
1537 case MINUS: {
1538 jj_consume_token(MINUS);
1539 AstNegative jjtn001 = new AstNegative(JJTNEGATIVE);
1540 boolean jjtc001 = true;
1541 jjtree.openNodeScope(jjtn001);
1542 try {
1543 Unary();
1544 } catch (Throwable jjte001) {
1545 if (jjtc001) {
1546 jjtree.clearNodeScope(jjtn001);
1547 jjtc001 = false;
1548 } else {
1549 jjtree.popNode();
1550 }
1551 if (jjte001 instanceof RuntimeException) {
1552 {
1553 if (true) {
1554 throw (RuntimeException) jjte001;
1555 }
1556 }
1557 }
1558 if (jjte001 instanceof ParseException) {
1559 {
1560 if (true) {
1561 throw (ParseException) jjte001;
1562 }
1563 }
1564 }
1565 {
1566 if (true) {
1567 throw (Error) jjte001;
1568 }
1569 }
1570 } finally {
1571 if (jjtc001) {
1572 jjtree.closeNodeScope(jjtn001, true);
1573 }
1574 }
1575 break;
1576 }
1577 default:
1578 jj_la1[35] = jj_gen;
1579 if (jj_2_6(2)) {
1580 switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
1581 case NOT0: {
1582 jj_consume_token(NOT0);
1583 break;
1584 }
1585 case NOT1: {
1586 jj_consume_token(NOT1);
1587 break;
1588 }
1589 default:
1590 jj_la1[33] = jj_gen;
1591 jj_consume_token(-1);
1592 throw new ParseException();

Callers 1

MultiplicationMethod · 0.95

Calls 8

jj_ntk_fMethod · 0.95
jj_consume_tokenMethod · 0.95
jj_2_6Method · 0.95
ValueMethod · 0.95
openNodeScopeMethod · 0.80
clearNodeScopeMethod · 0.80
popNodeMethod · 0.80
closeNodeScopeMethod · 0.80

Tested by

no test coverage detected