JsxSelfClosingElement

/**
* A JSX self closing element.
*/

Inherit from PrimaryExpression

Primary key: id: int

schema JsxSelfClosingElement extends PrimaryExpression {
  @primary id: int
}

JsxSelfClosingElement::getAnAncestor

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

JsxSelfClosingElement::getStartLineNumber

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

JsxSelfClosingElement::getChild

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

JsxSelfClosingElement::getATrailingComment

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

JsxSelfClosingElement::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: JsxSelfClosingElement, level: int) -> Node;

JsxSelfClosingElement::getEndLineNumber

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

JsxSelfClosingElement::getADescendant

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

JsxSelfClosingElement::getEnclosingFunction

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

JsxSelfClosingElement::getParentOid

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

JsxSelfClosingElement::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: JsxSelfClosingElement, level: int) -> *Node;

JsxSelfClosingElement::getFile

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

JsxSelfClosingElement::getALeadingComment

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

JsxSelfClosingElement::__all__

Data constraint method.

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

JsxSelfClosingElement::getLocation

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

JsxSelfClosingElement::getModifier

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

JsxSelfClosingElement::getText

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

JsxSelfClosingElement::getStartColumnNumber

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

JsxSelfClosingElement::getAChild

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

JsxSelfClosingElement::getDecorator

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

JsxSelfClosingElement::getChildCount

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

JsxSelfClosingElement::getAModifier

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

JsxSelfClosingElement::getKind

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

JsxSelfClosingElement::getAComment

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

JsxSelfClosingElement::getADecorator

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

JsxSelfClosingElement::getLastChild

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

JsxSelfClosingElement::getEndColumnNumber

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

JsxSelfClosingElement::getParent

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

JsxSelfClosingElement::getExpression

pub fn getExpression(self: JsxSelfClosingElement) -> Expression;

JsxSelfClosingElement::getRelativePath

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

JsxSelfClosingElement::getRoot

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

JsxSelfClosingElement::getSymbol

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

JsxSelfClosingElement::getAnAncestorEnclosingFunction

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

JsxSelfClosingElement::getIndex

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