MCPcopy Index your code
hub / github.com/beanshell/beanshell / FormalParameters

Method FormalParameters

src/bsh/Parser.java:729–788  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

727 }
728
729 final public void FormalParameters() throws ParseException {
730 /*@bgen(jjtree) FormalParameters */
731 BSHFormalParameters jjtn000 = new BSHFormalParameters(JJTFORMALPARAMETERS);
732 boolean jjtc000 = true;
733 jjtree.openNodeScope(jjtn000);
734 jjtreeOpenNodeScope(jjtn000);
735 try {
736 jj_consume_token(LPAREN);
737 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
738 case BOOLEAN:
739 case BYTE:
740 case CHAR:
741 case DOUBLE:
742 case FINAL:
743 case FLOAT:
744 case INT:
745 case LONG:
746 case SHORT:
747 case IDENTIFIER:
748 FormalParameter();
749 label_3:
750 while (true) {
751 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
752 case COMMA:
753 ;
754 break;
755 default:
756 jj_la1[16] = jj_gen;
757 break label_3;
758 }
759 jj_consume_token(COMMA);
760 FormalParameter();
761 }
762 break;
763 default:
764 jj_la1[17] = jj_gen;
765 ;
766 }
767 jj_consume_token(RPAREN);
768 } catch (Throwable jjte000) {
769 if (jjtc000) {
770 jjtree.clearNodeScope(jjtn000);
771 jjtc000 = false;
772 } else {
773 jjtree.popNode();
774 }
775 if (jjte000 instanceof RuntimeException) {
776 {if (true) throw (RuntimeException)jjte000;}
777 }
778 if (jjte000 instanceof ParseException) {
779 {if (true) throw (ParseException)jjte000;}
780 }
781 {if (true) throw (Error)jjte000;}
782 } finally {
783 if (jjtc000) {
784 jjtree.closeNodeScope(jjtn000, true);
785 jjtreeCloseNodeScope(jjtn000);
786 }

Callers 1

MethodDeclarationMethod · 0.95

Calls 9

jjtreeOpenNodeScopeMethod · 0.95
jj_consume_tokenMethod · 0.95
jj_ntkMethod · 0.95
FormalParameterMethod · 0.95
jjtreeCloseNodeScopeMethod · 0.95
openNodeScopeMethod · 0.80
clearNodeScopeMethod · 0.80
closeNodeScopeMethod · 0.80
popNodeMethod · 0.45

Tested by

no test coverage detected