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
-
Field Summary
FieldsFields inherited from class org.fife.rsta.ac.js.ast.JavaScriptVariableDeclaration
provider, typeDec -
Constructor Summary
ConstructorsConstructorDescriptionJavaScriptFunctionTypeDeclaration(String name, int offset, SourceCompletionProvider provider, CodeBlock block) -
Method Summary
Modifier and TypeMethodDescriptionvoidsetTypeDeclaration(org.mozilla.javascript.ast.AstNode typeNode) Lookup TypeDeclaration from the RhinoAstNodeMethods inherited from class org.fife.rsta.ac.js.ast.JavaScriptVariableDeclaration
getJavaScriptTypeName, resetVariableToOriginalType, setTypeDeclaration, setTypeDeclarationMethods inherited from class org.fife.rsta.ac.js.ast.JavaScriptDeclaration
getCodeBlock, getEndOffset, getName, getOffset, getStartOffSet, getTypeDeclarationOptions, setEndOffset, setStartOffset, setTypeDeclarationOptions
-
Field Details
-
typeNode
private org.mozilla.javascript.ast.AstNode typeNode
-
-
Constructor Details
-
JavaScriptFunctionTypeDeclaration
public JavaScriptFunctionTypeDeclaration(String name, int offset, SourceCompletionProvider provider, CodeBlock block)
-
-
Method Details
-
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
- Overrides:
getTypeDeclarationin classJavaScriptVariableDeclaration- Returns:
- TypeDeclaration for the variable
-