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

Method DynamicExpression

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

Source from the content-addressed store, hash-verified

177 * DynamicExpression ${...} Expressions
178 */
179 final public void DynamicExpression() throws ParseException {/* @bgen(jjtree) DynamicExpression */
180 AstDynamicExpression jjtn000 = new AstDynamicExpression(JJTDYNAMICEXPRESSION);
181 boolean jjtc000 = true;
182 jjtree.openNodeScope(jjtn000);
183 try {
184 jj_consume_token(START_DYNAMIC_EXPRESSION);
185 Expression();
186 jj_consume_token(RBRACE);
187 } catch (Throwable jjte000) {
188 if (jjtc000) {
189 jjtree.clearNodeScope(jjtn000);
190 jjtc000 = false;
191 } else {
192 jjtree.popNode();
193 }
194 if (jjte000 instanceof RuntimeException) {
195 {
196 if (true) {
197 throw (RuntimeException) jjte000;
198 }
199 }
200 }
201 if (jjte000 instanceof ParseException) {
202 {
203 if (true) {
204 throw (ParseException) jjte000;
205 }
206 }
207 }
208 {
209 if (true) {
210 throw (Error) jjte000;
211 }
212 }
213 } finally {
214 if (jjtc000) {
215 jjtree.closeNodeScope(jjtn000, true);
216 }
217 }
218 }
219
220 /*
221 * Expression EL Expression Language Root

Callers 1

CompositeExpressionMethod · 0.95

Calls 6

jj_consume_tokenMethod · 0.95
ExpressionMethod · 0.95
openNodeScopeMethod · 0.80
clearNodeScopeMethod · 0.80
popNodeMethod · 0.80
closeNodeScopeMethod · 0.80

Tested by

no test coverage detected