Package org.fife.rsta.ac.js.ast
Class JavaScriptFunctionTypeDeclaration
- java.lang.Object
-
- org.fife.rsta.ac.js.ast.JavaScriptDeclaration
-
- org.fife.rsta.ac.js.ast.JavaScriptVariableDeclaration
-
- org.fife.rsta.ac.js.ast.JavaScriptFunctionTypeDeclaration
-
public class JavaScriptFunctionTypeDeclaration extends JavaScriptVariableDeclaration
-
-
Field Summary
Fields Modifier and Type Field Description private org.mozilla.javascript.ast.AstNodetypeNode-
Fields inherited from class org.fife.rsta.ac.js.ast.JavaScriptVariableDeclaration
provider, typeDec
-
-
Constructor Summary
Constructors Constructor Description JavaScriptFunctionTypeDeclaration(java.lang.String name, int offset, SourceCompletionProvider provider, CodeBlock block)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeDeclarationgetTypeDeclaration()voidsetTypeDeclaration(org.mozilla.javascript.ast.AstNode typeNode)Lookup TypeDeclaration from the RhinoAstNode-
Methods inherited from class org.fife.rsta.ac.js.ast.JavaScriptVariableDeclaration
getJavaScriptTypeName, resetVariableToOriginalType, setTypeDeclaration, setTypeDeclaration
-
Methods inherited from class org.fife.rsta.ac.js.ast.JavaScriptDeclaration
getCodeBlock, getEndOffset, getName, getOffset, getStartOffSet, getTypeDeclarationOptions, setEndOffset, setStartOffset, setTypeDeclarationOptions
-
-
-
-
Constructor Detail
-
JavaScriptFunctionTypeDeclaration
public JavaScriptFunctionTypeDeclaration(java.lang.String name, int offset, SourceCompletionProvider provider, CodeBlock block)
-
-
Method Detail
-
setTypeDeclaration
public void setTypeDeclaration(org.mozilla.javascript.ast.AstNode typeNode)
Description copied from class:JavaScriptVariableDeclarationLookup TypeDeclaration from the RhinoAstNode- Overrides:
setTypeDeclarationin classJavaScriptVariableDeclaration- Parameters:
typeNode- - Rhino AstNode linked to this variable
-
getTypeDeclaration
public TypeDeclaration getTypeDeclaration()
- Overrides:
getTypeDeclarationin classJavaScriptVariableDeclaration- Returns:
- TypeDeclaration for the variable
-
-