Class DomLessSourceExtractor.HtmlCallback
java.lang.Object
com.ibm.wala.cast.js.html.DomLessSourceExtractor.HtmlCallback
- All Implemented Interfaces:
DomLessSourceExtractor.IGeneratorCallback
,IHtmlCallback
- Direct Known Subclasses:
DefaultSourceExtractor.HtmlCallBack
- Enclosing class:
DomLessSourceExtractor
protected static class DomLessSourceExtractor.HtmlCallback
extends Object
implements DomLessSourceExtractor.IGeneratorCallback
-
Field Summary
Modifier and TypeFieldDescriptionstatic final boolean
protected final SourceRegion
protected final SourceRegion
protected final URL
protected final SourceRegion
protected final IUrlResolver
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected String
getScriptName
(URL url) protected void
Model the HTML DOMprotected void
void
handleEndTag
(ITag tag) protected void
handleScript
(ITag tag) void
handleStartTag
(ITag tag) void
protected CAstSourcePositionMap.Position
protected void
protected void
writeEntrypoint
(String text, CAstSourcePositionMap.Position pos, URL url, boolean b) protected void
writeEventLoopHeader
(SourceRegion finalRegion) void
writeToFinalRegion
(SourceRegion finalRegion)
-
Field Details
-
DEBUG
public static final boolean DEBUG- See Also:
-
entrypointUrl
-
urlResolver
-
scriptRegion
-
domRegion
-
entrypointRegion
-
-
Constructor Details
-
HtmlCallback
-
-
Method Details
-
writeEntrypoint
-
addDefaultHandlerInvocations
protected void addDefaultHandlerInvocations() -
makePos
-
handleEndTag
- Specified by:
handleEndTag
in interfaceIHtmlCallback
-
handleText
- Specified by:
handleText
in interfaceIHtmlCallback
-
handleStartTag
- Specified by:
handleStartTag
in interfaceIHtmlCallback
-
handleDOM
-
handleDOM
-
writeEntrypoint
-
quotify
-
handleScript
-
getScriptName
-
writeEventLoopHeader
-
writeToFinalRegion
- Specified by:
writeToFinalRegion
in interfaceDomLessSourceExtractor.IGeneratorCallback
-