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.
*/
pub fn getSymbol(self: StatementButNotDeclaration) -> Symbol;

StatementButNotDeclaration::getAnAncestorEnclosingFunction

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

StatementButNotDeclaration::getIndex

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

StatementButNotDeclaration::getParentOid

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

StatementButNotDeclaration::getRelativePath

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

StatementButNotDeclaration::getLastChild

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

StatementButNotDeclaration::getEndColumnNumber

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

StatementButNotDeclaration::getParent

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

StatementButNotDeclaration::getChildCount

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

StatementButNotDeclaration::getDecorator

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

StatementButNotDeclaration::getEndLineNumber

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

StatementButNotDeclaration::getATrailingComment

/**
* Gets the trailing comments of it
*/
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.
*/
pub fn getAnAncestorByLevel(self: StatementButNotDeclaration, level: int) -> Node;

StatementButNotDeclaration::getChild

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

StatementButNotDeclaration::getRoot

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

StatementButNotDeclaration::getAChild

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

StatementButNotDeclaration::getStartColumnNumber

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

StatementButNotDeclaration::getStartLineNumber

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

StatementButNotDeclaration::__all__

Data constraint method.

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

StatementButNotDeclaration::getLocation

/**
* Gets the location of this node.
*/
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.
*/
pub fn getADescendantByLevel(self: StatementButNotDeclaration, level: int) -> *Node;

StatementButNotDeclaration::getKind

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

StatementButNotDeclaration::getAModifier

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

StatementButNotDeclaration::getAnAncestor

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

StatementButNotDeclaration::getEnclosingFunction

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

StatementButNotDeclaration::getADescendant

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

StatementButNotDeclaration::getALeadingComment

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

StatementButNotDeclaration::getFile

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

StatementButNotDeclaration::getModifier

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

StatementButNotDeclaration::getText

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

StatementButNotDeclaration::getAComment

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

StatementButNotDeclaration::getADecorator

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