DefaultClause
/** * A `default` clause. */ Inherit from Statement
Primary key: id: int
schema DefaultClause extends Statement { @primary id: int } DefaultClause::getSymbol
/** * Gets the symbol associated with this node. */ - Parameter
self:DefaultClause - Return
Symbol
pub fn getSymbol(self: DefaultClause) -> Symbol; DefaultClause::getAnAncestorEnclosingFunction
/** * Gets an ancestor enclosing function of it */ - Parameter
self:DefaultClause - Return
*FunctionLikeDeclaration
pub fn getAnAncestorEnclosingFunction(self: DefaultClause) -> *FunctionLikeDeclaration; DefaultClause::getIndex
- Parameter
self:DefaultClause - Return
int
pub fn getIndex(self: DefaultClause) -> int; DefaultClause::getParentOid
/** * Gets the parent oid of this node. */ - Parameter
self:DefaultClause - Return
int
pub fn getParentOid(self: DefaultClause) -> int; DefaultClause::getRelativePath
/** * Gets the relative path of this node. */ - Parameter
self:DefaultClause - Return
string
pub fn getRelativePath(self: DefaultClause) -> string; DefaultClause::getLastChild
/** * Gets the last child of this node parent. */ - Parameter
self:DefaultClause - Return
Node
pub fn getLastChild(self: DefaultClause) -> Node; DefaultClause::getEndColumnNumber
- Parameter
self:DefaultClause - Return
int
pub fn getEndColumnNumber(self: DefaultClause) -> int; DefaultClause::getParent
/** * Gets the parent node of this node. */ - Parameter
self:DefaultClause - Return
Node
pub fn getParent(self: DefaultClause) -> Node; DefaultClause::getKind
/** * Get the syntax kind of this node */ - Parameter
self:DefaultClause - Return
int
pub fn getKind(self: DefaultClause) -> int; DefaultClause::getAModifier
/** * Gets a modifier. */ - Parameter
self:DefaultClause - Return
*Modifier
pub fn getAModifier(self: DefaultClause) -> *Modifier; DefaultClause::getADecorator
/** * Gets a decorator. */ - Parameter
self:DefaultClause - Return
*Decorator
pub fn getADecorator(self: DefaultClause) -> *Decorator; DefaultClause::getAComment
/** * Gets the comments related to it */ - Parameter
self:DefaultClause - Return
*Comment
pub fn getAComment(self: DefaultClause) -> *Comment; DefaultClause::getDecorator
/** * Gets the `i`th decorator. */ - Parameter
self:DefaultClause - Parameter
i:int - Return
Decorator
pub fn getDecorator(self: DefaultClause, i: int) -> Decorator; DefaultClause::getChild
/** * Gets the `i`th child of this node. */ - Parameter
self:DefaultClause - Parameter
i:int - Return
Node
pub fn getChild(self: DefaultClause, i: int) -> Node; DefaultClause::getAnAncestor
/** * Gets an ancestor of this node. */ - Parameter
self:DefaultClause - Return
*Node
pub fn getAnAncestor(self: DefaultClause) -> *Node; DefaultClause::getChildCount
/** * Gets the number of child nodes. */ - Parameter
self:DefaultClause - Return
int
pub fn getChildCount(self: DefaultClause) -> int; DefaultClause::getStatement
/** * Gets the statement of this DefaultClause with index, * starts from 0. */ - Parameter
self:DefaultClause - Parameter
index:int - Return
Statement
pub fn getStatement(self: DefaultClause, index: int) -> Statement; DefaultClause::getAStatement
/** * Gets a statement of this DefaultClause. */ - Parameter
self:DefaultClause - Return
*Statement
pub fn getAStatement(self: DefaultClause) -> *Statement; DefaultClause::__all__
Data constraint method.
- Parameter
db:JavascriptDB - Return
*DefaultClause
pub fn __all__(db: JavascriptDB) -> *DefaultClause; DefaultClause::getLocation
/** * Gets the location of this node. */ - Parameter
self:DefaultClause - Return
Location
pub fn getLocation(self: DefaultClause) -> Location; DefaultClause::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. */ - Parameter
self:DefaultClause - Parameter
level:int - Return
*Node
pub fn getADescendantByLevel(self: DefaultClause, level: int) -> *Node; DefaultClause::getRoot
/** * Gets the root top-level of this node. */ - Parameter
self:DefaultClause - Return
TopLevelDO
pub fn getRoot(self: DefaultClause) -> TopLevelDO; DefaultClause::getStatementCount
/** * Gets the statement count of this DefaultClause. */ - Parameter
self:DefaultClause - Return
int
pub fn getStatementCount(self: DefaultClause) -> int; DefaultClause::getADescendant
/** * Gets a descendant of this node. */ - Parameter
self:DefaultClause - Return
*Node
pub fn getADescendant(self: DefaultClause) -> *Node; DefaultClause::getEnclosingFunction
/** * Gets the enclosing function of it */ - Parameter
self:DefaultClause - Return
FunctionLikeDeclaration
pub fn getEnclosingFunction(self: DefaultClause) -> FunctionLikeDeclaration; DefaultClause::getAChild
/** * Gets a child node of this node. */ - Parameter
self:DefaultClause - Return
*Node
pub fn getAChild(self: DefaultClause) -> *Node; DefaultClause::getStartColumnNumber
- Parameter
self:DefaultClause - Return
int
pub fn getStartColumnNumber(self: DefaultClause) -> int; DefaultClause::getStartLineNumber
- Parameter
self:DefaultClause - Return
int
pub fn getStartLineNumber(self: DefaultClause) -> int; DefaultClause::getEndLineNumber
- Parameter
self:DefaultClause - Return
int
pub fn getEndLineNumber(self: DefaultClause) -> int; DefaultClause::getATrailingComment
/** * Gets the trailing comments of it */ - Parameter
self:DefaultClause - Return
*Comment
pub fn getATrailingComment(self: DefaultClause) -> *Comment; DefaultClause::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. */ - Parameter
self:DefaultClause - Parameter
level:int - Return
Node
pub fn getAnAncestorByLevel(self: DefaultClause, level: int) -> Node; DefaultClause::getALeadingComment
/** * Gets the leading comments of it */ - Parameter
self:DefaultClause - Return
*Comment
pub fn getALeadingComment(self: DefaultClause) -> *Comment; DefaultClause::getFile
/** * Gets the file of this node. */ - Parameter
self:DefaultClause - Return
File
pub fn getFile(self: DefaultClause) -> File; DefaultClause::getModifier
/** * Gets the `i`th modifier. */ - Parameter
self:DefaultClause - Parameter
i:int - Return
Modifier
pub fn getModifier(self: DefaultClause, i: int) -> Modifier; DefaultClause::getText
/** * Gets the text of this node. */ - Parameter
self:DefaultClause - Return
string
pub fn getText(self: DefaultClause) -> string;