org.eclipse.wst.jsdt.web.core.javascript
Interface IJsTranslator

All Known Implementing Classes:
JsTranslator

public interface IJsTranslator

Provisional API: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.


Method Summary
 Position[] getHtmlLocations()
           
 Position[] getImportHtmlRanges()
           
 java.lang.String getJsText()
           
 int getMissingEndTagRegionStart()
           
 java.lang.String[] getRawImports()
           
 void release()
          release any resources the translation is holding onto.
 void setBuffer(IBuffer buffer)
          sets the javascript unit buffer
 void translate()
          begin translating the document.
 void translateInlineJSNode(IStructuredDocumentRegion container)
          translates an inline (event="..") js container region and adds it to the document text.
 void translateJSNode(IStructuredDocumentRegion container)
          translates a script block.
 void translateScriptImportNode(IStructuredDocumentRegion region)
          translates a tag

getImportHtmlRanges

Position[] getImportHtmlRanges()
Returns:
position array of