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

Method Block

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

Source from the content-addressed store, hash-verified

2842 }
2843
2844 final public void Block() throws ParseException {
2845 /*@bgen(jjtree) Block */
2846 BSHBlock jjtn000 = new BSHBlock(JJTBLOCK);
2847 boolean jjtc000 = true;
2848 jjtree.openNodeScope(jjtn000);
2849 jjtreeOpenNodeScope(jjtn000);
2850 try {
2851 jj_consume_token(LBRACE);
2852 label_22:
2853 while (true) {
2854 if (jj_2_23(1)) {
2855 ;
2856 } else {
2857 break label_22;
2858 }
2859 BlockStatement();
2860 }
2861 jj_consume_token(RBRACE);
2862 } catch (Throwable jjte000) {
2863 if (jjtc000) {
2864 jjtree.clearNodeScope(jjtn000);
2865 jjtc000 = false;
2866 } else {
2867 jjtree.popNode();
2868 }
2869 if (jjte000 instanceof RuntimeException) {
2870 {if (true) throw (RuntimeException)jjte000;}
2871 }
2872 if (jjte000 instanceof ParseException) {
2873 {if (true) throw (ParseException)jjte000;}
2874 }
2875 {if (true) throw (Error)jjte000;}
2876 } finally {
2877 if (jjtc000) {
2878 jjtree.closeNodeScope(jjtn000, true);
2879 jjtreeCloseNodeScope(jjtn000);
2880 }
2881 }
2882 }
2883
2884 final public void BlockStatement() throws ParseException {
2885 if (jj_2_24(2147483647)) {

Callers 6

ClassDeclarationMethod · 0.95
MethodDeclarationMethod · 0.95
AllocationExpressionMethod · 0.95
StatementMethod · 0.95
SynchronizedStatementMethod · 0.95
TryStatementMethod · 0.95

Calls 9

jjtreeOpenNodeScopeMethod · 0.95
jj_consume_tokenMethod · 0.95
jj_2_23Method · 0.95
BlockStatementMethod · 0.95
jjtreeCloseNodeScopeMethod · 0.95
openNodeScopeMethod · 0.80
clearNodeScopeMethod · 0.80
closeNodeScopeMethod · 0.80
popNodeMethod · 0.45

Tested by

no test coverage detected