Function
Inherit from Node
Primary key: id: int
schema Function extends Node {
@primary id: int
}
Function::getLocation
pub fn getLocation(self: Function) -> Location;
Function::getAnAncestorForIndex
pub fn getAnAncestorForIndex(self: Function, index: int) -> Node;
Function::isRootNode
- Parameter
self
:Function
- Return
bool
pub fn isRootNode(self: Function) -> bool;
Function::hasLocation
- Parameter
self
:Function
- Return
bool
pub fn hasLocation(self: Function) -> bool;
Function::getDepthFromRoot
- Parameter
self
:Function
- Return
int
pub fn getDepthFromRoot(self: Function) -> int;
Function::getBelongsFile
pub fn getBelongsFile(self: Function) -> File;
Function::getAchildNode
pub fn getAchildNode(self: Function) -> *Node;
Function::getParentNode
pub fn getParentNode(self: Function) -> Node;
Function::getAssociatedCommentString
- Parameter
self
:Function
- Return
string
pub fn getAssociatedCommentString(self: Function) -> string;
Function::getTextSize
- Parameter
self
:Function
- Return
int
pub fn getTextSize(self: Function) -> int;
Function::getChildCount
- Parameter
self
:Function
- Return
int
pub fn getChildCount(self: Function) -> int;
Function::getTextStartOffset
- Parameter
self
:Function
- Return
int
pub fn getTextStartOffset(self: Function) -> int;
Function::getType
- Parameter
self
:Function
- Return
string
pub fn getType(self: Function) -> string;
Function::print
- Parameter
self
:Function
- Return
*string
pub fn print(self: Function) -> *string;
Function::countAssociatedComment
- Parameter
self
:Function
- Return
int
pub fn countAssociatedComment(self: Function) -> int;
Function::getName
- Parameter
self
:Function
- Return
string
pub fn getName(self: Function) -> string;
Function::getResultsField
- Parameter
self
:Function
- Return
*string
pub fn getResultsField(self: Function) -> *string;
Function::getFunctionSignature
- Parameter
self
:Function
- Return
string
pub fn getFunctionSignature(self: Function) -> string;
Function::getAssociatedComment
- Parameter
self
:Function
- Return
string
pub fn getAssociatedComment(self: Function) -> string;
Function::getAnAncestor
pub fn getAnAncestor(self: Function) -> *Node;
Function::isCommented
- Parameter
self
:Function
- Return
bool
pub fn isCommented(self: Function) -> bool;
Function::getBelongsFunction
pub fn getBelongsFunction(self: Function) -> Function;
Function::getText
// getText Extract the text associated with a specific node in a file
- Parameter
self
:Function
- Return
string
pub fn getText(self: Function) -> string;
Function::getCommentCnt
- Parameter
self
:Function
- Return
int
pub fn getCommentCnt(self: Function) -> int;
Function::isPublicFunction
- Parameter
self
:Function
- Return
bool
pub fn isPublicFunction(self: Function) -> bool;
Function::getAResult
pub fn getAResult(self: Function) -> *Node;
Function::getParamsField
- Parameter
self
:Function
- Return
*string
pub fn getParamsField(self: Function) -> *string;
Function::getAParameter
pub fn getAParameter(self: Function) -> *Node;
Function::getFunctionReceiverInfo
- Parameter
self
:Function
- Return
string
pub fn getFunctionReceiverInfo(self: Function) -> string;
Function::getGlobalSignature
- Parameter
self
:Function
- Return
string
pub fn getGlobalSignature(self: Function) -> string;
Function::__all__
Data constraint method.
pub fn __all__(db: GoDB) -> *Function;
Function::getFunctionFullSignature
- Parameter
self
:Function
- Return
string
pub fn getFunctionFullSignature(self: Function) -> string;
Function::isMethod
- Parameter
self
:Function
- Return
bool
pub fn isMethod(self: Function) -> bool;
Function::getFunctionReceiverType
- Parameter
self
:Function
- Return
string
pub fn getFunctionReceiverType(self: Function) -> string;
Function::getCyclomaticComplexity
- Parameter
self
:Function
- Return
int
pub fn getCyclomaticComplexity(self: Function) -> int;
Function::getFunctionTypeSignature
- Parameter
self
:Function
- Return
string
pub fn getFunctionTypeSignature(self: Function) -> string;