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

Method BlockStatement

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

Source from the content-addressed store, hash-verified

2882 }
2883
2884 final public void BlockStatement() throws ParseException {
2885 if (jj_2_24(2147483647)) {
2886 ClassDeclaration();
2887 } else if (jj_2_25(2147483647)) {
2888 MethodDeclaration();
2889 } else if (jj_2_26(2147483647)) {
2890 MethodDeclaration();
2891 } else if (jj_2_27(2147483647)) {
2892 TypedVariableDeclaration();
2893 jj_consume_token(SEMICOLON);
2894 } else if (jj_2_28(1)) {
2895 Statement();
2896 } else {
2897 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
2898 case IMPORT:
2899 case STATIC:
2900 ImportDeclaration();
2901 break;
2902 case PACKAGE:
2903 PackageDeclaration();
2904 break;
2905 case FORMAL_COMMENT:
2906 FormalComment();
2907 break;
2908 default:
2909 jj_la1[75] = jj_gen;
2910 jj_consume_token(-1);
2911 throw new ParseException();
2912 }
2913 }
2914 }
2915
2916 final public void FormalComment() throws ParseException {
2917 /*@bgen(jjtree) #FormalComment( retainComments) */

Callers 3

LineMethod · 0.95
BlockMethod · 0.95
SwitchStatementMethod · 0.95

Calls 14

jj_2_24Method · 0.95
ClassDeclarationMethod · 0.95
jj_2_25Method · 0.95
MethodDeclarationMethod · 0.95
jj_2_26Method · 0.95
jj_2_27Method · 0.95
jj_consume_tokenMethod · 0.95
jj_2_28Method · 0.95
StatementMethod · 0.95
jj_ntkMethod · 0.95
ImportDeclarationMethod · 0.95

Tested by

no test coverage detected