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