MethodSignature
/**
* A method signature.
*/
Inherit from TypeElement
Primary key: id: int
schema MethodSignature extends TypeElement {
@primary id: int
}
MethodSignature::getSymbol
/**
* Gets the symbol associated with this node.
*/
- Parameter
self
:MethodSignature
- Return
Symbol
pub fn getSymbol(self: MethodSignature) -> Symbol;
MethodSignature::getAnAncestorEnclosingFunction
/**
* Gets an ancestor enclosing function of it
*/
- Parameter
self
:MethodSignature
- Return
*FunctionLikeDeclaration
pub fn getAnAncestorEnclosingFunction(self: MethodSignature) -> *FunctionLikeDeclaration;
MethodSignature::getIndex
- Parameter
self
:MethodSignature
- Return
int
pub fn getIndex(self: MethodSignature) -> int;
MethodSignature::getParentOid
/**
* Gets the parent oid of this node.
*/
- Parameter
self
:MethodSignature
- Return
int
pub fn getParentOid(self: MethodSignature) -> int;
MethodSignature::getRelativePath
/**
* Gets the relative path of this node.
*/
- Parameter
self
:MethodSignature
- Return
string
pub fn getRelativePath(self: MethodSignature) -> string;
MethodSignature::getLastChild
/**
* Gets the last child of this node parent.
*/
- Parameter
self
:MethodSignature
- Return
Node
pub fn getLastChild(self: MethodSignature) -> Node;
MethodSignature::getEndColumnNumber
- Parameter
self
:MethodSignature
- Return
int
pub fn getEndColumnNumber(self: MethodSignature) -> int;
MethodSignature::getParent
/**
* Gets the parent node of this node.
*/
- Parameter
self
:MethodSignature
- Return
Node
pub fn getParent(self: MethodSignature) -> Node;
MethodSignature::getChildCount
/**
* Gets the number of child nodes.
*/
- Parameter
self
:MethodSignature
- Return
int
pub fn getChildCount(self: MethodSignature) -> int;
MethodSignature::getDecorator
/**
* Gets the `i`th decorator.
*/
- Parameter
self
:MethodSignature
- Parameter
i
:int
- Return
Decorator
pub fn getDecorator(self: MethodSignature, i: int) -> Decorator;
MethodSignature::getEndLineNumber
- Parameter
self
:MethodSignature
- Return
int
pub fn getEndLineNumber(self: MethodSignature) -> int;
MethodSignature::getATrailingComment
/**
* Gets the trailing comments of it
*/
- Parameter
self
:MethodSignature
- Return
*Comment
pub fn getATrailingComment(self: MethodSignature) -> *Comment;
MethodSignature::getAnAncestorByLevel
/**
* Gets an ancestor of this node by the level of the hierarchy.
*
* @param level: the number of levels to go up in the hierarchy.
*/
- Parameter
self
:MethodSignature
- Parameter
level
:int
- Return
Node
pub fn getAnAncestorByLevel(self: MethodSignature, level: int) -> Node;
MethodSignature::getChild
/**
* Gets the `i`th child of this node.
*/
- Parameter
self
:MethodSignature
- Parameter
i
:int
- Return
Node
pub fn getChild(self: MethodSignature, i: int) -> Node;
MethodSignature::getRoot
/**
* Gets the root top-level of this node.
*/
- Parameter
self
:MethodSignature
- Return
TopLevelDO
pub fn getRoot(self: MethodSignature) -> TopLevelDO;
MethodSignature::getAChild
/**
* Gets a child node of this node.
*/
- Parameter
self
:MethodSignature
- Return
*Node
pub fn getAChild(self: MethodSignature) -> *Node;
MethodSignature::getStartColumnNumber
- Parameter
self
:MethodSignature
- Return
int
pub fn getStartColumnNumber(self: MethodSignature) -> int;
MethodSignature::getStartLineNumber
- Parameter
self
:MethodSignature
- Return
int
pub fn getStartLineNumber(self: MethodSignature) -> int;
MethodSignature::__all__
Data constraint method.
- Parameter
db
:JavascriptDB
- Return
*MethodSignature
pub fn __all__(db: JavascriptDB) -> *MethodSignature;
MethodSignature::getLocation
/**
* Gets the location of this node.
*/
- Parameter
self
:MethodSignature
- Return
Location
pub fn getLocation(self: MethodSignature) -> Location;
MethodSignature::getADescendantByLevel
/**
* Gets a descendant of this node by the level of the hierarchy.
*
* @param level: the number of levels to go up in the hierarchy.
*/
- Parameter
self
:MethodSignature
- Parameter
level
:int
- Return
*Node
pub fn getADescendantByLevel(self: MethodSignature, level: int) -> *Node;
MethodSignature::getKind
/**
* Get the syntax kind of this node
*/
- Parameter
self
:MethodSignature
- Return
int
pub fn getKind(self: MethodSignature) -> int;
MethodSignature::getAModifier
/**
* Gets a modifier.
*/
- Parameter
self
:MethodSignature
- Return
*Modifier
pub fn getAModifier(self: MethodSignature) -> *Modifier;
MethodSignature::getAnAncestor
/**
* Gets an ancestor of this node.
*/
- Parameter
self
:MethodSignature
- Return
*Node
pub fn getAnAncestor(self: MethodSignature) -> *Node;
MethodSignature::getEnclosingFunction
/**
* Gets the enclosing function of it
*/
- Parameter
self
:MethodSignature
- Return
FunctionLikeDeclaration
pub fn getEnclosingFunction(self: MethodSignature) -> FunctionLikeDeclaration;
MethodSignature::getADescendant
/**
* Gets a descendant of this node.
*/
- Parameter
self
:MethodSignature
- Return
*Node
pub fn getADescendant(self: MethodSignature) -> *Node;
MethodSignature::getALeadingComment
/**
* Gets the leading comments of it
*/
- Parameter
self
:MethodSignature
- Return
*Comment
pub fn getALeadingComment(self: MethodSignature) -> *Comment;
MethodSignature::getFile
/**
* Gets the file of this node.
*/
- Parameter
self
:MethodSignature
- Return
File
pub fn getFile(self: MethodSignature) -> File;
MethodSignature::getModifier
/**
* Gets the `i`th modifier.
*/
- Parameter
self
:MethodSignature
- Parameter
i
:int
- Return
Modifier
pub fn getModifier(self: MethodSignature, i: int) -> Modifier;
MethodSignature::getText
/**
* Gets the text of this node.
*/
- Parameter
self
:MethodSignature
- Return
string
pub fn getText(self: MethodSignature) -> string;
MethodSignature::getAComment
/**
* Gets the comments related to it
*/
- Parameter
self
:MethodSignature
- Return
*Comment
pub fn getAComment(self: MethodSignature) -> *Comment;
MethodSignature::getADecorator
/**
* Gets a decorator.
*/
- Parameter
self
:MethodSignature
- Return
*Decorator
pub fn getADecorator(self: MethodSignature) -> *Decorator;