Package org.fife.rsta.ac.js.ast
Class TypeDeclarationOptions
java.lang.Object
org.fife.rsta.ac.js.ast.TypeDeclarationOptions
Object 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 -
Constructor Summary
ConstructorsConstructorDescriptionTypeDeclarationOptions(String ownerScriptName, boolean supportsLinks, boolean preProcessing) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanvoidsetOwnerScriptName(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
-
Field Details
-
ownerScriptName
-
supportsLinks
private boolean supportsLinks -
preProcessing
private boolean preProcessing
-
-
Constructor Details
-
TypeDeclarationOptions
-
-
Method Details
-
getOwnerScriptName
- Returns:
- the owner script name
-
setOwnerScriptName
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
-