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

Method Or

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

Source from the content-addressed store, hash-verified

651 * Or For 'or' '||', then And
652 */
653 final public void Or() throws ParseException {
654 And();
655 switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
656 case OR0:
657 case OR1: {
658 AstOr jjtn001 = new AstOr(JJTOR);
659 boolean jjtc001 = true;
660 jjtree.openNodeScope(jjtn001);
661 try {
662 label_7:
663 while (true) {
664 switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
665 case OR0: {
666 jj_consume_token(OR0);
667 break;
668 }
669 case OR1: {
670 jj_consume_token(OR1);
671 break;
672 }
673 default:
674 jj_la1[10] = jj_gen;
675 jj_consume_token(-1);
676 throw new ParseException();
677 }
678 And();
679 switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
680 case OR0:
681 case OR1: {
682 ;
683 break;
684 }
685 default:
686 jj_la1[11] = jj_gen;
687 break label_7;
688 }
689 }
690 } catch (Throwable jjte001) {
691 if (jjtc001) {
692 jjtree.clearNodeScope(jjtn001);
693 jjtc001 = false;
694 } else {
695 jjtree.popNode();
696 }
697 if (jjte001 instanceof RuntimeException) {
698 {
699 if (true) {
700 throw (RuntimeException) jjte001;
701 }
702 }
703 }
704 if (jjte001 instanceof ParseException) {
705 {
706 if (true) {
707 throw (ParseException) jjte001;
708 }
709 }
710 }

Callers 1

ChoiceMethod · 0.95

Calls 8

AndMethod · 0.95
jj_ntk_fMethod · 0.95
jj_consume_tokenMethod · 0.95
openNodeScopeMethod · 0.80
clearNodeScopeMethod · 0.80
popNodeMethod · 0.80
closeNodeScopeMethod · 0.80
nodeArityMethod · 0.80

Tested by

no test coverage detected