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