Class TypeDeclarationOptions

java.lang.Object
org.fife.rsta.ac.js.ast.TypeDeclarationOptions

public class TypeDeclarationOptions extends Object
Object that represents options associated with JavaScriptDeclaration. These can be used to ask questions:
  1. Which script the JavaScriptDeclaration belongs to.
  2. Whether the JavaScriptDeclaration supports searchable hyperlinks
  • Field Details

    • ownerScriptName

      private String ownerScriptName
    • preProcessing

      private boolean preProcessing
  • Constructor Details

    • TypeDeclarationOptions

      public TypeDeclarationOptions(String ownerScriptName, boolean supportsLinks, boolean preProcessing)
  • Method Details

    • getOwnerScriptName

      public String getOwnerScriptName()
      Returns:
      the owner script name
    • setOwnerScriptName

      public void setOwnerScriptName(String ownerScriptName)
      set the owner script name
    • isSupportsLinks

      public boolean isSupportsLinks()
      Returns:
      whether the type declaration supports hyperlinks
    • setSupportsLinks

      public void setSupportsLinks(boolean supportsLinks)
      set whether the type declaration supports hyperlinks
    • isPreProcessing

      public boolean isPreProcessing()
      Returns:
      whether the type declaration has been created from a pre-processed script
    • setPreProcessing

      public void setPreProcessing(boolean preProcessing)
      set whether the type declaration has been created from a pre-processed script