Writable
Inherit from Node
Primary key: id: int
schema Writable extends Node {
@primary id: int
}
Writable::hasLocation
- Parameter
self
:Writable
- Return
bool
pub fn hasLocation(self: Writable) -> bool;
Writable::getAnAncestor
pub fn getAnAncestor(self: Writable) -> *Node;
Writable::getBelongsFunction
pub fn getBelongsFunction(self: Writable) -> Function;
Writable::countAssociatedComment
- Parameter
self
:Writable
- Return
int
pub fn countAssociatedComment(self: Writable) -> int;
Writable::getParentNode
pub fn getParentNode(self: Writable) -> Node;
Writable::isRootNode
- Parameter
self
:Writable
- Return
bool
pub fn isRootNode(self: Writable) -> bool;
Writable::getDepthFromRoot
- Parameter
self
:Writable
- Return
int
pub fn getDepthFromRoot(self: Writable) -> int;
Writable::getAnAncestorForIndex
pub fn getAnAncestorForIndex(self: Writable, index: int) -> Node;
Writable::getAWriteSource
pub fn getAWriteSource(self: Writable) -> *Node;
Writable::getAWrite
pub fn getAWrite(self: Writable) -> *Node;
Writable::getAWriteDist
pub fn getAWriteDist(self: Writable) -> *Node;
Writable::getLocation
pub fn getLocation(self: Writable) -> Location;
Writable::__all__
Data constraint method.
pub fn __all__(db: GoDB) -> *Writable;
Writable::print
- Parameter
self
:Writable
- Return
*string
pub fn print(self: Writable) -> *string;
Writable::getChildCount
- Parameter
self
:Writable
- Return
int
pub fn getChildCount(self: Writable) -> int;
Writable::getTextSize
- Parameter
self
:Writable
- Return
int
pub fn getTextSize(self: Writable) -> int;
Writable::getTextStartOffset
- Parameter
self
:Writable
- Return
int
pub fn getTextStartOffset(self: Writable) -> int;
Writable::getBelongsFile
pub fn getBelongsFile(self: Writable) -> File;
Writable::getType
- Parameter
self
:Writable
- Return
string
pub fn getType(self: Writable) -> string;
Writable::getText
// getText Extract the text associated with a specific node in a file
- Parameter
self
:Writable
- Return
string
pub fn getText(self: Writable) -> string;
Writable::getAssociatedCommentString
- Parameter
self
:Writable
- Return
string
pub fn getAssociatedCommentString(self: Writable) -> string;
Writable::getAchildNode
pub fn getAchildNode(self: Writable) -> *Node;