public abstract class JavaScriptDeclaration
extends java.lang.Object
| Constructor and Description |
|---|
JavaScriptDeclaration(java.lang.String name,
int offset,
CodeBlock block) |
| Modifier and Type | Method and Description |
|---|---|
CodeBlock |
getCodeBlock() |
int |
getEndOffset()
Gets the end offset of this declaration.
|
java.lang.String |
getName() |
int |
getOffset() |
int |
getStartOffSet()
Gets the start offset of this declaration.
|
TypeDeclarationOptions |
getTypeDeclarationOptions() |
void |
setEndOffset(int end)
Sets the end offset of this declaration.
|
void |
setStartOffset(int start)
Sets the start offset of this declaration.
|
void |
setTypeDeclarationOptions(TypeDeclarationOptions options)
Set the JavaScript options associated with this declaration
These are used to defined whether options are available to
|
public JavaScriptDeclaration(java.lang.String name,
int offset,
CodeBlock block)
public java.lang.String getName()
public int getOffset()
public int getEndOffset()
public void setEndOffset(int end)
end - the end offset.getEndOffset()public void setStartOffset(int start)
start - the start offsetgetStartOffSet()public int getStartOffSet()
public CodeBlock getCodeBlock()
public void setTypeDeclarationOptions(TypeDeclarationOptions options)
options - public TypeDeclarationOptions getTypeDeclarationOptions()