CaseClause

/** * A `case` clause. */ 

Inherit from Statement

Primary key: id: int

schema CaseClause extends Statement { @primary id: int } 

CaseClause::getSymbol

/** * Gets the symbol associated with this node. */ 
pub fn getSymbol(self: CaseClause) -> Symbol; 

CaseClause::getAnAncestorEnclosingFunction

/** * Gets an ancestor enclosing function of it */ 
pub fn getAnAncestorEnclosingFunction(self: CaseClause) -> *FunctionLikeDeclaration; 

CaseClause::getIndex

pub fn getIndex(self: CaseClause) -> int; 

CaseClause::getParentOid

/** * Gets the parent oid of this node. */ 
pub fn getParentOid(self: CaseClause) -> int; 

CaseClause::getRelativePath

/** * Gets the relative path of this node. */ 
pub fn getRelativePath(self: CaseClause) -> string; 

CaseClause::getLastChild

/** * Gets the last child of this node parent. */ 
pub fn getLastChild(self: CaseClause) -> Node; 

CaseClause::getEndColumnNumber

pub fn getEndColumnNumber(self: CaseClause) -> int; 

CaseClause::getKind

/** * Get the syntax kind of this node */ 
pub fn getKind(self: CaseClause) -> int; 

CaseClause::getAModifier

/** * Gets a modifier. */ 
pub fn getAModifier(self: CaseClause) -> *Modifier; 

CaseClause::getADecorator

/** * Gets a decorator. */ 
pub fn getADecorator(self: CaseClause) -> *Decorator; 

CaseClause::getAComment

/** * Gets the comments related to it */ 
pub fn getAComment(self: CaseClause) -> *Comment; 

CaseClause::getDecorator

/** * Gets the `i`th decorator. */ 
pub fn getDecorator(self: CaseClause, i: int) -> Decorator; 

CaseClause::getChild

/** * Gets the `i`th child of this node. */ 
pub fn getChild(self: CaseClause, i: int) -> Node; 

CaseClause::getAnAncestor

/** * Gets an ancestor of this node. */ 
pub fn getAnAncestor(self: CaseClause) -> *Node; 

CaseClause::getADescendant

/** * Gets a descendant of this node. */ 
pub fn getADescendant(self: CaseClause) -> *Node; 

CaseClause::getEnclosingFunction

/** * Gets the enclosing function of it */ 
pub fn getEnclosingFunction(self: CaseClause) -> FunctionLikeDeclaration; 

CaseClause::getRoot

/** * Gets the root top-level of this node. */ 
pub fn getRoot(self: CaseClause) -> TopLevelDO; 

CaseClause::getStatementCount

/** * Gets the statement count of this CaseClause. */ 
pub fn getStatementCount(self: CaseClause) -> int; 

CaseClause::getAStatement

/** * Gets a statement of this CaseClause. */ 
pub fn getAStatement(self: CaseClause) -> *Statement; 

CaseClause::getStatement

/** * Gets the statement of this CaseClause with index, * starts from 0. */ 
pub fn getStatement(self: CaseClause, index: int) -> Statement; 

CaseClause::getChildCount

/** * Gets the number of child nodes. */ 
pub fn getChildCount(self: CaseClause) -> int; 

CaseClause::__all__

Data constraint method.

pub fn __all__(db: JavascriptDB) -> *CaseClause; 

CaseClause::getLocation

/** * Gets the location of this node. */ 
pub fn getLocation(self: CaseClause) -> Location; 

CaseClause::getADescendantByLevel

/** * Gets a descendant of this node by the level of the hierarchy. * * @param level: the number of levels to go up in the hierarchy. */ 
pub fn getADescendantByLevel(self: CaseClause, level: int) -> *Node; 

CaseClause::getParent

/** * Gets the parent node of this node. */ 
pub fn getParent(self: CaseClause) -> Node; 

CaseClause::getExpression

/** * Gets the expression of this CaseClause. */ 
pub fn getExpression(self: CaseClause) -> Expression; 

CaseClause::getAChild

/** * Gets a child node of this node. */ 
pub fn getAChild(self: CaseClause) -> *Node; 

CaseClause::getStartColumnNumber

pub fn getStartColumnNumber(self: CaseClause) -> int; 

CaseClause::getStartLineNumber

pub fn getStartLineNumber(self: CaseClause) -> int; 

CaseClause::getEndLineNumber

pub fn getEndLineNumber(self: CaseClause) -> int; 

CaseClause::getATrailingComment

/** * Gets the trailing comments of it */ 
pub fn getATrailingComment(self: CaseClause) -> *Comment; 

CaseClause::getAnAncestorByLevel

/** * Gets an ancestor of this node by the level of the hierarchy. * * @param level: the number of levels to go up in the hierarchy. */ 
pub fn getAnAncestorByLevel(self: CaseClause, level: int) -> Node; 

CaseClause::getALeadingComment

/** * Gets the leading comments of it */ 
pub fn getALeadingComment(self: CaseClause) -> *Comment; 

CaseClause::getFile

/** * Gets the file of this node. */ 
pub fn getFile(self: CaseClause) -> File; 

CaseClause::getModifier

/** * Gets the `i`th modifier. */ 
pub fn getModifier(self: CaseClause, i: int) -> Modifier; 

CaseClause::getText

/** * Gets the text of this node. */ 
pub fn getText(self: CaseClause) -> string;