MCPcopy Index your code
hub / github.com/apache/tomcat / ELInterpreter

Interface ELInterpreter

java/org/apache/jasper/compiler/ELInterpreter.java:26–44  ·  view source on GitHub ↗

Defines the interface for the expression language interpreter. This allows users to provide custom EL interpreter implementations that can optimise EL processing for an application by , for example, performing code generation for simple expressions.

Source from the content-addressed store, hash-verified

24 * simple expressions.
25 */
26public interface ELInterpreter {
27
28 /**
29 * Returns the string representing the code that will be inserted into the servlet generated for JSP. The default
30 * implementation creates a call to
31 * {@link org.apache.jasper.runtime.PageContextImpl#proprietaryEvaluate( String, Class, jakarta.servlet.jsp.PageContext, org.apache.jasper.runtime.ProtectedFunctionMapper)}
32 * but other implementations may produce more optimised code.
33 *
34 * @param context The compilation context
35 * @param isTagFile <code>true</code> if in a tag file rather than a JSP
36 * @param expression a String containing zero or more "${}" expressions
37 * @param expectedType the expected type of the interpreted result
38 * @param fnmapvar Variable pointing to a function map.
39 *
40 * @return a String representing a call to the EL interpreter.
41 */
42 String interpreterCall(JspCompilationContext context, boolean isTagFile, String expression, Class<?> expectedType,
43 String fnmapvar);
44}

Callers 4

interpreterCallMethod · 0.65
attributeValueMethod · 0.65
visitMethod · 0.65
evaluateAttributeMethod · 0.65

Implementers 5

ELInterpreterWrappertest/org/apache/jasper/optimizations/T
SimpleELInterpretertest/org/apache/jasper/compiler/TestEL
ELInterpreterTagSettersjava/org/apache/jasper/optimizations/E
DefaultELInterpreterjava/org/apache/jasper/compiler/ELInte
JspUtiljava/org/apache/jasper/compiler/JspUti

Calls

no outgoing calls

Tested by

no test coverage detected