public class IEWeirdSyntaxScriptPreProcessor extends Object implements ScriptPreProcessor
catch
or
before finally
in a try-catch-finally block.Constructor and Description |
---|
IEWeirdSyntaxScriptPreProcessor() |
Modifier and Type | Method and Description |
---|---|
static IEWeirdSyntaxScriptPreProcessor |
getInstance()
Gets an instance of the pre processor.
|
String |
preProcess(HtmlPage htmlPage,
String sourceCode,
String sourceName,
int lineNumber,
HtmlElement htmlElement)
Pre process the specified source code in the context of the given page.
|
public static IEWeirdSyntaxScriptPreProcessor getInstance()
public String preProcess(HtmlPage htmlPage, String sourceCode, String sourceName, int lineNumber, HtmlElement htmlElement)
preProcess
in interface ScriptPreProcessor
htmlPage
- the pagesourceCode
- the code to executesourceName
- a name for the chunk of code that is going to be executed (used in error messages)lineNumber
- the line number of the source codehtmlElement
- the HTML element that will act as the contextCopyright © 2002–2015 Gargoyle Software Inc.. All rights reserved.