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