JsxFragment

/**
* A JSX fragment.
*/

Inherit from PrimaryExpression

Primary key: id: int

schema JsxFragment extends PrimaryExpression {
  @primary id: int
}

JsxFragment::getAnAncestor

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

JsxFragment::getStartLineNumber

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

JsxFragment::getChild

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

JsxFragment::getATrailingComment

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

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

JsxFragment::getEndLineNumber

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

JsxFragment::getADescendant

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

JsxFragment::getEnclosingFunction

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

JsxFragment::getParentOid

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

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

JsxFragment::getFile

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

JsxFragment::getALeadingComment

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

JsxFragment::__all__

Data constraint method.

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

JsxFragment::getLocation

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

JsxFragment::getModifier

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

JsxFragment::getText

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

JsxFragment::getStartColumnNumber

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

JsxFragment::getAChild

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

JsxFragment::getDecorator

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

JsxFragment::getChildCount

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

JsxFragment::getAModifier

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

JsxFragment::getKind

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

JsxFragment::getAComment

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

JsxFragment::getADecorator

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

JsxFragment::getLastChild

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

JsxFragment::getEndColumnNumber

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

JsxFragment::getParent

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

JsxFragment::getExpression

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

JsxFragment::getRelativePath

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

JsxFragment::getRoot

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

JsxFragment::getSymbol

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

JsxFragment::getAnAncestorEnclosingFunction

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

JsxFragment::getIndex

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