bundles/org.apache.jasper.glassfish/src/org/apache/jasper/compiler/ELFunctionMapper.java
public static void map(Compiler compiler, Node.Nodes page) 
		throws JasperException {

	ELFunctionMapper map = new ELFunctionMapper();
	map.ds = new StringBuilder();
	map.ss = new StringBuilder();

	page.visit(map.new ELFunctionVisitor());

	// Append the declarations to the root node
	String ds = map.ds.toString();
	if (ds.length() > 0) {
	    Node root = page.getRoot();
	    new Node.Declaration(map.ss.toString(), null, root);
	    new Node.Declaration("static {\n" + ds + "}\n", null, root);
	}
    }
public static void map(Compiler compiler, Node.Nodes page) 
		throws JasperException {

	ELFunctionMapper map = new ELFunctionMapper();
	map.ds = new StringBuilder();
	map.ss = new StringBuilder();

	page.visit(map.new ELFunctionVisitor());

	// Append the declarations to the root node
	String ds = map.ds.toString();
	if (ds.length() > 0) {
	    Node root = page.getRoot();
	    new Node.Declaration(map.ss.toString(), null, root);
	    new Node.Declaration("static {\n" + ds + "}\n", null, root);
	}
    }
public static void map ( Compiler compiler , Node . Nodes page ) throws JasperException { ELFunctionMapper map = new ELFunctionMapper ( ) ; map . ds = new StringBuilder ( ) ; map . ss = new StringBuilder ( ) ; page . visit ( map . new ELFunctionVisitor ( ) ) ; // Append the declarations to the root node String ds = map . ds . toString ( ) ; if ( ds . length ( ) > 0 ) { Node root = page . getRoot ( ) ; new Node . Declaration ( map . ss . toString ( ) , null , root ) ; new Node . Declaration ( "static {\n" + ds + "}\n" , null , root ) ; } }
Creates the functions mappers for all EL expressions in the JSP page.

@param compiler Current compiler, mainly for accessing error dispatcher.
@param page The current compilation unit.
Creates the functions mappers for all EL expressions in the JSP page .