Class DomLessSourceExtractor.HtmlCallback

    • Constructor Detail

      • HtmlCallback

        public HtmlCallback​(java.net.URL entrypointUrl,
                            IUrlResolver urlResolver)
    • Method Detail

      • writeEntrypoint

        protected void writeEntrypoint​(java.lang.String ep)
      • addDefaultHandlerInvocations

        protected void addDefaultHandlerInvocations()
      • makePos

        protected com.ibm.wala.cast.tree.CAstSourcePositionMap.Position makePos​(ITag governingTag)
      • handleText

        public void handleText​(com.ibm.wala.cast.tree.CAstSourcePositionMap.Position p,
                               java.lang.String text)
        Specified by:
        handleText in interface IHtmlCallback
      • handleDOM

        protected void handleDOM​(ITag tag)
        Model the HTML DOM
        Parameters:
        tag - - the HTML tag to module
      • handleDOM

        protected void handleDOM​(ITag tag,
                                 java.lang.String funcName)
      • writeEntrypoint

        protected void writeEntrypoint​(java.lang.String text,
                                       com.ibm.wala.cast.tree.CAstSourcePositionMap.Position pos,
                                       java.net.URL url,
                                       boolean b)
      • quotify

        protected static com.ibm.wala.util.collections.Pair<java.lang.String,​java.lang.Character> quotify​(java.lang.String value)
      • handleScript

        protected void handleScript​(ITag tag)
      • getScriptName

        protected java.lang.String getScriptName​(java.net.URL url)
      • writeEventLoopHeader

        protected void writeEventLoopHeader​(SourceRegion finalRegion)