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.
*/
pub fn getSymbol(self: MethodSignature) -> Symbol;

MethodSignature::getAnAncestorEnclosingFunction

/**
* Gets an ancestor enclosing function of it
*/
pub fn getAnAncestorEnclosingFunction(self: MethodSignature) -> *FunctionLikeDeclaration;

MethodSignature::getIndex

pub fn getIndex(self: MethodSignature) -> int;

MethodSignature::getParentOid

/**
* Gets the parent oid of this node.
*/
pub fn getParentOid(self: MethodSignature) -> int;

MethodSignature::getRelativePath

/**
* Gets the relative path of this node.
*/
pub fn getRelativePath(self: MethodSignature) -> string;

MethodSignature::getLastChild

/**
* Gets the last child of this node parent.
*/
pub fn getLastChild(self: MethodSignature) -> Node;

MethodSignature::getEndColumnNumber

pub fn getEndColumnNumber(self: MethodSignature) -> int;

MethodSignature::getParent

/**
* Gets the parent node of this node.
*/
pub fn getParent(self: MethodSignature) -> Node;

MethodSignature::getChildCount

/**
* Gets the number of child nodes.
*/
pub fn getChildCount(self: MethodSignature) -> int;

MethodSignature::getDecorator

/**
* Gets the `i`th decorator.
*/
pub fn getDecorator(self: MethodSignature, i: int) -> Decorator;

MethodSignature::getEndLineNumber

pub fn getEndLineNumber(self: MethodSignature) -> int;

MethodSignature::getATrailingComment

/**
* Gets the trailing comments of it
*/
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.
*/
pub fn getAnAncestorByLevel(self: MethodSignature, level: int) -> Node;

MethodSignature::getChild

/**
* Gets the `i`th child of this node.
*/
pub fn getChild(self: MethodSignature, i: int) -> Node;

MethodSignature::getRoot

/**
* Gets the root top-level of this node. 
*/
pub fn getRoot(self: MethodSignature) -> TopLevelDO;

MethodSignature::getAChild

/**
* Gets a child node of this node.
*/
pub fn getAChild(self: MethodSignature) -> *Node;

MethodSignature::getStartColumnNumber

pub fn getStartColumnNumber(self: MethodSignature) -> int;

MethodSignature::getStartLineNumber

pub fn getStartLineNumber(self: MethodSignature) -> int;

MethodSignature::__all__

Data constraint method.

pub fn __all__(db: JavascriptDB) -> *MethodSignature;

MethodSignature::getLocation

/**
* Gets the location of this node.
*/
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.
*/
pub fn getADescendantByLevel(self: MethodSignature, level: int) -> *Node;

MethodSignature::getKind

/**
* Get the syntax kind of this node
*/
pub fn getKind(self: MethodSignature) -> int;

MethodSignature::getAModifier

/**
* Gets a modifier.
*/
pub fn getAModifier(self: MethodSignature) -> *Modifier;

MethodSignature::getAnAncestor

/**
* Gets an ancestor of this node. 
*/
pub fn getAnAncestor(self: MethodSignature) -> *Node;

MethodSignature::getEnclosingFunction

/**
* Gets the enclosing function of it
*/
pub fn getEnclosingFunction(self: MethodSignature) -> FunctionLikeDeclaration;

MethodSignature::getADescendant

/**
* Gets a descendant of this node. 
*/
pub fn getADescendant(self: MethodSignature) -> *Node;

MethodSignature::getALeadingComment

/**
* Gets the leading comments of it
*/
pub fn getALeadingComment(self: MethodSignature) -> *Comment;

MethodSignature::getFile

/**
* Gets the file of this node.
*/
pub fn getFile(self: MethodSignature) -> File;

MethodSignature::getModifier

/**
* Gets the `i`th modifier.
*/
pub fn getModifier(self: MethodSignature, i: int) -> Modifier;

MethodSignature::getText

/**
* Gets the text of this node.
*/
pub fn getText(self: MethodSignature) -> string;

MethodSignature::getAComment

/**
* Gets the comments related to it
*/
pub fn getAComment(self: MethodSignature) -> *Comment;

MethodSignature::getADecorator

/**
* Gets a decorator.
*/
pub fn getADecorator(self: MethodSignature) -> *Decorator;