Package org.fife.rsta.ac.js.ast
Class TypeDeclarationOptions
- java.lang.Object
-
- org.fife.rsta.ac.js.ast.TypeDeclarationOptions
-
public class TypeDeclarationOptions extends java.lang.ObjectObject that represents options associated with JavaScriptDeclaration. These can be used to ask questions:- Which script the JavaScriptDeclaration belongs to.
- Whether the JavaScriptDeclaration supports searchable hyperlinks
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringownerScriptNameprivate booleanpreProcessingprivate booleansupportsLinks
-
Constructor Summary
Constructors Constructor Description TypeDeclarationOptions(java.lang.String ownerScriptName, boolean supportsLinks, boolean preProcessing)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetOwnerScriptName()booleanisPreProcessing()booleanisSupportsLinks()voidsetOwnerScriptName(java.lang.String ownerScriptName)set the owner script namevoidsetPreProcessing(boolean preProcessing)set whether the type declaration has been created from a pre-processed scriptvoidsetSupportsLinks(boolean supportsLinks)set whether the type declaration supports hyperlinks
-
-
-
Method Detail
-
getOwnerScriptName
public java.lang.String getOwnerScriptName()
- Returns:
- the owner script name
-
setOwnerScriptName
public void setOwnerScriptName(java.lang.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
-
-