ForStmt
Inherit from Statement
Primary key: id: int
schema ForStmt extends Statement {
@primary id: int
}
ForStmt::getChildCount
- Parameter
self
:ForStmt
- Return
int
pub fn getChildCount(self: ForStmt) -> int;
ForStmt::isDecStmt
- Parameter
self
:ForStmt
- Return
bool
pub fn isDecStmt(self: ForStmt) -> bool;
ForStmt::isTypeswitchStmt
- Parameter
self
:ForStmt
- Return
bool
pub fn isTypeswitchStmt(self: ForStmt) -> bool;
ForStmt::getTextStartOffset
- Parameter
self
:ForStmt
- Return
int
pub fn getTextStartOffset(self: ForStmt) -> int;
ForStmt::isXorassignStmt
- Parameter
self
:ForStmt
- Return
bool
pub fn isXorassignStmt(self: ForStmt) -> bool;
ForStmt::isSubassignStmt
- Parameter
self
:ForStmt
- Return
bool
pub fn isSubassignStmt(self: ForStmt) -> bool;
ForStmt::isAddassignStmt
- Parameter
self
:ForStmt
- Return
bool
pub fn isAddassignStmt(self: ForStmt) -> bool;
ForStmt::isRangeStmt
- Parameter
self
:ForStmt
- Return
bool
pub fn isRangeStmt(self: ForStmt) -> bool;
ForStmt::isAssignStmt
- Parameter
self
:ForStmt
- Return
bool
pub fn isAssignStmt(self: ForStmt) -> bool;
ForStmt::isShrassignStmt
- Parameter
self
:ForStmt
- Return
bool
pub fn isShrassignStmt(self: ForStmt) -> bool;
ForStmt::isForStmt
- Parameter
self
:ForStmt
- Return
bool
pub fn isForStmt(self: ForStmt) -> bool;
ForStmt::isCommClause
- Parameter
self
:ForStmt
- Return
bool
pub fn isCommClause(self: ForStmt) -> bool;
ForStmt::isRootNode
- Parameter
self
:ForStmt
- Return
bool
pub fn isRootNode(self: ForStmt) -> bool;
ForStmt::isRemassignStmt
- Parameter
self
:ForStmt
- Return
bool
pub fn isRemassignStmt(self: ForStmt) -> bool;
ForStmt::isSelectStmt
- Parameter
self
:ForStmt
- Return
bool
pub fn isSelectStmt(self: ForStmt) -> bool;
ForStmt::isIncStmt
- Parameter
self
:ForStmt
- Return
bool
pub fn isIncStmt(self: ForStmt) -> bool;
ForStmt::isGoStmt
- Parameter
self
:ForStmt
- Return
bool
pub fn isGoStmt(self: ForStmt) -> bool;
ForStmt::getTextSize
- Parameter
self
:ForStmt
- Return
int
pub fn getTextSize(self: ForStmt) -> int;
ForStmt::isMulassignStmt
- Parameter
self
:ForStmt
- Return
bool
pub fn isMulassignStmt(self: ForStmt) -> bool;
ForStmt::isDeferStmt
- Parameter
self
:ForStmt
- Return
bool
pub fn isDeferStmt(self: ForStmt) -> bool;
ForStmt::getAssociatedCommentString
- Parameter
self
:ForStmt
- Return
string
pub fn getAssociatedCommentString(self: ForStmt) -> string;
ForStmt::getParentNode
pub fn getParentNode(self: ForStmt) -> Node;
ForStmt::isDeclStmt
- Parameter
self
:ForStmt
- Return
bool
pub fn isDeclStmt(self: ForStmt) -> bool;
ForStmt::getBelongsFunction
pub fn getBelongsFunction(self: ForStmt) -> Function;
ForStmt::getText
// getText Extract the text associated with a specific node in a file
- Parameter
self
:ForStmt
- Return
string
pub fn getText(self: ForStmt) -> string;
ForStmt::getBodyStmt
pub fn getBodyStmt(self: ForStmt) -> Statement;
ForStmt::isSendStmt
- Parameter
self
:ForStmt
- Return
bool
pub fn isSendStmt(self: ForStmt) -> bool;
ForStmt::isBreakStmt
- Parameter
self
:ForStmt
- Return
bool
pub fn isBreakStmt(self: ForStmt) -> bool;
ForStmt::isOrassignStmt
- Parameter
self
:ForStmt
- Return
bool
pub fn isOrassignStmt(self: ForStmt) -> bool;
ForStmt::__all__
Data constraint method.
pub fn __all__(db: GoDB) -> *ForStmt;
ForStmt::isDefineStmt
- Parameter
self
:ForStmt
- Return
bool
pub fn isDefineStmt(self: ForStmt) -> bool;
ForStmt::isReturnStmt
- Parameter
self
:ForStmt
- Return
bool
pub fn isReturnStmt(self: ForStmt) -> bool;
ForStmt::isShlassignStmt
- Parameter
self
:ForStmt
- Return
bool
pub fn isShlassignStmt(self: ForStmt) -> bool;
ForStmt::getPostStmt
pub fn getPostStmt(self: ForStmt) -> Statement;
ForStmt::hasLocation
- Parameter
self
:ForStmt
- Return
bool
pub fn hasLocation(self: ForStmt) -> bool;
ForStmt::getDepthFromRoot
- Parameter
self
:ForStmt
- Return
int
pub fn getDepthFromRoot(self: ForStmt) -> int;
ForStmt::isIfStmt
- Parameter
self
:ForStmt
- Return
bool
pub fn isIfStmt(self: ForStmt) -> bool;
ForStmt::isCaseClause
- Parameter
self
:ForStmt
- Return
bool
pub fn isCaseClause(self: ForStmt) -> bool;
ForStmt::isBlockStmt
- Parameter
self
:ForStmt
- Return
bool
pub fn isBlockStmt(self: ForStmt) -> bool;
ForStmt::isAndnotassignStmt
- Parameter
self
:ForStmt
- Return
bool
pub fn isAndnotassignStmt(self: ForStmt) -> bool;
ForStmt::getInitStmt
pub fn getInitStmt(self: ForStmt) -> Statement;
ForStmt::getAchildNode
pub fn getAchildNode(self: ForStmt) -> *Node;
ForStmt::isFallthroughStmt
- Parameter
self
:ForStmt
- Return
bool
pub fn isFallthroughStmt(self: ForStmt) -> bool;
ForStmt::getCondExpr
pub fn getCondExpr(self: ForStmt) -> Expr;
ForStmt::getAnAncestor
pub fn getAnAncestor(self: ForStmt) -> *Node;
ForStmt::countAssociatedComment
- Parameter
self
:ForStmt
- Return
int
pub fn countAssociatedComment(self: ForStmt) -> int;
ForStmt::isGotoStmt
- Parameter
self
:ForStmt
- Return
bool
pub fn isGotoStmt(self: ForStmt) -> bool;
ForStmt::getType
- Parameter
self
:ForStmt
- Return
string
pub fn getType(self: ForStmt) -> string;
ForStmt::print
- Parameter
self
:ForStmt
- Return
*string
pub fn print(self: ForStmt) -> *string;
ForStmt::isContinueStmt
- Parameter
self
:ForStmt
- Return
bool
pub fn isContinueStmt(self: ForStmt) -> bool;
ForStmt::isLabeledStmt
- Parameter
self
:ForStmt
- Return
bool
pub fn isLabeledStmt(self: ForStmt) -> bool;
ForStmt::getAnAncestorForIndex
pub fn getAnAncestorForIndex(self: ForStmt, index: int) -> Node;
ForStmt::getIdx
- Parameter
self
:ForStmt
- Return
int
pub fn getIdx(self: ForStmt) -> int;
ForStmt::isControlStmt
- Parameter
self
:ForStmt
- Return
bool
pub fn isControlStmt(self: ForStmt) -> bool;
ForStmt::isExprStmt
- Parameter
self
:ForStmt
- Return
bool
pub fn isExprStmt(self: ForStmt) -> bool;
ForStmt::getBelongsFile
pub fn getBelongsFile(self: ForStmt) -> File;
ForStmt::isAndassignStmt
- Parameter
self
:ForStmt
- Return
bool
pub fn isAndassignStmt(self: ForStmt) -> bool;
ForStmt::getKind
- Parameter
self
:ForStmt
- Return
int
pub fn getKind(self: ForStmt) -> int;
ForStmt::isBadStmt
- Parameter
self
:ForStmt
- Return
bool
pub fn isBadStmt(self: ForStmt) -> bool;
ForStmt::isEmptyStmt
- Parameter
self
:ForStmt
- Return
bool
pub fn isEmptyStmt(self: ForStmt) -> bool;
ForStmt::isExprswitchStmt
- Parameter
self
:ForStmt
- Return
bool
pub fn isExprswitchStmt(self: ForStmt) -> bool;
ForStmt::isQuoassignStmt
- Parameter
self
:ForStmt
- Return
bool
pub fn isQuoassignStmt(self: ForStmt) -> bool;
ForStmt::getLocation
pub fn getLocation(self: ForStmt) -> Location;