DefineStmt

Inherit from Statement

Primary key: id: int

schema DefineStmt extends Statement {
  @primary id: int
}

DefineStmt::getChildCount

pub fn getChildCount(self: DefineStmt) -> int;

DefineStmt::isDecStmt

pub fn isDecStmt(self: DefineStmt) -> bool;

DefineStmt::isTypeswitchStmt

pub fn isTypeswitchStmt(self: DefineStmt) -> bool;

DefineStmt::getTextStartOffset

pub fn getTextStartOffset(self: DefineStmt) -> int;

DefineStmt::isAndnotassignStmt

pub fn isAndnotassignStmt(self: DefineStmt) -> bool;

DefineStmt::isXorassignStmt

pub fn isXorassignStmt(self: DefineStmt) -> bool;

DefineStmt::isSubassignStmt

pub fn isSubassignStmt(self: DefineStmt) -> bool;

DefineStmt::isAddassignStmt

pub fn isAddassignStmt(self: DefineStmt) -> bool;

DefineStmt::isRangeStmt

pub fn isRangeStmt(self: DefineStmt) -> bool;

DefineStmt::isAssignStmt

pub fn isAssignStmt(self: DefineStmt) -> bool;

DefineStmt::isShrassignStmt

pub fn isShrassignStmt(self: DefineStmt) -> bool;

DefineStmt::isForStmt

pub fn isForStmt(self: DefineStmt) -> bool;

DefineStmt::isCommClause

pub fn isCommClause(self: DefineStmt) -> bool;

DefineStmt::isRootNode

pub fn isRootNode(self: DefineStmt) -> bool;

DefineStmt::isRemassignStmt

pub fn isRemassignStmt(self: DefineStmt) -> bool;

DefineStmt::isSelectStmt

pub fn isSelectStmt(self: DefineStmt) -> bool;

DefineStmt::isIncStmt

pub fn isIncStmt(self: DefineStmt) -> bool;

DefineStmt::isDeferStmt

pub fn isDeferStmt(self: DefineStmt) -> bool;

DefineStmt::isMulassignStmt

pub fn isMulassignStmt(self: DefineStmt) -> bool;

DefineStmt::isGoStmt

pub fn isGoStmt(self: DefineStmt) -> bool;

DefineStmt::isDeclStmt

pub fn isDeclStmt(self: DefineStmt) -> bool;

DefineStmt::getBelongsFunction

pub fn getBelongsFunction(self: DefineStmt) -> Function;

DefineStmt::getText

// getText Extract the text associated with a specific node in a file
pub fn getText(self: DefineStmt) -> string;

DefineStmt::isBreakStmt

pub fn isBreakStmt(self: DefineStmt) -> bool;

DefineStmt::getAssociatedCommentString

pub fn getAssociatedCommentString(self: DefineStmt) -> string;

DefineStmt::getParentNode

pub fn getParentNode(self: DefineStmt) -> Node;

DefineStmt::getTextSize

pub fn getTextSize(self: DefineStmt) -> int;

DefineStmt::getVaribleName

pub fn getVaribleName(self: DefineStmt) -> *string;

DefineStmt::hasLocation

pub fn hasLocation(self: DefineStmt) -> bool;

DefineStmt::getDepthFromRoot

pub fn getDepthFromRoot(self: DefineStmt) -> int;

DefineStmt::isIfStmt

pub fn isIfStmt(self: DefineStmt) -> bool;

DefineStmt::isFallthroughStmt

pub fn isFallthroughStmt(self: DefineStmt) -> bool;

DefineStmt::isCaseClause

pub fn isCaseClause(self: DefineStmt) -> bool;

DefineStmt::isBlockStmt

pub fn isBlockStmt(self: DefineStmt) -> bool;

DefineStmt::getAchildNode

pub fn getAchildNode(self: DefineStmt) -> *Node;

DefineStmt::isOrassignStmt

pub fn isOrassignStmt(self: DefineStmt) -> bool;

DefineStmt::__all__

Data constraint method.

pub fn __all__(db: GoDB) -> *DefineStmt;

DefineStmt::isDefineStmt

pub fn isDefineStmt(self: DefineStmt) -> bool;

DefineStmt::isReturnStmt

pub fn isReturnStmt(self: DefineStmt) -> bool;

DefineStmt::isShlassignStmt

pub fn isShlassignStmt(self: DefineStmt) -> bool;

DefineStmt::getAVarible

pub fn getAVarible(self: DefineStmt) -> *Node;

DefineStmt::getAnAncestor

pub fn getAnAncestor(self: DefineStmt) -> *Node;

DefineStmt::countAssociatedComment

pub fn countAssociatedComment(self: DefineStmt) -> int;

DefineStmt::isSendStmt

pub fn isSendStmt(self: DefineStmt) -> bool;

DefineStmt::isGotoStmt

pub fn isGotoStmt(self: DefineStmt) -> bool;

DefineStmt::getType

pub fn getType(self: DefineStmt) -> string;

DefineStmt::print

pub fn print(self: DefineStmt) -> *string;

DefineStmt::isContinueStmt

pub fn isContinueStmt(self: DefineStmt) -> bool;

DefineStmt::isLabeledStmt

pub fn isLabeledStmt(self: DefineStmt) -> bool;

DefineStmt::getAnAncestorForIndex

pub fn getAnAncestorForIndex(self: DefineStmt, index: int) -> Node;

DefineStmt::getIdx

pub fn getIdx(self: DefineStmt) -> int;

DefineStmt::isControlStmt

pub fn isControlStmt(self: DefineStmt) -> bool;

DefineStmt::isExprStmt

pub fn isExprStmt(self: DefineStmt) -> bool;

DefineStmt::getBelongsFile

pub fn getBelongsFile(self: DefineStmt) -> File;

DefineStmt::isAndassignStmt

pub fn isAndassignStmt(self: DefineStmt) -> bool;

DefineStmt::getASource

pub fn getASource(self: DefineStmt) -> *Expr;

DefineStmt::getKind

pub fn getKind(self: DefineStmt) -> int;

DefineStmt::isBadStmt

pub fn isBadStmt(self: DefineStmt) -> bool;

DefineStmt::isEmptyStmt

pub fn isEmptyStmt(self: DefineStmt) -> bool;

DefineStmt::isExprswitchStmt

pub fn isExprswitchStmt(self: DefineStmt) -> bool;

DefineStmt::isQuoassignStmt

pub fn isQuoassignStmt(self: DefineStmt) -> bool;

DefineStmt::getLocation

pub fn getLocation(self: DefineStmt) -> Location;