JsxText

/** * A JSX text. */ 

Inherit from Node

Primary key: id: int

schema JsxText extends Node { @primary id: int } 

JsxText::getEnclosingFunction

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

JsxText::getADescendant

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

JsxText::getRoot

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

JsxText::getChild

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

JsxText::getChildCount

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

JsxText::getAChild

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

JsxText::getStartColumnNumber

  • Parameter self: JsxText
  • Return int
pub fn getStartColumnNumber(self: JsxText) -> int; 

JsxText::getAnAncestorEnclosingFunction

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

JsxText::getSymbol

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

JsxText::getEndLineNumber

  • Parameter self: JsxText
  • Return int
pub fn getEndLineNumber(self: JsxText) -> int; 

JsxText::getATrailingComment

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

JsxText::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: JsxText
  • Parameter level: int
  • Return Node
pub fn getAnAncestorByLevel(self: JsxText, level: int) -> Node; 

JsxText::getALeadingComment

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

JsxText::getFile

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

JsxText::getAnAncestor

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

JsxText::getValue

/** * Gets the value of this jsx text, as a string. */ 
  • Parameter self: JsxText
  • Return string
pub fn getValue(self: JsxText) -> string; 

JsxText::__all__

Data constraint method.

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

JsxText::getLocation

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

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

JsxText::getText

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

JsxText::getModifier

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

JsxText::getAComment

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

JsxText::getADecorator

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

JsxText::getDecorator

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

JsxText::getStartLineNumber

  • Parameter self: JsxText
  • Return int
pub fn getStartLineNumber(self: JsxText) -> int; 

JsxText::getAModifier

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

JsxText::getKind

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

JsxText::getParent

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

JsxText::getEndColumnNumber

  • Parameter self: JsxText
  • Return int
pub fn getEndColumnNumber(self: JsxText) -> int; 

JsxText::getLastChild

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

JsxText::getRelativePath

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

JsxText::getParentOid

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

JsxText::getIndex

  • Parameter self: JsxText
  • Return int
pub fn getIndex(self: JsxText) -> int;