diff options
Diffstat (limited to 'bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/java/jspel/ELGenerator.java')
-rw-r--r-- | bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/java/jspel/ELGenerator.java | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/java/jspel/ELGenerator.java b/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/java/jspel/ELGenerator.java deleted file mode 100644 index 99a7bf985d..0000000000 --- a/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/java/jspel/ELGenerator.java +++ /dev/null @@ -1,56 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005, 2010 BEA Systems and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * BEA Systems - initial implementation - * - *******************************************************************************/ - -package org.eclipse.jst.jsp.core.internal.java.jspel; - -import java.util.List; -import java.util.Map; - -import org.eclipse.jst.jsp.core.jspel.ELProblem; -import org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocument; -import org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocumentRegion; -import org.eclipse.wst.sse.core.internal.provisional.text.ITextRegionCollection; - -/** - * The code checker for the jsf/jsp EL. - */ -public final class ELGenerator { - /** - * Constructor. - * - * @param locator A valid ELLocator instance, may not be null. - */ - public ELGenerator() { - } // constructor - - /** - * Check the netuiel AST and set diagnostics as necessary. - * - * @param root - * @param currentNode - * @param result - * @param codeMap - * @param document - * @param jspReferenceRegion - * @param contentStart - * @param contentLength - * @return a {@link List} of {@link ELProblem}s reported by the {@link ELGeneratorVisitor} this {@link ELGenerator} uses - */ - public List generate(ASTExpression root, IStructuredDocumentRegion currentNode, StringBuffer result, Map codeMap, IStructuredDocument document, ITextRegionCollection jspReferenceRegion, int contentStart, int contentLength) { - ELGeneratorVisitor visitor = new ELGeneratorVisitor(result, currentNode, codeMap, document, jspReferenceRegion, contentStart); - visitor.startFunctionDefinition(root.getFirstToken().beginColumn - 1); - root.jjtAccept(visitor, null); - visitor.endFunctionDefinition(root.getLastToken().endColumn - 1); - - return visitor.getELProblems(); - } -} |